02-27-2021, 04:32 PM
(02-27-2021, 10:39 AM)zOr7gA8 Wrote: Hi Manfred,
for running mpd-service in isolated cores you have to add something in cmdline.txt and modify mpd.service
add in this line:Code:sudo pico /boot/cmdline.txt
Code:isolcpus=2,3
modify mpd.service
Code:sudo pico /lib/systemd/system/mpd.service
modify the line
toCode:ExecStart=/usr/local/bin/mpd --no-daemon $MPDCONF
Code:ExecStart=/usr/bin/taskset -c 2,3 /usr/local/bin/mpd --no-daemon $MPDCONF
save all changes you made and reboot.
Hi Martin,
thx a lot for the quick reply.
isolcpus=2,3 = means only core 1 & core 2 are running and core 3 & 4 are off?