How to apply input and output stress using stress-ng

596 Views Asked by At

I have an application which sends frames from client to server using I/O bound package async, which provides single-threaded, multiplexing I/O access over sockets.

I run stress-ng cpu and memory test with 10-90 % with ten-step on the client-side. But I noticed it was not affecting the application performance. I then realised my application is just sending frames from client to server and on server frames are being processed so its I/O bound. I need to ask how to stress for this scenario. After googling I came about the below command but I am unable to use it for my scenario due to my limited knowledge and understanding. How would I stress using below command in percentage, for instance, 10%,20%,..90% for input and output bound task.

Thanks help is highly appreciated for pointing me in the right direction.

sudo stress-ng --io 10%
0

There are 0 best solutions below