#!/bin/bash if [ $(cat /proc/cpuinfo |grep Dove | wc -l) -eq 0 ] ; then exit fi echo -n " $(basename $0) - tunning realtime for CuBox ... " ifconfig eth0 txqueuelen 10000 chrt -f -p 54 $(pgrep irq/24-ehci_hcd) chrt -f -p 54 $(pgrep irq/25-ehci_hcd) chrt -f -p 49 $(pgrep irq/29-eth0) chrt -f -p 48 $(pgrep irq/62-sata_mv) pgrep cifsd && chrt -f -p 49 $(pgrep cifsd) echo "Done."