[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Default I/O scheduler for 2.6.12 AMD64?



Hi Giacomo,

Thanks for answering.

On Wed, 2005-11-16 at 12:45 +0100, Giacomo Mulas wrote:
> On Wed, 16 Nov 2005, Joost Kraaijeveld wrote:
> 
> > How can I see what the default I/O scheduler is for 2.6.12 AMD64 and how
> > do I change the default scheduler?
> 
> Browse the /sys/block/<your device name>/queue directory, you will find a
> file named "scheduler", which you can read to see the active scheduler on
> that device and write to change it. It can be changed on the fly at runtime.

According to this URL http://kerneltrap.org/node/3851 I should see the
currently chosen scheduler between "[]" between all available
schedulers, so this should indicate that "anticipatory" is my current
scheduler (is that correct?):

Panoramix:/sys/block/sda/queue# cat scheduler
noop [anticipatory] deadline cfq

The same URL says that echo'ing the name of the scheduler of choice into
the file should reset the scheduler to that one, so this should set the
scheduler to "cfg":

Panoramix:/sys/block/sda/queue# echo cfg > scheduler

Checking:
Panoramix:/sys/block/sda/queue# cat scheduler
noop [anticipatory] deadline cfq

Nothing changed. Did I miss something?

TIA

-- 
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
e-mail: J.Kraaijeveld@Askesis.nl
web: www.askesis.nl 




Reply to: