06-Dec-2014, 20:55
(03-Oct-2014, 22:53)Antoine Wrote: edit: tip for Kunter and any future owners of the Cubox. The real time tuning settings (http://mubox.voyage.hk/realtime_kernel_cuboxi) are not persistent and thus lost after a reboot. I created a script and call that from rc.local to reapply these settings after every reboot.
Code:for IRQ in /proc/irq/* ; do echo 1 > $IRQ/smp_affinity ; done
for PID in $(pgrep ci_hdrc) ; do taskset -pc 1 $PID ; done
echo 2 > /proc/irq/72/smp_affinity
echo 2 > /proc/irq/75/smp_affinity
taskset -pca 2,3 $(pgrep mpd)
chrt -f -p 49 $(pgrep cifsd)
ps -eLo pid,group,lwp,rtprio,priority,time,cmd | egrep "cifsd"
For those who are interested...
the above set of tricks work (mostly) for Volumio as well... Volumio does not have a real time kernel, however you can still assign MPD and USB to specific cores. And it helps with the sound a lot. A LOT.
the useful commands to be executed are:
echo 2 > /proc/irq/72/smp_affinity
echo 2 > /proc/irq/75/smp_affinity
taskset -pca 2,3 $(pidof mpd)
run these at your convenience (as suggested above) and you will be in audio heaven.
Cheers
Kunter
Kii Three, dCS Network Bridge, Roon Nucleus, Kuzma (Stabi S, 4Point), Soundsmith StrainGauge, Stromtank, Echole Cables
Istanbul, Turkey
Istanbul, Turkey