[tor-relays] Simulate High Tor Load
julien.robin28 at free.fr
Sun Jan 11 12:05:13 UTC 2015
If you are on a dedicated high Bandwidth server you can maybe use your relay as client, an idea could be to open a lot of "wget" commands.
sudo apt-get install torsocks
usewithtor wget URL
But it's not guaranteed that the selected circuits will be super-fast (first reason to open lot of wgets simultaneously)
Of course, doing that you consume some useful bandwidth for users (but if it's quick, after all you're a Tor user like another!)
And it's not totally the same that relaying data as server, since it's using the client part of the tor process (but starting from here, I cannot help you anymore since I don't know what is written in the code ;)
So if anybody have another better idea
Something that would generate a full customized circuit for example, or reduce the amount of used hop for the test.
It already exists "EntryNodes" and "ExitNodes" commands for your torrc file, but no server can be used as EntryNode if it's not Guard already, and I'm not sure that some "MiddleNodes" command exists.
Last things, you can also make you machine's CPU working hard on a lot of threads simultaneously, and watch if Tor is suffering or not (like "too many circuit creation request!" in the log).
Or make some tests with Iperf for high bandwidth load in parallel ("iperf -s" on a fast machine, "ipers -c Ip -t TimeInSeconds -p port -P ParallelsTcpConnexions" on the other machine - this one will send data (chains of 1234567890123...) to the server)
Good luck ! By curiosity, I'm interested also, but I would understand if this kind of easiness in creating bandwidth statistics and degraded path (for analysis, for example) is not really sought by developers.
----- Mail original -----
De: "webmaster" <webmaster at defcon-cc.dyndns.org>
À: tor-relays at lists.torproject.org
Envoyé: Dimanche 11 Janvier 2015 11:59:12
Objet: [tor-relays] Simulate High Tor Load
is there a common procedure for testing a tor server for a high load?
Thanks in advance
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0.17 (MingW32)
-----END PGP PUBLIC KEY BLOCK-----
tor-relays mailing list
tor-relays at lists.torproject.org
More information about the tor-relays