[tor-relays] Worse throughput with 0.4.8.x, on a slow CPU

George Hartley hartley_george at proton.me
Tue Jan 9 21:45:28 UTC 2024


Dear Jeff Blum,


> Yes, I am seeing something similar on 0.4.8.9 (and potentially earlier versions as well, not 100% sure when it started). I upgraded to 0.4.8.10 today hoping it would go away, but I'm seeing it again. Watching in nyx (screenshot of bandwidth graph attached), reliably every ~30 seconds.


This is just Tor doing zlib-compression on some documents, you can somewhat combat it by assigning more cores to your machine.

Tor is mostly singlethreaded, but OnionSkin decryption, zlib compression and some other operations utilize all cores detected.

Regards,
George
On Monday, January 8th, 2024 at 9:54 AM, Jeff Blum <jeff at mulb.us> wrote:


> 

> 

> > On 12/13/23 06:15, Roman Mamedov wrote:
> > 

> > > 

> > > On the older version it gets about 80+80 Mbit total in+out. On the new one the
> > > average is at most 45+45 Mbit. There are frequent periods where the bandwidth
> > > drops to 5-10 Mbit for 3-5 seconds, while all Tor processes continue to use
> > > 100% of both CPUs, then gradually climbs back up.
> > > 

> > > Does anyone notice anything similar?
> 

> Hi Roman,
> 

> Yes, I am seeing something similar on 0.4.8.9 (and potentially earlier versions as well, not 100% sure when it started). I upgraded to 0.4.8.10 today hoping it would go away, but I'm seeing it again. Watching in nyx (screenshot of bandwidth graph attached), reliably every ~30 seconds, I see the bandwidth briefly plummet and the tor process CPU spike. Guard relay running in docker under ubuntu server on a Ryzen 3600 machine with 32GB RAM. Note that when the relay restarted after the upgrade today, it didn't do this for a while (maybe an hour or so? wasn't watching it the whole time), but then started glitching every 30s. Once it starts it does this every ~30 seconds forever. Relay has been running like this for weeks, maybe months.
> 

> best,
> 

> -jeff
> 

> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20240109/73e1ccae/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mm3C0OwHcygT0D6u.png
Type: image/png
Size: 7751 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20240109/73e1ccae/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: publickey - hartley_george at proton.me - 0xAEE8E00F.asc
Type: application/pgp-keys
Size: 657 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20240109/73e1ccae/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20240109/73e1ccae/attachment-0001.sig>


More information about the tor-relays mailing list