Skip to content

Instantly share code, notes, and snippets.

@mpapec
Created August 6, 2016 12:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mpapec/2d89b4421a5820057d4e6093447df05c to your computer and use it in GitHub Desktop.
Save mpapec/2d89b4421a5820057d4e6093447df05c to your computer and use it in GitHub Desktop.
./wrk -c 100 -d 30s http://127.0.0.1:8081/
Running 30s test @ http://127.0.0.1:8081/
2 threads and 100 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 2.46ms 2.85ms 131.07ms 98.03%
Req/Sec 22.06k 2.02k 25.91k 76.83%
1316917 requests in 30.00s, 145.92MB read
Requests/sec: 43894.19
Transfer/sec: 4.86MB
perl -ne'
/^\s*$/ && $i++;
push @{$x[$i]}, [/^(.+?) \s*:\s* (.+)/x] if /core|sibling|physical id/; }{
$r= shift @x;
for $i(0..$#$r) { $$r[$i][1] .= " ".$$_[$i][1] for @x; printf "%-15s: %s\n", @{$$r[$i]} }
' /proc/cpuinfo
physical id : 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
siblings : 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36
core id : 0 0 1 1 2 2 3 3 4 4 8 8 9 9 10 10 11 11 16 16 17 17 18 18 19 19 20 20 24 24 25 25 26 26 27 27 0 0 1 1 2 2 3 3 4 4 8 8 9 9 10 10 11 11 16 16 17 17 18 18 19 19 20 20 24 24 25 25 26 26 27 27
cpu cores : 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment