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

Re: Tor client performance (was Re: URGENT: patch needed ASAP for authority bug)



On Thu, Apr 22, 2010 at 12:03:58AM -0400, Roger Dingledine wrote:
> On Wed, Apr 21, 2010 at 06:59:18AM -0400, Roger Dingledine wrote:
> > Once I've slept and have thought about it more, I'm going to write a
> > test patch that will preemptively close these TLS connections earlier
> > than the client would otherwise close them.
> 
> Attached is that patch. It only applies against git head, so if you
> prefer tarballs, check out
> http://freehaven.net/~arma/tor-0.2.2.12-alpha-dev.tar.gz
> 
> I expect this will be a miraculous solution for everybody involved. Please
> let me know either way. ;)
> 
> I've left the once-per-second notice logs in place so it's easy to
> compare to the previous behavior. There's also a whole lot more detail
> at info-level if you like that sort of thing.
> 

Just a short snapshot with identical configs running since about
the same time (~2 hours), before and after the patch:
(linebreaks inclusive)
Before:
---------------------------
Apr 21 14:56:45.365 [notice] 18527 (3507,12171) of 19843/19888 used for
begindir
Apr 21 14:56:46.299 [notice] 18522 (3514,12159) of 19849/19903 used for
begindir
Apr 21 14:56:47.380 [notice] 18519 (3520,12151) of 19852/19907 used for
begindir
Apr 21 14:56:48.335 [notice] 18530 (3525,12155) of 19858/19930 used for
begindir
Apr 21 14:56:49.362 [notice] 18520 (3527,12142) of 19845/19930 used for
begindir
Apr 21 14:56:50.376 [notice] 18530 (3523,12157) of 19841/19895 used for
begindir
Apr 21 14:56:51.436 [notice] 18529 (3522,12158) of 19839/19881 used for
begindir
Apr 21 14:56:52.553 [notice] 18550 (3535,12166) of 19850/19913 used for
begindir
Apr 21 14:56:53.549 [notice] 18542 (3535,12157) of 19843/19890 used for
begindir
Apr 21 14:56:54.563 [notice] 18544 (3531,12162) of 19835/19890 used for
begindir

After:
---------------------------
Apr 22 07:30:31.377 [notice] 2747 (1284,1452) of 3744/3766 used for
begindir
Apr 22 07:30:32.352 [notice] 2764 (1284,1469) of 3754/3766 used for
begindir
Apr 22 07:30:33.369 [notice] 2785 (1284,1489) of 3777/3797 used for
begindir
Apr 22 07:30:34.401 [notice] 2804 (1282,1510) of 3808/3826 used for
begindir
Apr 22 07:30:35.360 [notice] 2827 (1283,1532) of 3826/3849 used for
begindir
Apr 22 07:30:36.416 [notice] 2620 (1269,1339) of 3622/3639 used for
begindir
Apr 22 07:30:37.427 [notice] 2651 (1267,1372) of 3664/3693 used for
begindir
Apr 22 07:30:38.388 [notice] 2673 (1267,1394) of 3689/3721 used for
begindir
Apr 22 07:30:39.380 [notice] 2702 (1265,1425) of 3706/3738 used for
begindir
Apr 22 07:30:40.404 [notice] 2719 (1264,1443) of 3729/3747 used for
begindir

Hans