[tor-dev] Twisted-based Tor client performance measurement tool

Linus Nordberg linus at torproject.org
Wed Jan 23 08:47:37 UTC 2013


Karsten Loesing <karsten at torproject.org> wrote
Tue, 22 Jan 2013 22:08:39 +0100:

| > | That's a lot, and to make things even more fun, there's a sponsor
| > | deadline to have more realistic Torperf measurements by February 28.
| > 
| > This is what stops me from going "Wooha! o/".
| 
| Which part? ;)

The deadline part.


| Feedback much appreciated!

Local testing on Debian 7.0 works fine. Unable to test with a globally
reachable address on that machine atm.

All testing on FreeBSD 8.3, Python 2.7.3, Twisted 12.1.0 fail with an
exception that doesn't make much sense to me:

--8<---------------cut here---------------start------------->8---
2013-01-23 09:41:58+0100 [-] Unhandled error in Deferred:
2013-01-23 09:41:58+0100 [-] Unhandled Error
        Traceback (most recent call last):
          File "/usr/local/lib/python2.7/site-packages/twisted/internet/task.py", line 215, in __call__
            d = defer.maybeDeferred(self.f, *self.a, **self.kw)
          File "/usr/local/lib/python2.7/site-packages/twisted/internet/defer.py", line 134, in maybeDeferred
            result = f(*args, **kw)
          File "perfd.py", line 150, in makeRequest
            self.file_size)
          File "perfd.py", line 104, in __init__
            deferred = wrapper.connect(factory)
        --- <exception caught here> ---
          File "/home/linus/usr/src/torperf/socksclient.py", line 108, in connect
            wf = _WrappingFactory(f, _canceller)
        exceptions.TypeError: __init__() takes exactly 2 arguments (3 given)
--8<---------------cut here---------------end--------------->8---


More information about the tor-dev mailing list