From: Heiko Z. <smi...@us...> - 2009-01-10 17:28:13
|
Update of /cvsroot/devil-linux/build/scripts/scripts In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv19509/scripts/scripts Modified Files: vmware Log Message: - vmware init script now changes the scheduler to noop for all block devices (better perfomance since the vm host needs to schedule across all vms) - updated rp-pppoe to 3.10 - added AMD-K8 support to Kernel (build system only) - added initial support for selection different CPU kinds for GCC (build system only) - updated attr_2.4.43-1 - updated xfsprogs_2.10.2-1 - added missing directory /var/racoon Index: vmware =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/scripts/vmware,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- vmware 9 Jan 2009 20:05:49 -0000 1.5 +++ vmware 10 Jan 2009 17:28:02 -0000 1.6 @@ -42,7 +42,7 @@ start) echo "VMWare Virtual Machine detected" echo "Unloading PCNET32" - rmmod pcnet32 + rmmod pcnet32 &> /dev/null # we already did load the vmmware modules in the boot script # but let's make sure they're here in case somebody @@ -53,6 +53,12 @@ echo -n "Starting $NAME: " loadproc $DAEMON $PARAMETER + + for SCHEDULER in $(find /sys/block/ -name scheduler) + do + echo "setting scheduler to NOOP for $SCHEDULER" + echo noop > $SCHEDULER + done ;; stop) echo -n "Shutting down $NAME: " |