[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 10:47:43 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):

 > But effect is different for Tor.
 > Rechecked that again.
 > If connection is initiated from my relay to remote relay, then speed is
 464 KiB/s.
 > If from remote relay to my relay, then 53 KiB/s.

 Tor does bind for non-loopback addresses after connecting to outside
 {{{
   if (bindaddr && bind(s, bindaddr, bindaddr_len) < 0) {
     *socket_error = tor_socket_errno(s);
     log_warn(LD_NET,"Error binding network socket: %s",
              tor_socket_strerror(*socket_error));
     tor_close_socket(s);
     return -1;
   }
 }}}
 Might be changes something for sockets in windows.

 But 464 KiB/s still sounds like 64K buffer on link with 150ms latency,
 better than 8k but non optimal.

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


More information about the tor-bugs mailing list