https://github.com/epickrram/journalling-benchmark
Microbenchmark for comparing the cost of seek/write vs pwrite from Java
https://github.com/epickrram/journalling-benchmark
Last synced: about 2 months ago
JSON representation
Microbenchmark for comparing the cost of seek/write vs pwrite from Java
- Host: GitHub
- URL: https://github.com/epickrram/journalling-benchmark
- Owner: epickrram
- License: apache-2.0
- Created: 2015-06-05T07:25:22.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-02T13:19:18.000Z (over 9 years ago)
- Last Synced: 2023-04-05T22:09:13.370Z (about 2 years ago)
- Language: Java
- Homepage: http://epickrram.blogspot.co.uk/2015/07/seek-write-vs-pwrite.html
- Size: 78.1 KB
- Stars: 8
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# journalling-benchmark
Usage
=====1. clone this repository
2. run ./gradlew bundleJar
3. run java -jar ./build/libs/journalling-benchmark-all-0.0.3.jar -hParameters
==========* -j - number of journals to write
* -d - target directory for journals
* -i - measurement iterations
* -s - file size (bytes)
* -c - cpu affinity for journaller thread (default none)
* -f - output format (SHORT|LONG|DETAIL)
* -w - number of times to write the same block
* -t - journaller type
* seek: RandomAccessFile seek/write
* pwrite: FileChannel write