by dynobot » 10 Jan 2017, 21:09
by hondagx35 » 10 Jan 2017, 22:47
If you were to agree that this was a positive and worthwhile improvement, could it be packaged up as an 'alternative' build, perhaps? This might be an easier way to share the benefits with a wider audience who don't want to learn about SSH, Nano, and the stringent demands of unforgiving syntax...!
by pietpara » 13 Jan 2017, 13:41
by hondagx35 » 13 Jan 2017, 15:06
Does anyone know whether the RaspTouch also has implemented the fboe hardware changes mentioned earlier?
by pietpara » 13 Jan 2017, 15:25
by pietpara » 15 Jan 2017, 21:22
root=/dev/mmcblk0p2 rw rootwait console=ttyAMA0,115200 console=tty1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 kgdboc=ttyAMA0,115200 elevator=noop isolcpus=2,3
by pietpara » 20 Jan 2017, 20:44
by hondagx35 » 20 Jan 2017, 22:19
1) A question to Frank about core isolation. In the thread about it, Frank gives examples to isolate cores and to dedicate a core to MPD. The question is whether the example code is ready to use for this or does it need to be adapted for each one's situation? For example, if I understand it right, the example code isolates cores 2 and 3 and dedicates core 3 (if remember well) to MPD. Why isolate core 2 then? Was that just an example?
3) I noticed that Rune frost removed the 'taskset' command dynobot mentions in from the 'common startup' section to assign MPD to a core. Why? And Frank's example places it in the mpd.service file in stead of in the audio profile. Which is better?
4) To isolate cores Frank gives the following code for cmdline.txt:root=/dev/mmcblk0p2 rw rootwait console=ttyAMA0,115200 console=tty1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 kgdboc=ttyAMA0,115200 elevator=noop isolcpus=2,3
Is this code simply appended to the cmdline.txt recommended by runefrost?
5) Frank mentions code to reload the daemon and restart the service after the code to dedicate a core to mpd. Is this something that needs to be done each boot? Maybe in a startup script? Or only once?
by pietpara » 21 Jan 2017, 22:05
echo -n performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo -n performance > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo -n performance > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
by hondagx35 » 22 Jan 2017, 00:55
Would you also happen to know what these lines in dkftost's profile do?
How can I check that it indeed runs on cpu3?
taskset -c -p 3 $(pidof mpd)