[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs