Configs, scripts, and tools for my MMTk-related performance evaluation.
git clone https://github.com/wenyuzhao/mmtk-dev.git- Run
make init-jdkonce to initialize the repo and download dacapo benchmark suite.- Note: You may want to run
make install-debian-packagesfirst. - For LXR developemnt, run
make init-jdk lxr=1 - Windiws or macOS users: Use docker by running
make init-jdk-dockerinstead ofmake init-jdk.- Then just use the
./run-jdkscript as usual. It will build and run everything inside the docker container automatically. - This is optional but still working for Linux usres. You can skip running
make install-debian-packages.
- Then just use the
- Note: You may want to run
- Run
poetry shellto launch the dev environment - Build and run OpenJDK with MMTk:
mmtk-jdk r --gc Immix --bench lusearch --heap 500M --exploded --release -n 5 --build
git clone https://github.com/wenyuzhao/mmtk-dev.git- Run
make init-v8once to initialize the repo.- Note: You may want to run
make install-debian-packagesfirst.
- Note: You may want to run
- Run
./run-v8 --gc=SemiSpace --bench=lusearch --heap=500M --exploded --release -n 5 --build- Please run
./run-v8 --helpfor all the available arguments.
- Please run
git clone https://github.com/wenyuzhao/mmtk-dev.git- Run
make init-jks-dockeronce to initialize the repo. - Run
./run-jks --target=RBaseBaseSemiSpace --bench=lusearch --heap=500M -n 5 --build- Please run
./run-jks --helpfor all the available arguments.
- Please run
- Create the following config file as
./evaluation/configs/test.yml. Please fix the commits and features fields in the file.
includes:
- ./common/common.yml
overrides:
heap_range: 3
invocations: 40
suites.dacapochopin-b00bfa9.minheap: g1
runtimes:
jdk-mmtk-master:
type: OpenJDK
release: 11
home: /$BUILDS/jdk-mmtk-master/jdk-11.0.19
commits:
mmtk-core: 1a9ba6090
mmtk-openjdk: c681325
openjdk: 91259ca9d60
jdk-mmtk-dev:
type: OpenJDK
release: 11
home: /$BUILDS/jdk-mmtk-dev/jdk-11.0.19
commits:
mmtk-core: 0febe9915
mmtk-openjdk: c681325
openjdk: 91259ca9d60
features: mmtk/some_cargo_feature
configs:
- jdk-mmtk-master|ss|common|tph
- jdk-mmtk-dev|ss|common|tph- Commit the file
- Run
./evaluation/manager.py build --config testto build the openjdk builds - Run
./evaluation/manager.py rsync --remote boar.momato transfer the builds and configs to a experiment machine. - On
boar.moma, run./evaluation/manager.py run --config test --hfac 3xto start benchmarking.- Please run
pip3 install -r requirements.txt --useron the remote machine once to install necessary python packages
- Please run