Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There was 1Gb direct memory allocated and filled with random data. It was logically split into 8 partitions and save saved into different files. There were different blocks used (16kb, 32 kb, ...16Mb) to run for writing in different number of threads (1, 2, 4, 8). The overall time required to fully write data to disk was measured. For each point there were 20 runs executed and average taken. The following diagram was obtained(time in milliseconds) was taken. After every run files were deleted and System.gc() was executed and 10 second pause was taken. Got the following diagram.

Some conclusions for this run:

...