Hey Folks,
is there a common procedure for testing a tor server for a high load?
Thanks in advance
Hi,
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.
Best regards, Julien ROBIN
----- Mail original ----- De: "webmaster" webmaster@defcon-cc.dyndns.org À: tor-relays@lists.torproject.org Envoyé: Dimanche 11 Janvier 2015 11:59:12 Objet: [tor-relays] Simulate High Tor Load
Hey Folks,
is there a common procedure for testing a tor server for a high load?
Thanks in advance
Hi Julien,
thats exactly the setup I'm actually using. I use my relay as a client.
From my point of view it seems that the relay is used as a entry point
(without guard flag) in this constellation (correct me if I'm wrong).
Torsocks could solve my problem.
My goal is to examine the influence of a high traffic load on my relay to perhaps adjust my server settings (number of open file descriptors, ...).
Am 11.01.2015 um 13:05 schrieb Julien ROBIN:
Hi,
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.
Best regards, Julien ROBIN
----- Mail original ----- De: "webmaster" webmaster@defcon-cc.dyndns.org À: tor-relays@lists.torproject.org Envoyé: Dimanche 11 Janvier 2015 11:59:12 Objet: [tor-relays] Simulate High Tor Load
Hey Folks,
is there a common procedure for testing a tor server for a high load?
Thanks in advance
tor-relays@lists.torproject.org