23.07.2014 Views

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.3.5 Changing the I/O Scheduler<br />

There are two ways to change the I/O scheduler—at boot time or with new kernels<br />

at runtime. For all Linux kernels, appending elevator={noop|deadline} to the<br />

kernel boot string sets the I/O elevator.<br />

With LILO, you can use the append keyword:<br />

image=/boot/vmlinuz-2.6.14.2<br />

label=14.2<br />

append="elevator=deadline"<br />

read-only<br />

optional<br />

With GRUB, append the string to the end of the kernel command:<br />

title Fedora Core (2.6.9-5.0.3.EL_lustre.1.4.2custom)<br />

root (hd0,0)<br />

kernel /vmlinuz-2.6.9-5.0.3.EL_lustre.1.4.2custom ro<br />

root=/dev/VolGroup00/LogVol00 rhgb noapic quiet elevator=deadline<br />

With newer Linux kernels, youg can change the scheduler while running 3 . If the file<br />

/sys/block//queue/scheduler exists (where is the block<br />

device you wish to affect), it contains a list of available schedulers and can be used<br />

to switch the schedulers.<br />

(hda is the ):<br />

[root@cfs2]# cat /sys/block/hda/queue/scheduler<br />

noop [anticipatory] deadline cfq<br />

[root@cfs2 ~]# echo deadline > /sys/block/hda/queue/scheduler<br />

[root@cfs2 ~]# cat /sys/block/hda/queue/scheduler<br />

noop anticipatory [deadline] cfq<br />

For desktop use, the other schedulers (anticipatory and cfq) are better suited.<br />

3. Red Hat Enterprise Linux v3 Update 3 does not have this feature. It is present in the main Linux tree as of<br />

2.6.15.<br />

3-8 <strong>Lustre</strong> <strong>1.6</strong> <strong>Operations</strong> <strong>Manual</strong> • September 2008

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!