Closed CrashLaker closed 6 years ago
These stressors require development libraries to be installed to enable them to work. The names of these libraries depend on the Linus distribution being used. For example, if you refer to the debian/control "Build-Depends" entry you will see the names of the libraries required to build stress-on on a Debian system. You will need the equivalent libraries installed on your system. Once these are installed, make clean and rebuild and stress-ng will be able to autodetect these in the build process.
Try and install the following:
hi i am a beginner to stress-ng and want to use it to stress out my linux system to test performance. I ran below:
and got output as : stress-ng: error: [14365] No stress workers.
Can you please help me to understand this.
You also need to need to specify one or more stressors, e.g. for one cpu stressor one would use: stress-ng --cpu 1
for 1 cpu in aggressive mode: stress-ng --cpu 1 --aggressive
See the EXAMPLES section in the manual:
man stress-ng
or see https://kernel.ubuntu.com/~cking/stress-ng/stress-ng.pdf
Thanks colin. I have few more questions:
Hi ColinIanKing,
I am planned to run the stress-ng methods in Ubuntu, the methods are like int8 and int16 and other methods, I have given the command like this: stress-ng --cpu-method int8
But I've seen the error like this: stress-ng: info: [1912] defaulting to a 86400 second run per stressor stress-ng: error: [1912] No stress workers invoked
So How can i overcome this on my ubuntu machine? Thanks in Advance.
-Vasu
Hi, run it as follows:
stress-ng --cpu 0 --cpu-method int8
specifying --cpu 0 will make it run the cpu stressor on all of your available CPUs, or you can specify the number of CPUs, for example run 2 instances in parallel:
stress-ng --cpu 2 --cpu-method int8
Thanks ColinIanKing for your quick reply, and above command i used just now and above error is not showing now.
Thanks, -Vasu
Hi ColinIanKing,
I requesting your help on Dynamic Frequency Scaling test, This test will perform the controlling cpu load to switch between different frequency modes of operation. Would please help me on pointing the specific file or specific function that will do this task.
Thanks in Advance. BR, Vasu.
Can someone help? I have below error when i run stress-ng command on SLE15 SP4
mymachine:~ # stress-ng stress-ng: info: [137602] defaulting to a 1 day, 0 secs run per stressor stress-ng: error: [137602] No stress workers invoked
Hi all.
I'm trying to run this on a CentOS 7.5 system.
Downloaded and compiled version 0.09.39 but the command is failing with the following log:
stress-ng --cpu 4 --io 2 --vm 1 --vm-bytes 1G --timeout 60s --metrics-brief