[tor-bugs] #14056 [Tor]: IPredator complains that we call time() too much when running over 500Mbps

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jan 1 05:41:25 UTC 2015


#14056: IPredator complains that we call time() too much when running over 500Mbps
------------------------+-----------------------------------------
     Reporter:  teor    |      Owner:
         Type:  defect  |     Status:  new
     Priority:  normal  |  Milestone:  Tor: 0.2.6.x-final
    Component:  Tor     |    Version:  Tor: 0.2.5.10
   Resolution:          |   Keywords:  performance tor-relay lorax
Actual Points:          |  Parent ID:
       Points:          |
------------------------+-----------------------------------------

Comment (by mmcc):

 Coincidentally, I just discovered this a couple hours ago. I was trying to
 figure out what causes Tor relays running on OpenBSD to underperform.

 I ran ktrace/kdump on the Tor process to figure out what system calls were
 being made and found >400,000 gettimeofday() calls. If I recall correctly,
 most or all gave the same struct pointer as the first argument, too.

 The server's down at the moment, so I can't verify some of that.

 I came across very similar nebulous performance issues relating to many
 gettimeofday() calls on other projects' bug trackers. For example:

     http://bugs.mysql.com/bug.php?id=46596

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


More information about the tor-bugs mailing list