Welcome to stress-ng Discussions! #208
Replies: 13 comments 23 replies
-
|
Hello, thanks for the software. Legend said if kernel is build with (nothing to do with stress-ng, thought it would be interesting to share) |
Beta Was this translation helpful? Give feedback.
-
|
Hi Colin, command I used: |
Beta Was this translation helpful? Give feedback.
-
|
Hello. I some questions about the stress-ng-cyclic stressor. When the test finishes, you get some output that looks like this: My question is about the "10000 samples". I know this refer to the size of the data set used to generate the statistics, however, why is it 10000 and can the sample size be changed? I wasn't able to find anything in the options. |
Beta Was this translation helpful? Give feedback.
-
|
Question about cyclic stressor on Ubuntu 22.04. Previously I tried out the cyclic stressor under Ubuntu 20.04. And this ran fine. But now when I run this same command on 22.04, I get the following error: stress-ng: debug: [12809] invoked with 'stress-ng --cyclic 1 --cyclic-dist 250 --cyclic-method clock_ns -t 60s --log-file cyclic-regular.log --verbose' by user 1000 I did some research into what CAP_SYS_NICe and SCHED_FIFO are and how to set them, but it seems there's a further problem because stress-ng was installed via a snap, meaning the stress-ng binary is inside a read-only filesystem. Am I missing something here, or do I need to recompile stress-ng with these already set? (I'm still having trouble understanding the setcap program because its manpage is terrible.) |
Beta Was this translation helpful? Give feedback.
-
|
请问吧,这些工具是go写百度和谷歌查询到的,里面do_sync_write、vfs_write、vfs_write、sys_write、generic_file_aio_write、代表啥意思的 |
Beta Was this translation helpful? Give feedback.
-
|
Hi Colin, Thanks for the Software. I would like to use stress-ng software for the arm64 android device. I followed the steps for cross-compilation but it is always throwing an error. Target Machine - Linux localhost 4.9.112 #20 SMP PREEMPT Thu Dec 22 05:43:04 EST 2022 aarch64 Can you please help me out with the android (aarch64 ) setup? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, is there a description of each of the stressors, and how they work somewhere? I found the manual page but they have a very small description. I want to understand the mechanics of the stressors, especially those which put stress into the cpu cache. So between the code and the man page is there a place from where I could get an intermediate level explanation of how the stressors work under the hood? |
Beta Was this translation helpful? Give feedback.
-
|
Hello, thanks for the software. Is there a version of stress-ng available for QNX? I didn't see any mention of a version for QNX in the documentation.Many thanks. |
Beta Was this translation helpful? Give feedback.
-
|
Hello Colin and community! First of all, thank you for this great software! Recently I have faced an unexpected behavior in the version of My tool that spawns Therefore, is there any way/flag to close all process when Thank you very much in advance! |
Beta Was this translation helpful? Give feedback.
-
|
Hi Colin and Community! I had a question about the --taskset option. From how I understood the code, when I supply a list of CPU's to the --taskset option, it will set the cpu affinity of all stressors to that list of CPU's. I need to test the interrupt latency on each CPU, so I need the capability to lock each individual cyclic stressor to a single CPU. Is there functionality currently in stress-ng to do this that I have missed? Are there plans to implement this sort of option? Note: I have already considered running stress-ng as well as cyclic-test at the same time to measure interrupt latency, but I was hoping to use the built in cyclic stressor of stress-ng. |
Beta Was this translation helpful? Give feedback.
-
|
Hi Colin and Community! I got the message "stress-ng: info: [23832] stressor terminated with unexpected signal 11 'SIGSEGV'" when run stress-ng tool and then stress-ng terminated. My question is "Why this message not show stress-ng::error or stress-ng::warning instead of stress-ng:: info ? |
Beta Was this translation helpful? Give feedback.
-
|
Hi Colin and others, I discovered stress-ng recently when I was looking for stress testing an Intel NUC to see if there are hardware or hardware/kernel issues. Impressive and I must say overwhelming. The NUC I want to test is running proxmox (so Debian). I've seen notions about risks of running stress-ng. I was wondering how stress-ng can seriously harm my system. I was also wondering what a good stress test was to run before deciding I can run Proxmox VE (or BS) on it. I installed stress-ng 0.15.06 and ran a simple What I would like to know is if stress-ng can seriously damage my system's hardware and how I can prevent that while still testing for stability. So far I have been running as an ordinary users, created for this test. I haven't run as root. I got a few fails, one looked potentially serious (one was clearly because I am not running as root), but it is hard for me to interpret: |
Beta Was this translation helpful? Give feedback.
-
|
If you have intel kit and running thermald then hopefully that daemon will prevent any thermal overruns. If you do get a thermal overrun that could damage a system then intel systems will poweroff automatically, so the risk is quite low. Running with --seq 1 is fine, that's just one instance of each stressor, so with multi cpu or thread systems it won't overheat. Running with --seq 0 for many hours could lead to a rather hot system, but thermald should prevent anything untoward happening. Some stressors require root privilege to run, so these are skipped, that's OK and expected behaviour. The rdfwd64 cache line error is more concerning. I suggest running with the latest stress-ng as this contains a lot more bug fixes since December 2025. Apologies for not replying sooner. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
Beta Was this translation helpful? Give feedback.
All reactions