Update README.md

This commit is contained in:
Mark Nellemann 2024-05-17 07:54:10 +00:00
parent dae001bec4
commit 778cdf2204
1 changed files with 2 additions and 29 deletions

View File

@ -1,30 +1,3 @@
# Memory Performance Test
# Repository moved
Small tool to test memory write and read performance.
```shell
Usage: jmemperf [-hV] [-d=NUM] [-i=NUM] [-r=NUM] [-t=NUM]
Memory performance measurement tool.
-d, --data=NUM Create this much data (MB) pr. row [default: 100]
-h, --help Show this help message and exit.
-i, --iterations=NUM Iterate this many times [default: 3]
-r, --rows=NUM Create this many rows pr. table [default: 10]
-t, --tables=NUM Create this many tables [default: 4]
-V, --version Print version information and exit.
```
## Examples
Test with 8GB memory:
```shell
java -Xms10g -Xmx10g -XX:+AlwaysPreTouch -jar memstress-0.0.1-all.jar -t 8
```
Test with 100GB memory:
```shell
java -Xms128g -Xmx128g -XX:+AlwaysPreTouch -jar memstress-0.0.1-all.jar -t 100
```
## Credits
- Jens Ebbesen for improvements.
Please visit [github.com/mnellemann/jnetperf](https://github.com/mnellemann/jnetperf)