tomek
pfm Member
Thanks tomek, that script has peaked my interest. I did a little bit of poking around with it last night. I'm using the SPDIF out of my HiFiBerry card rather than the USB output so I didn't disable the i2c outputs, but I guess there are other things I can probably kill off, like USB for instance (unless it shares the bus with the SDCARD I guess). That's got me hooked and I want to learn more about how this works and see what other optimisations can be done, as much from a geeky Linux tinkering project as for any gains in audio quality. Any more tips are appreciated.
Just play some music, login on your pi and try to remove some kernel modules or kill some processes. If you still can play music and change tracks etc, than is OK.
One more trick - use the original squeezelite from Adrian Smith (first on the list in pi www configuration page), and not the one from Ralphy (unless you really need it). The squezelite from AS is using much less RAM and little less ressources.
In the squeezelite configuration page you can set priority to "70" and load only those codecs which you really need - for example only "flac,mp3".
Also try to lower the alsa buffer from standard 80 to 40, smaller buffer sounds better, don't ask me why ... To small buffer can cause x-clicks, just try the lowest value without x-clicks in your configuration when playing 24/96 or 24/192 files.