[tor-bugs] #22798 [Core Tor/Tor]: Windows relay is several times slower than Linux relay

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jul 5 12:20:26 UTC 2017


#22798: Windows relay is several times slower than Linux relay
-------------------------------------------+-------------------------------
 Reporter:  Vort                           |          Owner:
     Type:  defect                         |         Status:  new
 Priority:  Medium                         |      Milestone:  Tor:
                                           |  unspecified
Component:  Core Tor/Tor                   |        Version:  Tor: 0.2.9.11
 Severity:  Normal                         |     Resolution:
 Keywords:  tor-relay performance windows  |  Actual Points:
Parent ID:                                 |         Points:  5
 Reviewer:                                 |        Sponsor:
-------------------------------------------+-------------------------------

Comment (by cypherpunks):

 > Try to replace code

 Idea behind this: small socket buffer (SO_SNDBUF) and openssl internals
 returning TOR_TLS_WANTREAD for already blocked on read socket (bw limits)
 leads to lag (100ms by default) for writing, so your relays write less
 bytes.

 You could also test this theory without patches by decreasing
 TokenBucketRefillInterval value (will lead to more cpu load)

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22798#comment:26>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list