电脑知识|欧美黑人一区二区三区|软件|欧美黑人一级爽快片淫片高清|系统|欧美黑人狂野猛交老妇|数据库|服务器|编程开发|网络运营|知识问答|技术教程文章 - 好吧啦网

您的位置:首頁技術文章
文章詳情頁

提高unixware文件系統性能

瀏覽:116日期:2024-07-01 17:52:19

1. Add the entry 'delaylog=nolog' to the mount options in /etc/vfstab, for example:

/dev/filesys /dev/rfilesys / vxfs 1 no delaylog=nolog,mincache=closesync SYS_RANGE_MAX

This will run your filesystem with no transaction logging, making it difficult to repair in the event of a system crash. However, it will improve performance, and if the files in this filesystem are considered to be temporary, then this option can be used.

More information on these options are available from the command:

man mount_vxfs

2. The above online manual page refers to the various 'mincache' options. The default is 'mincache=closesync' which is the slowest, but more reliable method.

However, adding the entry 'mincache=tmpcache' to the mount options in /etc/vfstab will cause your filesystem to become unmountable unless you are using the Advanced VxFS filesystem, On-Line Data Manager (ODM).

NOTES: In order to achIEve the best performance, it's helpful to look at the type of disk configurations available:

No Raid - Disks independent, no resilience

Raid 0 - Fast as disks are striped. 1 disk min, max depends on controller. No Fault Tolerance. Increase disk capacity.

Raid 1 - Mirrored disks. 2 disks required. Fault Tolerance. Hot Spare available.

Raid 5 - Resilience but slow as parity is spread across all the disks. 3 disk min, max depends on controller. Fault Tolerance. Hot spare available.

Raid 10 - An entire Raid 5 configuration mirrored. 6 disks min, max depends on controller. Fault Tolerant. Hot Spare available. Very slow but Excellent resilience. Rarely used.

Raid 0+1 - Raid 0 configuration but each disk is mirrored. 2 disks min, max depends on controller. Hot Spare available. Costly, because if you wanted a 100GB Logical Drive made from 10GB disks you would need 10 disks for the 100GB, and then a further 10 disks for the mirror.

Bus Speed - There are three components: the controller card, PCI bus inside the server, and the driver for the controller. All three need to be 64 bit to get true 64 bit, otherwise there will be a 32 bit bottleneck.

Controller - If the controller has memory with a battery backup then 'Write Back' can be used to use the full benefit of the on-board cache of the controller. The other option is the 'Write Thru' option which is slower but more reliable.

NOTE: If the database used is transaction based, then data can be written to the disk from the cache during a boot up if the power had gone down earlier. If the database is not fully opened then the transaction logs can get confused.

You may want to have separate controllers for separate filesystem activities.

You can also gain performance by ensuring that if the controller is multi-channel, each logical drive uses physical disks on the same channel.

It is recommended to have a separate controller for tape(s) and CDROM(s), rather than use the same controller as the disks. It is also recommended to not have too many SCSI devices on the same bus.

Sizes - You can set the Stripe Size on the controller and the Block Size of the filesystem to be the same to optimize performance for large file processing with large databases, such as Oracle, especially if these databases are on a separate controller. This would mean increasing the blocksize of the filesystem, when it is created, to the same size as the Stripe Size.

The larger the block size is, then each file created will consume that amount in the inode table. For example, a block size of 8k will consume 8k in the inode table for each file created. A typical example of this would be an Oracle database with a 8k block size setting within Oracle's configuration. You would make Oracle and the filesystem's block size consistent.

For some servers you may want to lower the Stripe Size if lots of small reads and writes are taking place so the controller is not waiting for its cache to be filled each time. However, the more read/writes there are, the more times an interrupt will be created for the action.

The norm though is to use the default RAID configuration setting for the RAID Stripe Size and the default filesystem block size for UnixWare 7, which is 1024.

Disks - In general, the more disks, the better performance as more spindles/heads are being used. The faster the disk revolution, the better. You should also check the cache provided by the disk from the disk's manufacturer.

Filesystems - Assign individual filesystems to separate tasks to reduce activity to the inode tables. In general, accept the number of inodes recommended by UnixWare 7 when adding the filesystem, even when you are expecting there to be a large number of small files written there. In this case, you would normally expect to double the number of recommended inodes.

However, the 'diskadd' command will actually give you an inode value of unlimited.

To check these settings, run this command on the filesystem (slice) in question:

mkfs -m /dev/rdsk/cXbXtXdXsX

Please note: During the Initial System Load (ISL), UnixWare2 & UnixWare 7.0.x will provide an Advanced option during the creation of the filesystems, in the Customise Filesystems option. By default, these 'vxfs' filesystems will have a 64K inode limit but this can be changed to 'Unlimited' in this Advanced option.

In the case of UnixWare 7, the best compromise for resilience and performance is to use Raid 1 for the root filesystem on one Logical Disk.

For each filesystem required, have a Logical Drive consisting of the necessary Raid 0+1 disks required for the size. If the number of disks is a factor, which is the norm, then have a reduced number of Logical Drives splitting the filesystems between them.

For any server, this value may need to be altered to find the best optimization, if the server is doing a combination of database and i/o work.

General speed testing, other than installing and testing your application, would be:

dd if=/dev/zero of=/<filesystem>/tmp/testfile bs=1024 count=5000000

(creates a 5GB file)

This will monitor the timings of any differences set; use 'sar -d' to monitor disk activity of each logical disk.

Also, before the server goes into production, remove disk(s) from the RAID configurations to ensure that the RAID controller detects that a disk has failed and that when it is re-inserted the RAID is successfully rebuilt.

Once in production, you may wish to look at the disk fragmentation options available with the 'fsadm' command, eg.:

fsadm -p 1 -e -s -v /<filesystem> fsadm -p 1 -D -d -s -v /<filesystem>

NOTE: Even if you optimally tune your vxfs filesystem, you might still encounter performance problem when restoring from tape a large number of small files. This overhead is only due to the vxfs design. For instance, while using cpio to restore around 300,000 files with size of 4-14k, it has been reported that a drop in performance was experienced from a 1-2M transfer rate (tape specification) to a 500K transfer rate.

標簽: Unix系統
主站蜘蛛池模板: 冷藏车-东风吸污车-纯电动环卫车-污水净化车-应急特勤保障车-程力专汽厂家-程力专用汽车股份有限公司销售二十一分公司 | 锂电混合机-新能源混合机-正极材料混料机-高镍,三元材料混料机-负极,包覆混合机-贝尔专业混合混料搅拌机械系统设备厂家 | 石牌坊价格石牌坊雕刻制作_石雕牌坊牌楼石栏杆厂家_山东嘉祥石雕有限公司 | 加盟店-品牌招商加盟-创业项目商机平台 | 游泳池设计|设备|配件|药品|吸污机-东莞市太平洋康体设施有限公司 | 广州冷却塔维修厂家_冷却塔修理_凉水塔风机电机填料抢修-广东康明节能空调有限公司 | 撕碎机,撕破机,双轴破碎机-大件垃圾破碎机厂家 | 环压强度试验机-拉链拉力试验机-上海倾技仪器仪表科技有限公司 | 选矿设备-新型重选设备-金属矿尾矿重选-青州冠诚重工机械有限公司 | 煤棒机_增碳剂颗粒机_活性炭颗粒机_木炭粉成型机-巩义市老城振华机械厂 | 智慧农业|农业物联网|现代农业物联网-托普云农物联网官方网站 | 等离子表面处理机-等离子表面活化机-真空等离子清洗机-深圳市东信高科自动化设备有限公司 | 防爆型气象站_农业气象站_校园气象站_农业四情监测系统「山东万象环境科技有限公司」 | 颗粒机,颗粒机组,木屑颗粒机-济南劲能机械有限公司 | 济南品牌包装设计公司_济南VI标志设计公司_山东锐尚文化传播 | 青岛美佳乐清洁工程有限公司|青岛油烟管道清洗|酒店|企事业单位|学校工厂厨房|青岛油烟管道清洗 插针变压器-家用电器变压器-工业空调变压器-CD型电抗器-余姚市中驰电器有限公司 | 酒店品牌设计-酒店vi设计-酒店标识设计【国际级】VI策划公司 | 石磨面粉机|石磨面粉机械|石磨面粉机组|石磨面粉成套设备-河南成立粮油机械有限公司 | 餐饮加盟网_特色餐饮加盟店_餐饮连锁店加盟 | 小程序开发公司_APP开发多少钱_软件开发定制_微信小程序制作_客户销售管理软件-济南小溪畅流网络科技有限公司 | 电子海图系统-电梯检验系统-智慧供热系统开发-商品房预售资金监管系统 | 粘弹体防腐胶带,聚丙烯防腐胶带-全民塑胶 | 氧化锆陶瓷_氧化锆陶瓷加工_氧化锆陶瓷生产厂家-康柏工业陶瓷有限公司 | 硅胶管挤出机厂家_硅胶挤出机生产线_硅胶条挤出机_臣泽智能装备 贵州科比特-防雷公司厂家提供贵州防雷工程,防雷检测,防雷接地,防雷设备价格,防雷产品报价服务-贵州防雷检测公司 | 杭州月嫂技术培训服务公司-催乳师培训中心报名费用-产后康复师培训机构-杭州优贝姆健康管理有限公司 | 高低温试验箱-模拟高低温试验箱订制-北京普桑达仪器科技有限公司【官网】 | 河南15年专业网站建设制作设计,做网站就找郑州启凡网络公司 | 欧版反击式破碎机-欧版反击破-矿山石料破碎生产线-青州奥凯诺机械 | 郑州宣传片拍摄-TVC广告片拍摄-微电影短视频制作-河南优柿文化传媒有限公司 | 一级建造师培训_一建培训机构_中建云筑建造师培训网校 | SDG吸附剂,SDG酸气吸附剂,干式酸性气体吸收剂生产厂家,超过20年生产使用经验。 - 富莱尔环保设备公司(原名天津市武清县环保设备厂) | 阜阳在线-阜阳综合门户| 卷筒电缆-拖链电缆-特种柔性扁平电缆定制厂家「上海缆胜」 | 储气罐,真空罐,缓冲罐,隔膜气压罐厂家批发价格,空压机储气罐规格型号-上海申容压力容器集团有限公司 | 地图标注-手机导航电子地图如何标注-房地产商场地图标记【DiTuBiaoZhu.net】 | 杭州实验室尾气处理_实验台_实验室家具_杭州秋叶实验设备有限公司 | 污水提升器,污水提升泵,地下室排水,增压泵,雨水泵,智能供排水控制器-上海智流泵业有限公司 | 基本型顶空进样器-全自动热脱附解吸仪价格-AutoHS全模式-成都科林分析技术有限公司 | 广州物流公司_广州货运公司_广州回程车运输 - 万信物流 | 粘度计,数显粘度计,指针旋转粘度计| 广州小程序开发_APP开发公司_分销商城系统定制_小跑科技 |