running multiple bridges on one machine?

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 hello relay operators! i've asked this question on IRC once or twice, but it seems the right people aren't online/active when i am. i think i might be able to get a better audience to answer my questions here on the mailing lists. let's begin: is it possible to run 5 bridges on one low-end VPS? each bridge would be hosted on a different IP address from five different /24 IP blocks, so that's not an issue. would i have to use multiple Tor processes, and would 5 processes be too much for a 2-core VPS with 256mb memory? also, how much bandwidth does a bridge normally burn through per month? on said VPS, the economical choice is to provide 200gb bandwidth per month. if that is not sufficient, the offer isn't financially feasible. thanks for all you do! - -- @syndikal A9FF 2FE3 A171 FE53 AEC3 A0F9 72B5 44E0 4417 11B2 twitter.com/syndikal -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJVPuKmAAoJEHK1ROBEFxGyfUQP/irH1HzKPCe+t9TFSMignsRq oX5tK6YfInQ7vmfdhpPyHodM6DneeC1uBVdY6+qyJ6g3Ef5JXblSua+2zqJe8mlI rlwL9ll+i4tYSquqpaht3dWU1xY/UoqnlwCSO8+xaCz0zYBmOafib1MHI8nCDblp Y1PXMVWs3nhaXP/ev8JS3y8HuVeVy03lRF8pAaxKJmFI5YZJpNqHO/gVXTwU0O6M OrlqPT/YPmN/cD00TrnT5k+dVEHIPzEt7vK20NlUfCTS7vLOZync+jwRBYPzS6es fFq7C/gTP3oxyx6RIGLXpHEtKmvUwQeC89GKrgrDfb0EynX7bZ+jcvzXBCq5TPFz rgz19ogAbDZ167FshkVhMc+twfhkaq1FN2ADIHF7iIFLd6z93Img3IVMk+i2nijy lb4CtfHFqhJKSxuAfUYVFHx5GnC2u37gOCKdF+ZOCtpOAyP7ozrSwVYLY+OjsPf2 7F9dq22x8QxOdSccyK4lrmyl0SZpliMDCIoJk4IvJT2elqStntwH/Ecur2I48mWv UvPcwUEbsUhZg/u3xDkuvhB5zcVYB01gqbFSr8N7nYgMgx9Ww7lVVMmj+2ADQS9e ttOHmck50ewjz/EVN/xbWcemdGyiNl1M0aPyoysWgn/8TZ12TLhAL1jgJxOJFE99 7K8kTak9an5FOf+RbpY6 =eeGb -----END PGP SIGNATURE-----

Hi!
let's begin: is it possible to run 5 bridges on one low-end VPS? [...] and would 5 processes be too much for a 2-core VPS with 256mb memory?
I did run a single Relay on a small vps (2 GB VRam 2 Ghz VCore). Tor itself did run smooth but the VPS was unable to manage all the tcp connections. On my VPS those where limited to 360 (!) connections hard limit. So double check you don't have limit on those

Am 28.04.2015 um 03:30 schrieb syndikal:
let's begin: is it possible to run 5 bridges on one low-end VPS? each bridge would be hosted on a different IP address from five different /24 IP blocks, so that's not an issue. would i have to use multiple Tor processes, and would 5 processes be too much for a 2-core VPS with 256mb memory?
also, how much bandwidth does a bridge normally burn through per month? on said VPS, the economical choice is to provide 200gb bandwidth per month. if that is not sufficient, the offer isn't financially feasible.
I run a tor relay on some Atom processor, the bottleneck is the missing AES-NI I think, however on 100MBit/s it only makes 35MBit/s with one CPU core being loaded 100% and the other 3 at ~10%. My relay makes a few TB/month like that, so I guess it is still good to keep it running. Greetings yl

On Monday, April 27, 2015 9:30pm, "syndikal" <syndikal@riseup.net> said:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
hello relay operators!
i've asked this question on IRC once or twice, but it seems the right people aren't online/active when i am. i think i might be able to get a better audience to answer my questions here on the mailing lists.
let's begin: is it possible to run 5 bridges on one low-end VPS? each bridge would be hosted on a different IP address from five different /24 IP blocks, so that's not an issue. would i have to use multiple Tor processes, and would 5 processes be too much for a 2-core VPS with 256mb memory?
There is no way you will squeeze 5 bridges into 256MB. 256MB is more suitable for 2 bridges; 384MB+ is needed if you also want to run an obfsproxy on each bridge. Really, even 256MB alone is not enough for 2 bridges. If you do not have swap space too (not a given if your VPS is OpenVZ) you will have to kill the bridges to install OS updates, etc. CPU utilization isn't a problem. Some (or even all!) of those bridges will get no real traffic, just a few megabytes/month for housekeeping. You really won't see much competition for CPU time, especially if your CPUs support the x86 AES instructions (not a given even on contemporary CPUs with KVM).
also, how much bandwidth does a bridge normally burn through per month? on said VPS, the economical choice is to provide 200gb bandwidth per month. if that is not sufficient, the offer isn't financially feasible.
I've seen it vary from no traffic at all up to a terabyte per month. It really all depends on how your bridges are distributed and how heavily the bridges are used by those who receive the distribution. I guess you could manage the bridge use by handing out the addresses yourself, but if you rely on the normal bridge distribution methods, it is really out of your hands.
participants (4)
-
Steve Snyder
-
syndikal
-
tor-relay@b4ckbone.de
-
yl