-- MikeGore - 20 Jan 2012

Disk Scheduler Optimization

#!/bin/bash
#
# Mike Gore, 20 Jane 2012
# Fix disk scheduler

# List all out disks
disks=`ls /dev/sd?`

# noop anticipatory deadline cfq
method=deadline

for i in $disks
do
   DISK=`basename $i`
   echo $method > /sys/block/$DISK/queue/scheduler
   cat /sys/block/$DISK/queue/scheduler
done

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatext fix_scheduler r1 manage 0.3 K 2012-01-20 - 10:59 MikeGore Script to update the disk scheduler settings
Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2012-01-20 - MikeGore
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback