Changeset 2777 in /cluster/svnroot


Ignore:
Timestamp:
Oct 30, 2010 8:30:57 PM (10 years ago)
Author:
skylar
Message:

Set I/O scheduler to noop for VMs (virtualbox and vmware) (#541)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bccd-ng/branches/skylar-devel/packages/etc/rc.local

    r2751 r2777  
    3434# By default this script does nothing.
    3535
     36lspci|egrep -qi '(virtualbox|vmware)'
     37if test $? -eq 0; then
     38        for SCHED in /sys/block/*/queue/scheduler; do
     39                echo noop > ${SCHED}
     40        done
     41fi
     42
    3643# invoke-rc.d dies on the grep
    3744/etc/init.d/bccd-networking start
Note: See TracChangeset for help on using the changeset viewer.