...
One of the configuration aims is to find minimum block size when random and sequential writes show the same throughput.
Data write time was measured with different settings on MacBook.
There was 1Gb direct memory allocated and filled with random data. It was logically split into 8 partitions and save into different files. There were different blocks used (16kb, 32 kb, ...16Mb) to run in different number of threads (1, 2, 4, 8). The overall time required to fully write data to disk was measured. The following diagram was obtained.