Hello!
I would like to activate a local DNS resolver with unbound at the exit relays, but I am concerned about the RAM size with 1GB. On an example machine I have 2GB RAM and the exit relay occupies 400MB at 22.9 MiB/s according to the metrics.
Does anyone have experience with such values? My smaller exit relays only have 1GB of RAM.
Well, there is still the problem that simply trying it out is not possible. If I overrun the RAM and it comes to SWAP activities, then already on a local machine almost no access was possible. With a VPS this is a no-go.
Kind regards! Olaf
On Sat, 12 Dec 2020 20:37:22 +0100 Olaf Grimm jeep665@posteo.de wrote:
Hello!
I would like to activate a local DNS resolver with unbound at the exit relays, but I am concerned about the RAM size with 1GB. On an example machine I have 2GB RAM and the exit relay occupies 400MB at 22.9 MiB/s according to the metrics.
Does anyone have experience with such values? My smaller exit relays only have 1GB of RAM.
Well, there is still the problem that simply trying it out is not possible. If I overrun the RAM and it comes to SWAP activities, then already on a local machine almost no access was possible. With a VPS this is a no-go.
Kind regards! Olaf
Hi,
My small exit relay 988625BFD9E9B23B35C590250407486F28FF8FFC runs on 1 GiB RAM VPS with local unbound recursive resolver.
Memory usage looks like this: Memory: Real: 470M/861M act/tot Free: 110M Cache: 177M Swap: 317M/1049M
In my expirience swap in general is a virtue, of course it might hinder the overall expirience on specific workloads.
Also usually there is a way to access VPS if it has became unresponsive, like VNC. IMO you should simply try if you have non-network access to the VPS.
On 12.12.2020 20:37, Olaf Grimm wrote:
I would like to activate a local DNS resolver with unbound at the exit relays, but I am concerned about the RAM size with 1GB. On an example machine I have 2GB RAM and the exit relay occupies 400MB at 22.9 MiB/s according to the metrics.
Does anyone have experience with such values? My smaller exit relays only have 1GB of RAM.
On both of my exits, unbound occupies 140-145MB RAM. https://metrics.torproject.org/rs.html#search/TorOrDie4privacyNET
On 14.12.2020 13:27, Toralf Förster wrote:
On 12/14/20 1:15 PM, lists@for-privacy.net wrote:
On both of my exits, unbound occupies 140-145MB RAM.
Hhm, under a hardened stable Gentoo it occupiers 45 MB in RAM (virtual 378MB, but that involves all ever loaded libs before too)
My way may be wrong:
I looked in the 'RES' column in htop. Hide user threads (shift + H) & close process view (F5)
grep VmPeak/proc/$PID/status = 181836 kB
I have several 1 G RAM exits running unbound without a problem. They never seem to hit swap, either. On FreeBSD: last pid: 83973; load averages: 0.86, 0.71, 0.62 up 130+15:44:28 16:02:04 23 processes: 2 running, 21 sleeping CPU: 43.1% user, 0.0% nice, 2.7% system, 5.5% interrupt, 48.6% idle Mem: 101M Active, 734M Inact, 444M Wired, 151M Buf, 210M Free Swap: 512M Total, 512M Free
Go for it,
--Torix
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Monday, December 14, 2020 1:11 PM, lists@for-privacy.net wrote:
On 14.12.2020 13:58, lists@for-privacy.net wrote:
grep VmPeak/proc/$PID/status = 181836 kB
A non exit has less: grep VmPeak/proc/$PID/status = 57336 kB tor-proxy-02.for-privacy.net ^^
╰_╯ Ciao Marco!
Debian GNU/Linux
It's free software and it gives you freedom!
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Hello !
Thank you very much for the large amount of replies. I have made a test and after less hours of activity I can confirm the low RAM consumption. There are no problems with 1GB. 'htop' reports 3,1% of RAM usage for 'unbound'. I will now reconfigure my fleet one by one next days.
Kind regards ! Olaf
Am 14.12.20 um 15:10 schrieb torix@protonmail.com:
I have several 1 G RAM exits running unbound without a problem. They never seem to hit swap, either. On FreeBSD: last pid: 83973; load averages: 0.86, 0.71, 0.62 up 130+15:44:28 16:02:04 23 processes: 2 running, 21 sleeping CPU: 43.1% user, 0.0% nice, 2.7% system, 5.5% interrupt, 48.6% idle Mem: 101M Active, 734M Inact, 444M Wired, 151M Buf, 210M Free Swap: 512M Total, 512M Free
Go for it,
--Torix
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Monday, December 14, 2020 1:11 PM, lists@for-privacy.net wrote:
On 14.12.2020 13:58, lists@for-privacy.net wrote:
grep VmPeak/proc/$PID/status = 181836 kB
A non exit has less: grep VmPeak/proc/$PID/status = 57336 kB tor-proxy-02.for-privacy.net ^^
╰_╯ Ciao Marco!
Debian GNU/Linux
It's free software and it gives you freedom!
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
hey, partly related to original question: I'm planning to set up a new exit. My very first relay. I'm planning to use a small SoC with 2GB ram. Something running on ARM like a raspberry pi.
Is this feasible or even a good idea?
Regards
On 14 Dec 2020, at 15:10, torix@protonmail.com wrote:
I have several 1 G RAM exits running unbound without a problem. They never seem to hit swap, either. On FreeBSD: last pid: 83973; load averages: 0.86, 0.71, 0.62 up 130+15:44:28 16:02:04 23 processes: 2 running, 21 sleeping CPU: 43.1% user, 0.0% nice, 2.7% system, 5.5% interrupt, 48.6% idle Mem: 101M Active, 734M Inact, 444M Wired, 151M Buf, 210M Free Swap: 512M Total, 512M Free
Go for it,
--Torix
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, December 14, 2020 1:11 PM, lists@for-privacy.net wrote:
On 14.12.2020 13:58, lists@for-privacy.net wrote:
grep VmPeak/proc/$PID/status = 181836 kB
A non exit has less: grep VmPeak/proc/$PID/status = 57336 kB tor-proxy-02.for-privacy.net ^^
╰_╯ Ciao Marco!
Debian GNU/Linux
It's free software and it gives you freedom!
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
_______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Hey,
I run relays with less RAM and it works fine. A problem with a SoC might be that the hardware cant "help" with crypto stuff (but I am not sure, I've read that somewhere). Also, this sounds like you are planning to run an exit from home, which you shouldn't.
Greetings
On 15.12.2020 01:44, Amadeus Ramazotti wrote:
hey, partly related to original question: I'm planning to set up a new exit. My very first relay. I'm planning to use a small SoC with 2GB ram. Something running on ARM like a raspberry pi.
Is this feasible or even a good idea?
Regards
On 14 Dec 2020, at 15:10, torix@protonmail.com wrote:
I have several 1 G RAM exits running unbound without a problem. They never seem to hit swap, either. On FreeBSD: last pid: 83973; load averages: 0.86, 0.71, 0.62 up 130+15:44:28 16:02:04 23 processes: 2 running, 21 sleeping CPU: 43.1% user, 0.0% nice, 2.7% system, 5.5% interrupt, 48.6% idle Mem: 101M Active, 734M Inact, 444M Wired, 151M Buf, 210M Free Swap: 512M Total, 512M Free
Go for it,
--Torix
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, December 14, 2020 1:11 PM, lists@for-privacy.net wrote:
On 14.12.2020 13:58, lists@for-privacy.net wrote:
grep VmPeak/proc/$PID/status = 181836 kB
A non exit has less: grep VmPeak/proc/$PID/status = 57336 kB tor-proxy-02.for-privacy.net ^^
╰_╯ Ciao Marco!
Debian GNU/Linux
It's free software and it gives you freedom!
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays _______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
If you're going to run an exit relay from your home, just be aware that there is a > 0 chance that law enforcement will show up at your door with a warrant (or not) and seize your equipment. All of it, not just the Pi. Depending on where you live, they might seize you too.
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Monday, 14 de December de 2020 19:44, Amadeus Ramazotti cryptoquantumhammer@gmail.com wrote:
hey, partly related to original question: I'm planning to set up a new exit. My very first relay. I'm planning to use a small SoC with 2GB ram. Something running on ARM like a raspberry pi.
Is this feasible or even a good idea?
Regards
On 14 Dec 2020, at 15:10, torix@protonmail.com wrote:
I have several 1 G RAM exits running unbound without a problem. They never seem to hit swap, either. On FreeBSD: last pid: 83973; load averages: 0.86, 0.71, 0.62 up 130+15:44:28 16:02:04 23 processes: 2 running, 21 sleeping CPU: 43.1% user, 0.0% nice, 2.7% system, 5.5% interrupt, 48.6% idle Mem: 101M Active, 734M Inact, 444M Wired, 151M Buf, 210M Free Swap: 512M Total, 512M Free
Go for it,
--Torix
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, December 14, 2020 1:11 PM, lists@for-privacy.net wrote:
On 14.12.2020 13:58, lists@for-privacy.net wrote: grep VmPeak/proc/$PID/status = 181836 kB
A non exit has less: grep VmPeak/proc/$PID/status = 57336 kB tor-proxy-02.for-privacy.net ^^
╰_╯ Ciao Marco! Debian GNU/Linux It's free software and it gives you freedom! tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
Hello Amadeus!
When you talk about a RasPi, I assume you mean a home location. Please read the recommendations. Never operate an Exit Relay at home! It will be expensive if the wrong people knock on the door.
By the way, for an Exit Relay the bandwidth should already be 10MBit/s or better.
Olaf
Am 15.12.20 um 01:44 schrieb Amadeus Ramazotti:
hey, partly related to original question: I'm planning to set up a new exit. My very first relay. I'm planning to use a small SoC with 2GB ram. Something running on ARM like a raspberry pi.
Is this feasible or even a good idea?
Regards
On 14 Dec 2020, at 15:10, torix@protonmail.com wrote:
I have several 1 G RAM exits running unbound without a problem. They never seem to hit swap, either. On FreeBSD: last pid: 83973; load averages: 0.86, 0.71, 0.62 up 130+15:44:28 16:02:04 23 processes: 2 running, 21 sleeping CPU: 43.1% user, 0.0% nice, 2.7% system, 5.5% interrupt, 48.6% idle Mem: 101M Active, 734M Inact, 444M Wired, 151M Buf, 210M Free Swap: 512M Total, 512M Free
Go for it,
--Torix
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, December 14, 2020 1:11 PM, lists@for-privacy.net wrote:
On 14.12.2020 13:58, lists@for-privacy.net wrote:
grep VmPeak/proc/$PID/status = 181836 kB
A non exit has less: grep VmPeak/proc/$PID/status = 57336 kB tor-proxy-02.for-privacy.net ^^
╰_╯ Ciao Marco!
Debian GNU/Linux
It's free software and it gives you freedom!
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays _______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
tor-relays@lists.torproject.org