Should I increase vfs.read_max

Dan Nelson dnelson at allantgroup.com
Sat Oct 15 06:56:03 PDT 2005


In the last episode (Oct 15), Deepak Naidu said:
> Hi,
>      I am running FreeBSD 5.4 on SunFire v20 on single
> hard disk 73 GB...
> 
> I googled down some links regarding increasing IO
> performance.  It said increase vfs.read_max from 8 to
> 16. I have done that, but cant justify any
> improvement, as I am running mailserver(spam checker).
>  Should I revert to 8 or use 16.

Raising vfs.read_max is most helpful when you are reading large
sequential files from RAID arrays.  On a single-disk system, all it
does is allow sequential readers to starve random readers.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list