-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
I am trying to stress the memory without affecting CPU usage.
In the Chao-mesh document, it says:
To avoid the high CPU load caused by the read and write pressure from stress-ng, Chaos Mesh uses memStress to simulate memory stress. This is because memStress simulates memory stress by consuming actual memory instead of applying the read and write pressure to memory.
https://chaos-mesh.org/docs/simulate-heavy-stress-on-kubernetes/#cpustressor
But I see it doesn't do what it should do. The CPU usage is high when stressing memory.
The command I used
memStress --size 100MiB --workers 1
Screenshot: You can see that the CPU usage spike from 5% to 45% of a CPU
Q: Is there any way to reduce the CPU usage while stressing memory?
Thank a lot!
Metadata
Metadata
Assignees
Labels
No labels