Skip to content

Instantly share code, notes, and snippets.

@RobertBrewitz
Created July 4, 2011 22:44
Show Gist options
  • Save RobertBrewitz/1064028 to your computer and use it in GitHub Desktop.
Save RobertBrewitz/1064028 to your computer and use it in GitHub Desktop.
How many workers?
1 worker with 8 concurrent connections
autobench --single_host --host1 10.235.50.10 --uri1 /10kb.html --quiet \
--low_rate 8 --high_rate 8 --rate_step 8 --num_call 16 \
--const_test_time 60 --timeout 5 --file 8con_16req_1worker.csv
CPU: ~6%, response time: 1.9ms, timeouts: 0
1 worker with 16 concurrent connections
autobench --single_host --host1 10.235.50.10 --uri1 /10kb.html --quiet \
--low_rate 16 --high_rate 16 --rate_step 16 --num_call 16 \
--const_test_time 60 --timeout 5 --file 16con_16req_1worker.csv
CPU: ~9%, response time: 1.6ms, timeouts: 0
1 worker 24 concurrent connections
autobench --single_host --host1 10.235.50.10 --uri1 /10kb.html --quiet \
--low_rate 24 --high_rate 24 --rate_step 24 --num_call 16 \
--const_test_time 60 --timeout 5 --file 24con_16req_1worker.csv
CPU: ~13%, response time: 1.4ms, timeouts: 0
1 worker 32 concurrent connections
autobench --single_host --host1 10.235.50.10 --uri1 /10kb.html --quiet \
--low_rate 32 --high_rate 32 --rate_step 32 --num_call 16 \
--const_test_time 60 --timeout 5 --file 32con_16req_1worker.csv
CPU: ~14%, response time: 1.3ms, timeouts: 0
1 worker 40 concurrent connections
autobench --single_host --host1 10.235.50.10 --uri1 /10kb.html --quiet \
--low_rate 40 --high_rate 40 --rate_step 40 --num_call 16 \
--const_test_time 60 --timeout 5 --file 40con_16req_1worker.csv
CPU: ~17%, response time: 1.2ms, timeouts: 0
1 worker 48 concurrent connections
autobench --single_host --host1 10.235.50.10 --uri1 /10kb.html --quiet \
--low_rate 48 --high_rate 48 --rate_step 48 --num_call 16 \
--const_test_time 60 --timeout 5 --file 48con_16req_1worker.csv
CPU: 100%, response time: 14.8ms, timeouts: 0.34982623010792
2 workers 48 concurrent connections
autobench --single_host --host1 10.235.50.10 --uri1 /10kb.html --quiet \
--low_rate 48 --high_rate 48 --rate_step 48 --num_call 16 \
--const_test_time 60 --timeout 5 --file 48con_16req_2workers.csv
CPU: ~20%, response time: 1.3ms, timeouts: 0
2 workers 56 concurrent connections
autobench --single_host --host1 10.235.50.10 --uri1 /10kb.html --quiet \
--low_rate 56 --high_rate 56 --rate_step 56 --num_call 16 \
--const_test_time 60 --timeout 5 --file 56con_16req_2workers.csv
CPU: 100%, response time: 28.2ms, timeouts: 0.835297088032318
3 workers 56 concurrent connections
autobench --single_host --host1 10.235.50.10 --uri1 /10kb.html --quiet \
--low_rate 56 --high_rate 56 --rate_step 56 --num_call 16 \
--const_test_time 60 --timeout 5 --file 56con_16req_3workers.csv
CPU: ~24%, response time: 1.2ms, timeouts: 0
3 workers 64 concurrent connections
autobench --single_host --host1 10.235.50.10 --uri1 /10kb.html --quiet \
--low_rate 64 --high_rate 64 --rate_step 64 --num_call 16 \
--const_test_time 60 --timeout 5 --file 64con_16req_3workers.csv
CPU: 100%, response time: 51.8ms, timeouts: 2.6023823028928
4 workers 64 concurrent connections
autobench --single_host --host1 10.235.50.10 --uri1 /10kb.html --quiet \
--low_rate 64 --high_rate 64 --rate_step 64 --num_call 16 \
--const_test_time 60 --timeout 5 --file 64con_16req_4workers.csv
CPU: ~28%, response time: 1.2ms, timeouts: 0
4 workers 72 concurrent connections
autobench --single_host --host1 10.235.50.10 --uri1 /10kb.html --quiet \
--low_rate 72 --high_rate 72 --rate_step 72 --num_call 16 \
--const_test_time 60 --timeout 5 --file 72con_16req_4workers.csv
CPU: ~30%, response time: 1.2ms, timeouts: 0
4 workers 80 concurrent connections
autobench --single_host --host1 10.235.50.10 --uri1 /10kb.html --quiet \
--low_rate 80 --high_rate 80 --rate_step 80 --num_call 16 \
--const_test_time 60 --timeout 5 --file 80con_16req_4workers.csv
CPU: 100%, response time: 23ms, timeouts: 2.64493085447385
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment