jmemperf/README.md

42 lines
1.1 KiB
Markdown
Raw Normal View History

2023-06-28 05:29:44 +00:00
# Memory Performance Test
2023-06-28 08:40:45 +00:00
2023-06-28 05:29:44 +00:00
## Examples
```shell
java -Xms128g -Xmx128g -XX:+UseLargePages -XX:+AlwaysPreTouch \
2023-06-28 08:40:45 +00:00
-XX:-UseParallelGC -XX:MaxGCPauseMillis=500 -Xgcthreads3 \
-jar memstress-0.0.1-all.jar -t 96
```
```shell
java -Xms144g -Xmx144g -XX:+UseLargePages -XX:+AlwaysPreTouch \
2023-06-28 05:29:44 +00:00
-XX:-UseParallelGC -XX:MaxGCPauseMillis=500 -Xgcthreads3 \
-jar memstress-0.0.1-all.jar -t 128
```
2023-06-28 08:40:45 +00:00
```shell
java -Xms160g -Xmx160g -XX:+UseLargePages -XX:+AlwaysPreTouch \
-XX:-UseParallelGC -XX:MaxGCPauseMillis=500 -Xgcthreads3 \
-jar memstress-0.0.1-all.jar -t 144
```
```shell
java -Xms192g -Xmx192g -XX:+UseLargePages -XX:+AlwaysPreTouch \
-XX:-UseParallelGC -XX:MaxGCPauseMillis=500 -Xgcthreads3 \
-jar memstress-0.0.1-all.jar -t 160
```
```shell
java -Xms240g -Xmx240g -XX:+UseLargePages -XX:+AlwaysPreTouch \
-XX:-UseParallelGC -XX:MaxGCPauseMillis=500 -Xgcthreads3 \
-jar memstress-0.0.1-all.jar -t 192
```
```shell
java -Xms256g -Xmx256g -XX:+UseLargePages -XX:+AlwaysPreTouch \
-XX:-UseParallelGC -XX:MaxGCPauseMillis=500 -Xgcthreads3 \
-jar memstress-0.0.1-all.jar -t 240
```