For the following tests, the basic configuration of the devices is: 2 devices: /dev/sdb and /dev/sdc, each is mapped to a perc6E(raid controller) hosted 2MD1000(2*15 SATA II disks), the raid configurations is as: raid50 (spanlength=15)stripesize=128KB ,read=readahead, write=writeback /sys/block/sdb/queue/nr_requests =512 /sys/block/sdb/device/queue_depth = 128 /sys/block/sdc/queue/nr_requests =512 /sys/block/sdc/device/queue_depth = 128 readahead =10240blocks (5MB) for both devices filesize=10GB RAMsize=256MB iozone record size=512KB
echo anticipate >/sys/block/sdb/queue/scheduler echo anticipate >/sys/block/sdc/queue/scheduler echo cfq >/sys/block/sdb/queue/scheduler echo cfq >/sys/block/sdc/queue/scheduler echo deadline >/sys/block/sdb/queue/scheduler echo deadline >/sys/block/sdc/queue/scheduler echo noop >/sys/block/sdb/queue/scheduler echo noop >/sys/block/sdc/queue/scheduler
For the following tests, the basic configuration of the devices is: 2 devices: /dev/sdb and /dev/sdc, each is mapped to a perc6E(raid controller) hosted 2MD1000(2*15 SATA II disks), the raid configurations is as: raid50 (spanlength=15 disks)stripesize=128KB ,read=readahead, write=writeback /sys/block/sdb/device/queue_depth = 128 /sys/block/sdb/queue/scheduler = deadline /sys/block/sdc/device/queue_depth = 128 /sys/block/sdc/queue/scheduler = deadline readahead =10240blocks (5MB) for both devices filesize=10GB RAMsize=256MB iozone record size=512KBcommands used to change the nr_queue number
echo 128 > /sys/block/sdb/queue/nr_requests echo 128 > /sys/block/sdc/queue/nr_requests echo 256 > /sys/block/sdb/queue/nr_requests echo 256 > /sys/block/sdc/queue/nr_requests echo 512 > /sys/block/sdb/queue/nr_requests echo 512 > /sys/block/sdc/queue/nr_requests echo 1024 > /sys/block/sdb/queue/nr_requests echo 1024 > /sys/block/sdc/queue/nr_requests