Skip to content

Repository files navigation

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.

About

Small test utility made to measure write and read times of large amounts of memory. Gives an indication of how fast the processor can move data to memory, which I use for comparison of servers.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages