[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #14056 [Tor]: IPredator complains that we call time() too much when running over 500Mbps
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs