Opened 7 years ago

Closed 7 years ago

#2977 closed enhancement (fixed)

Benchmark mode for Tor

Reported by: ioerror Owned by: ioerror
Priority: Medium Milestone:
Component: Archived/Torouter Version:
Severity: Keywords:
Cc: runa nickm Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

As part of the torouter project, we want to benchmark Tor performance on a lot of different devices. While we can externally load the devices - we'll also want to measure a bunch of specific operations on a device in a self-contained manner - RSA, AES, number of circuits built, amount of memory, cpu speed, number of possible open TCP connections, etc

I believe that Tor already has some preliminary support for some of the crypto benchmarking - it's a compile time option, if I recall.

Child Tickets

Change History (3)

comment:1 Changed 7 years ago by Sebastian

I'm a bit torn here. While internal benchmarks might be fun, I suspect we can learn more if we fire up a private network to have a controlled environment, and put it under heavy load while cpu/memory profiling Tor to see where the issues are. Some more (unit) tests in the style of the aes benchmarking tests might be a good idea tho generally.

comment:2 Changed 7 years ago by ioerror

I am fairly certain that a private network test is orthogonal to the benchmark tests that I suggest. We need basic metrics to decide if a device is even worth testing in a private network. Currently, we don't have an idea of what we'd like to see as a minimum spec for a machine - whats the absolute lowest number of Tor RSA related operations we want in a torouter, etc?

Also, I think it's important to have a benchmarking mode because rarely will anyone setup a private Tor network and we can ask _anyone_ to run a single Tor command. Having it as a unit test will limit who actually runs the test and having it as a commandline switch will open up performance metrics to anyone with a copy of Tor, if they have an interest in sending us feedback...

comment:3 Changed 7 years ago by ioerror

Resolution: fixed
Status: newclosed

We believe the DreamPlug should be able to run a Tor Bridge at capped 500KB without issue. This ticket should be revisited with real bandwidth measurements later.

Note: See TracTickets for help on using tickets.