03-28-2021, 09:39 PM
I can repro the OP's top output on an RPi ZeroW by setting gpu_mem=320 in /boot/config.txt.
This gives me about the same total/free/used mem numbers and it also causes kswapd0 badness here.
So, a thought. AFAIK the default gpu_mem value for a 256MB RPi is 64MB while the minimum allowable is 16MB (consult the RPi docs).
The OP could try setting gpu_mem=16 in /boot/config.txt. Prolly have to do this on another host.
I just tried to approximate this on an RPi ZeroW by setting gpu_mem=272 (which is 256+16).
Playing radio stations without issue. No idea whether this would suffice for OPs purposes.
Regards,
Kent
Regards,
Kent
This gives me about the same total/free/used mem numbers and it also causes kswapd0 badness here.
So, a thought. AFAIK the default gpu_mem value for a 256MB RPi is 64MB while the minimum allowable is 16MB (consult the RPi docs).
The OP could try setting gpu_mem=16 in /boot/config.txt. Prolly have to do this on another host.
I just tried to approximate this on an RPi ZeroW by setting gpu_mem=272 (which is 256+16).
Code:
pi@ZeroW710:~ $ top -b -n 1
top - 17:34:20 up 3 min, 1 user, load average: 1.13, 1.06, 0.48
Tasks: 99 total, 1 running, 98 sleeping, 0 stopped, 0 zombie
%Cpu(s): 20.8 us, 20.8 sy, 0.0 ni, 54.2 id, 0.0 wa, 0.0 hi, 4.2 si, 0.0 st
MiB Mem : 225.9 total, 86.8 free, 78.9 used, 60.1 buff/cache
MiB Swap: 0.0 total, 0.0 free, 0.0 used. 90.7 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1935 pi 20 0 10520 2992 2576 R 20.0 1.3 0:00.10 top
1382 mpd 20 0 173768 29180 19200 S 10.0 12.6 0:08.39 mpd
1 root 20 0 15260 5968 4452 S 0.0 2.6 0:09.03 systemd
...
Playing radio stations without issue. No idea whether this would suffice for OPs purposes.
Regards,
Kent
Regards,
Kent