Skip to content

epickrram/journalling-benchmark

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

journalling-benchmark

Usage

  1. clone this repository
  2. run ./gradlew bundleJar
  3. run java -jar ./build/libs/journalling-benchmark-all-0.0.3.jar -h

Parameters

  • -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

About

Microbenchmark for comparing the cost of seek/write vs pwrite from Java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published