Go to file
Mark Nellemann dae001bec4
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Cleanup and update build.
2023-06-29 21:02:27 +02:00
gradle/wrapper first commit 2023-06-27 17:45:15 +02:00
src Cleanup and update build. 2023-06-29 21:02:27 +02:00
.drone.yml Cleanup and update build. 2023-06-29 21:02:27 +02:00
.gitattributes first commit 2023-06-27 17:45:15 +02:00
.gitignore first commit 2023-06-27 17:45:15 +02:00
build.gradle Cleanup and update build. 2023-06-29 21:02:27 +02:00
gradle.properties Rename package and app. 2023-06-29 20:40:27 +02:00
gradlew first commit 2023-06-27 17:45:15 +02:00
gradlew.bat first commit 2023-06-27 17:45:15 +02:00
LICENSE Cleanup and update build. 2023-06-29 21:02:27 +02:00
README.md Cleanup and update build. 2023-06-29 21:02:27 +02:00
settings.gradle Rename package and app. 2023-06-29 20:40:27 +02:00

Memory Performance Test

Small tool to test memory write and read performance.

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:

java -Xms10g -Xmx10g -XX:+AlwaysPreTouch -jar memstress-0.0.1-all.jar -t 8

Test with 100GB memory:

java -Xms128g -Xmx128g -XX:+AlwaysPreTouch -jar memstress-0.0.1-all.jar -t 100

Credits

  • Jens Ebbesen for improvements.