gkreidl wrote: ↑Thu May 28, 2020 4:37 am
But back to topic: There is definitely a bug in Buster's swapping software. Swap is even being used, when swappiness has been set to "0" and lots of RAM is available. I have reported this a few times already, but nobody seems to care.
i am not sure, but i did not used the swappiness parameter to "turn off" swap.
(i didn't even know, that there is such an option)
to bring swap to zero, i modified the file
and setted its parameter
and to be sure i added the boot parameter
at the end of
after that, the size of swap is shown as 0 in conky, so i assume it is really zero.
i will now try to use all three options
CONF_SWAPSIZE=0 to
/etc/dphys-swapfile,
noswap=1 to
/boot/cmdline.txt
vm.swappiness = 0 to
/etc/sysctl.d/9999-swappiness.conf
and will see if i get in trouble (performance issues) again in some situations...
@Moonmarch: in the past i used a RPi3B, then a RPI3B+ because of its bit faster ethernet connection (~300Mb/s) and now a RPi4B.
the RPi4B has, specially for my pex-server purpose, two big advantages...
a real 1Gb/s network adapter and 2x real USB3.0.
(makes the pxe-client boots and responds way faster than before)
there is not that bottleneck of the previous RPI's of sharing one single USB2.0 line with slow network adapter and 4x USB2.0 ports.
and as bonus of the RPI4B, it has more RAM and horsepower...
i am now able to use the RPi4 also as web browser instead of turning on my big noisy PC only for a quick web search/checking news.
i also run other tiny stuff on the RPi4 now for what i had to turn on my big PC in the past.
the RPi4 is online all the time anyhow for pxe-server purpose...
so that RPi4B
IS a big bonus for me.
now, my big noisy PC i only turn on, when i really need the big extra power of it.