Asis Patra


Bengaluru, India

How to install wrk on IBM Power Systems

by on August 2, 2022 at 10:27 am

wrk is a HTTP Benchmarking tool. It can generate significant amount of load on a HTTP server. Here is an example how it works.

wrk -t12 -c400 -d30s

This runs a benchmark for 30 seconds, using 12 threads, and keeping 400 HTTP connections open.


Running 30s test @
  12 threads and 400 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   635.91us    0.89ms  12.92ms   93.69%
    Req/Sec    56.20k     8.07k   62.00k    86.54%
  22464657 requests in 30.00s, 17.76GB read
Requests/sec: 748868.53
Transfer/sec:    606.33MB

wrk requires LuaJIT and OpenSSL as dependencies.

You may face the following issues while you will be trying to build and install wrk on IBM Power Systems(ppc64le).

In file included from src/wrk.c:3:
src/wrk.h:11:10: fatal error: openssl/ssl.h: No such file or directory
 #include <openssl/ssl.h>

To solve the above issue you need to install openssl-devel package.

In file included from src/wrk.c:3:
src/wrk.h:13:10: fatal error: lua.h: No such file or directory
 #include <lua.h>

To solve this issue, luajit need to be system include and lib path. Find How to install LuaJIT on IBM Power Systems.

So you can follow the below steps to install wrk on IBM Power Systems(ppc64le platform).

# Install openssl-devel package
yum install openssl-devel

# git clone wrk
git clone
cd wrk

# put luajit under include and lib
ln -sf /usr/local/include/luajit-2.1/ /usr/include/luajit-2.1
ln -sf /usr/local/lib/ /usr/lib64/
sed -i 's/WITH_LUAJIT)\/include$/WITH_LUAJIT)\/include\/luajit-2.1/' Makefile

# build and install wrk

Category: PPC64LE

Tags: , , , ,


How to Open Firewall Ports on RHEL8

by on August 1, 2022 at 2:25 pm

By default any application network port mostly will be blocked by the Operating System’s firewall. As a result you will face that applications from two system are not able to communicate to each other. The same works perfectly if you run them on the same system. You can open or add the network port in […]  Read More »

Category: Linux

Let’s try to write a sample assembly language code and then compile and run it on Linux x86 platform. This code will just print Hello World. There are several way to write the assembly code. You can find more details here. I have picked one of them. Programming Using System Calls 64-bit Linux installations use […]  Read More »

Category: Linux