Re:A Raspberry Pi as a decent residential proxy
by AlexITC on Monday June 08, 2020 @02:26PM
(#23459239)
$ free -h
total used free shared buff/cache available
Mem: 432Mi 194Mi 26Mi 20Mi 211Mi 164Mi
Swap: 99Mi 2.0Mi 97Mi
$ top
Tasks: 69 total, 1 running, 68 sleeping, 0 stopped, 0 zombie
%Cpu(s): 7.3 us, 4.3 sy, 0.0 ni, 88.4 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
MiB Mem : 432.4 total, 26.2 free, 194.7 used, 211.5 buff/cache
MiB Swap: 100.0 total, 98.0 free, 2.0 used. 164.7 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2915 pi 20 0 299.9m 173.8m 13.6m S 1.6 40.2 447:45.82 java
32009 pi 20 0 7.5m 2.6m 2.2m R 1.0 0.6 0:00.31 top
31991 pi 20 0 11.9m 3.8m 3.0m S 0.3 0.9 0:00.10 sshd
Re:A Raspberry Pi as a decent residential proxy
by boring_twenties on Monday June 08, 2020 @06:37PM
(#23461558)
Don't forget to set gpu_mem in config.txt. It looks like you are running with the default, which is 64MB for the GPU. I'm guessing you are not using the GPU in this application and should reduce this value to the bare minimum (which I don't recall, sorry)
Re:A Raspberry Pi as a decent residential proxy
by AlexITC on Monday June 08, 2020 @09:05PM
(#23462557)
Thanks for the hint, I would be surprised if this old Pi actually has any GPU.
Re:A Raspberry Pi as a decent residential proxy
by boring_twenties on Tuesday June 09, 2020 @05:32PM
(#23471146)
They all do, in fact the GPU is required to boot the CPU. In your free output it is clear that 64MB is assigned to the GPU, as per default, because it says you only have 432M total (available to the CPU).
You can gain most (not all) of that 64MB back for free, simply by running `echo gpu_mem=1 | sudo tee -a /boot/config.txt && sudo reboot`
(Pretty sure that the minimum is actually more than 1, but also that it will accept that and set it to the minimum... check the docs if you need to be sure)
Re:A Raspberry Pi as a decent residential proxy
by AlexITC on Tuesday June 09, 2020 @06:29PM
(#23471682)
Thanks for the details.
Re:A Raspberry Pi as a decent residential proxy
by rasz on Monday June 08, 2020 @11:24PM
(#23463355)
pee was always a VideoCore GPU with ARM cores glued to its ass as an afterthought https://en.wikipedia.org/wiki/VideoCore
Re:A Raspberry Pi as a decent residential proxy
by Snawoot on Monday June 08, 2020 @02:36PM
(#23459343)
Thank you!
What is total RSS of all your proxy processes?