Re: io performance...

From: Phillip Susi
Date: Wed Jan 18 2006 - 10:18:23 EST


Right, the kernel does not know how many disks are in the array, so it can't automatically increase the readahead. I'd say increasing the readahead manually should solve your throughput issues.

Max Waterman wrote:

I left the stripe size at the default, which, I believe, is 64K bytes; same as your fakeraid below.

I did play with 'blockdev --setra' too.

I noticed it was 256 with a single disk, and, with s/w raid, it increased by 256 for each extra disk in the array. IE for the raid 0 array with 4 drives, it was 1024.

With h/w raid, however, it did not increase when I added disks. Should I use 'blockdev --setra 320' (ie 64 x 5 = 320, since we're now running RAID5 on 5 drives)?


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/