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

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Jul 8 16:01:15 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 Vort):

 > Maybe routes were different with different latency?

 This is how tests were made:

 Two Tor instances was launched at the same Windows 7 computer:
 TorClient and TorRelay.

 Then I made a 3-hop circuit via control port of TorClient: refEntry,
 myRelay, refExit.
 Attached stream and downloaded test file from 38.229.72.16 via SOCKS port
 of TorClient.
 This test forced refEntry to make a connection to myRelay.
 Then download command forced my relay to upload data to refEntry.
 I guess, that ping between myRelay and refEntry is somewhere near 150 ms.
 This test produced 52 KiB/s.

 Next test:
 Restarted TorRelay (which is dropping connection from refEntry to
 myRelay).
 Connected to control port of '''TorRelay'''.
 Created the 2-hop circuit refEntry, refExit.
 This is forced outgoing connection from TorRelay to refEntry.
 Next part is identical to test one:
 ''3-hop circuit via control port of '''TorClient''': refEntry, myRelay,
 refExit and file download''
 But since TorRelay <-> refEntry connection is already established,
 incoming connection is not created.
 I don't know if Tor creating new outgoing connection or reusing existing,
 but I don't see incoming connection in this case.
 This test produces 464 KiB/s.

 Maybe I am doing something wrong.
 So please try to reproduce this thing.

 If your ping to refEntry is not 150 ms, then select another refEntry.

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


More information about the tor-bugs mailing list