blog.erben.sk Just another sysadmin blog

10May/100

Tweak the readahead of a raid in linux

If your dealing with big RAID arrays with a linux 2.6 kernel you will need to tweak your block device readahead settings. This can double or triple your read speeds. The tweak is very easy.
Example of the command is below:

blockdev --setra 16384 /dev/sda

This will only work for RAID arrays. The "--getra" switch will show you your current readahead settings.

Source http://www.pantz.org/software/linux/readaheadtweak.html

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

(required)

No trackbacks yet.