WRK benchmarking tool on Mint

Install wrk

$ sudo aptitude install wrk
The following NEW packages will be installed:
  libluajit-5.1-2{a} libluajit-5.1-common{a} wrk 
0 packages upgraded, 3 newly installed, 0 to remove and 20 not upgraded.
Need to get 278 kB of archives. After unpacking 779 kB will be used.
Do you want to continue? [Y/n/?] y
Get: 1 http://cosmos.cites.illinois.edu/pub/ubuntu xenial/universe amd64 libluajit-5.1-common all 2.0.4+dfsg-1 [35.3 kB]
Get: 2 http://cosmos.cites.illinois.edu/pub/ubuntu xenial/universe amd64 libluajit-5.1-2 amd64 2.0.4+dfsg-1 [205 kB]
Get: 3 http://cosmos.cites.illinois.edu/pub/ubuntu xenial/universe amd64 wrk amd64 4.0.1-2 [37.0 kB]
Fetched 278 kB in 6s (46.2 kB/s)                                                                                                                                        
Selecting previously unselected package libluajit-5.1-common.
(Reading database ... 329523 files and directories currently installed.)
Preparing to unpack .../libluajit-5.1-common_2.0.4+dfsg-1_all.deb ...
Unpacking libluajit-5.1-common (2.0.4+dfsg-1) ...
Selecting previously unselected package libluajit-5.1-2:amd64.
Preparing to unpack .../libluajit-5.1-2_2.0.4+dfsg-1_amd64.deb ...
Unpacking libluajit-5.1-2:amd64 (2.0.4+dfsg-1) ...
Selecting previously unselected package wrk.
Preparing to unpack .../archives/wrk_4.0.1-2_amd64.deb ...
Unpacking wrk (4.0.1-2) ...
Setting up libluajit-5.1-common (2.0.4+dfsg-1) ...
Setting up libluajit-5.1-2:amd64 (2.0.4+dfsg-1) ...
Setting up wrk (4.0.1-2) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...

 

 

Test 12 threads 400 connections 30sec

$ wrk -t12 -c400 -d30s http://127.0.0.1
Running 30s test @ http://127.0.0.1
  12 threads and 400 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    13.01ms   36.97ms 516.88ms   94.98%
    Req/Sec     7.86k     3.08k   28.88k    72.10%
  2743535 requests in 30.09s, 2.26GB read
Requests/sec:  91179.45
Transfer/sec:     76.86MB

https://github.com/wg/wrk

Advertisements

About NanoSoftTech

NanoSoftTech
This entry was posted in Debian, Linux Mint. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s