Subject: Re: jerky interactive behavior
To: Tom Spindler <dogcow@babymeat.com>
From: Blair Sadewitz <blair.sadewitz@gmail.com>
List: current-users
Date: 01/21/2007 23:50:28
BUFQ_PRIOCSCAN, IMHO, is superior to BUFQ_READPRIO.
AFAIK, it is not fully implemented, but even so it can significantly
improve interactive response time and even write throughput under
load.
For performance tuning, one can change the number of queues
(PRIOCSCAN_NQUEUE) as well as the integer constant priocscan_burst[].
The number of elements in the array corresponds to the number of
queues. I use three (default) queues with priocscan_burst[512 128 32]
(this was approximately the peak of a roughly inverted-U-shaped
curve). Both of these are
found in cscan_init() in kern/bufq_priocscan.c.
Regards,
--Blair
--
Support WFMU-FM: free-form radio for the masses!
<http://www.wfmu.org/>
91.1 FM Jersey City, NJ
90.1 FM Mt. Hope, NY
"The Reggae Schoolroom":
<http://www.wfmu.org/playlists/RS/>