02-28-2021, 09:33 AM
(This post was last modified: 02-28-2021, 11:06 AM by morehifi.
Edit Reason: Added Env-Info:
)
(01-22-2021, 12:57 AM)/boot/cmdline.txtzOr7gA8 Wrote: how is your config? did you change something? do you use Edwards Tweak?
mpd.service -config?
I start with same config as moOde 6. but do not hear a difference.
Hi,
I also tried to isolate two cpus for using them with squeezelite only.
Therefore I modified /boot/config.txt and added:
Code:
isolcpus=2,3
after rebooting my pi I checked if the isolation is in place. But it wasn't
Code:
cat /sys/devices/system/cpu/isolated
I then added the isolation kernel parameter "isolcpus=2,3" to /boot/cmdline.txt
Code:
cat /boot/cmdline.txt
net.ifnames=0 isolcpus=2,3 console=serial0,115200 console=tty1 root=PARTUUID=067e19d7-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
And voila
Code:
cat /sys/devices/system/cpu/isolated
2-3
It worked.
Next I changed some parameters in /lib/systemd/system/squeezlite.service
Code:
CPUSchedulingPolicy=fifo
CPUSchedulingPriority=70
CPUAffinity=2,3
Nice=-18
Restarted the service
Code:
sudo systemctl daemon-reload
sudo systemctl restart squeezlite
... and the sound is now definitely better (and it was already very good!)
MoodeAudio: 7.01
RaspPI: 4