storage_benchmarks

Module io_benchmarks

Source

Structs§

  • A benchmark that measures how long random pread calls take to a file that should not already be cached in memory.
  • A benchmark that measures how long random pread calls take to a file that should already be cached in memory.
  • A benchmark that measures how long read calls take to a file that should not already be cached in memory.
  • A benchmark that measures how long read calls take to a file that should already be cached in memory.
  • A benchmark that measures how long pread calls take to a sparse file that should not already be cached in memory. The file’s sparseness is designed to defeat the gains of readahead without making an extremely large file, but will also result in testing access to many small extents.
  • A benchmark that measures how long random pwrite calls take to a new file.
  • A benchmark that measures how long random pwrite calls take when overwriting a file that should already be in memory.
  • A benchmark that measures how long write calls take to a new file.
  • A benchmark that measures how long ’writeandfsync` calls take to a new file.
  • A benchmark that measures how long write and fsync calls take when overwriting a file that should already be in memory.
  • A benchmark that measures how long write calls take when overwriting a file that should already be in memory.