X-Git-Url: https://secure.softndesign.org/git/?a=blobdiff_plain;f=master%2Fopt%2Fcluster%2Flite%2Fetc%2Frc.local;h=facfb7e0a1828cffb8fb66cbc90ab4363bc93733;hb=f5de8a4ee62ecfc7b3f462e9c414a759392b86ad;hp=802ebe28a00e8050ae995b84b97c5fbbf5a90219;hpb=d609e919d37238f5dbe120fb80a9c2d718c3dbe6;p=debian6500.git diff --git a/master/opt/cluster/lite/etc/rc.local b/master/opt/cluster/lite/etc/rc.local index 802ebe2..facfb7e 100755 --- a/master/opt/cluster/lite/etc/rc.local +++ b/master/opt/cluster/lite/etc/rc.local @@ -9,26 +9,6 @@ # In order to enable or disable this script just change the execution # bits. -# distribute interrupt for eth0 on core 0 -core=(800) -eth=0 -l=0 -for i in $(awk '/eth'$eth'/ {sub(/:/, ""); print $1}' /proc/interrupts); do - echo ${core[$l]} > /proc/irq/$i/smp_affinity - l=$(expr $l + 1) - [ $l -eq ${#core[*]} ] && l=0 -done - -# distribute interrupt for eth1 on core 11 -core=(1) -eth=1 -l=0 -for i in $(awk '/eth'$eth'/ {sub(/:/, ""); print $1}' /proc/interrupts); do - echo ${core[$l]} > /proc/irq/$i/smp_affinity - l=$(expr $l + 1) - [ $l -eq ${#core[*]} ] && l=0 -done - # remove acpi cpu frequence controler modprobe -r acpi_cpufreq