(24-Oct-2018, 05:02 PM)Bromf Wrote: zram vs swap.... seems easy to try and revert....
I don't think either are particularly needed as monitoring with top whilst playing seems to show the most hungry program being...top @14% CPU on one core.
Mpd is pretty low resource usage anyway and these days I am using an AK4137 re-sampler to convert to DSD256 either via xmos or I2S depending on player so no heavy re-sampling is needed by the o/s or player hardware and DSD is fed to an Ess DAC bypassing some of the Chip's filtering.
So, I will try some more listening tests using zram and see if I can notice any difference....
Any comments appreciated...
https://github.com/novaspirit/rpi_zram
swap is just there as a buffer in case my RESTful API messed up. So far it hasn't, but if it does at least there's something to fall back to. The good thing is if there's no issues, then the swap space will be enabled but not used. if you know what I mean.
An good option is to have an option to turn off swap entirely. That may be worthwhile I think.
As for zram.. That's the first time I have heard of it.. Will try and research later what it is later on.
