Add option to disable multiple overwrites of the same journal sector

This makes sense for some SSDs like Intel D3-4510 because they don't
like overwrites of the same sector:

$ fio -direct=1 -rw=write -bs=4k -size=4k -loops=100000 -iodepth=1
  write: IOPS=3142, BW=12.3MiB/s (12.9MB/s)(97.9MiB/7977msec)

$ fio -direct=1 -rw=write -bs=4k -size=128k -loops=100000 -iodepth=1
  write: IOPS=20.8k, BW=81.4MiB/s (85.3MB/s)(543MiB/6675msec)
This commit is contained in:
Vitaliy Filippov
2020-09-13 00:37:39 +03:00
parent 8f9f438e25
commit de6919b02b
4 changed files with 12 additions and 2 deletions
+1
View File
@@ -81,6 +81,7 @@ class Mon
inmemory_metadata,
inmemory_journal,
journal_sector_buffer_count,
journal_no_same_sector_overwrites,
}, */
global: {},
/* node_placement: {