Comments (5)
Hi there,
Stress-ng tries to determine the cache size from information provided by the available kernel interfaces. Some systems don't provide this information so stress-ng cannot determine this. One needs to look this up manually using the processor details and provide it via the --cache-size option, for example:
stress-ng --cache 0 --cache-size 32K
Hope that helps.
from stress-ng.
Great, thanks!
I check, and see option of l1-cachesize
Stress-ng --cache 0 --l1cache-size 128K -t 1m
But I could not find l2cache-size. stress-ng --cache 0 --l2cache-size 128K -t 2m
stress-ng: unrecognized option '--l2cache-size'
Check the source code, it has only stress-l1cache.c, not l2.
Is there cmd to dump cache info such as calling stress_get_all_cpu_cache_details?
from stress-ng.
The --l1-cachesize option applies to just the l1cache stressor which is entirely different from the cache stressor.
use: stress-ng --cache 0 --cache-size 128K -t 1m
The cache stressor performs some pathologically awful read/write patterns and for x86 processors can exercise a wide range of cache related CPU operations. The l1cache stressor is designed to just exercise cache evictions and is a different cache stressor use case to the cache stressor.
from stress-ng.
from stress-ng.
Yes, as long as you know the ARM processor cache size. Some Linux ARM systems provide cache information in their device tree and this can be presented to user space programs, however, some don't, such as your device, in which case you need to supply the cache size to the stress-ng cache stressor.
from stress-ng.
Related Issues (20)
- cpu online/offline returns write failed HOT 5
- Is it possible to test the read-only filesystem? HOT 1
- stress-ng (v0.13.12) is failing for ubuntu22.04 HOT 1
- how could I build a static stress-ng for my android on a new ubuntu22.04 system? HOT 2
- vma stressors are still running after the test
- [Feature]: Is there a support plan for GPU stress testing for Apple Silicon? HOT 2
- Static x dynamic linking HOT 4
- syscall_shellsort_size_t() is not a sorting function HOT 5
- [i586] verify-elf: ERROR: ./usr/bin/stress-ng: uses non-LFS functions: __ppoll_chk HOT 11
- waitcpu test is a bit flaky on some cloud instances HOT 2
- Execution correctness checks? HOT 1
- stress-ng --io-uring "memory leak" HOT 4
- Request: reorganize the repo so more files are in a subfolder so that the Git page is less onerous to scroll through HOT 2
- sigsegv test failed with Ubuntu T-3.13 HOT 3
- dev test will hang with "task blocked for more than 120 seconds" on Ubuntu T-3.13 HOT 4
- ARM64 Cross Compile Linker Error - implicit pthreads dependency in librt HOT 2
- No stress workers invoked HOT 1
- how to increase cache miss HOT 3
- New version stress-ng, most result of cpu-method test is lower than old version stress-ng HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stress-ng.