Anyone able to replicate this? With XFS on an NVMe device I only get 500 inserts per second. I wonder if the 15000 figure is attributable to the scaleway virtual server SCSI device ignoring syncs.
By default, I think it'd sync only on checkpoints, and a checkpoint would happen for every 1000 pages of WAL. 1000 is the default value of the wal_autocheckpoint pragma.
I am very surprised that you cannot reproduce more than 500 inserts/second on an NVMe drive with the same settings. I didn't try running this benchmark, as I'm not familiar with rust, but I've achieved ~15k/sec write transactions with python bindings under similar settings.
$ cargo run --release -- -c 100 -i 100000
...
Inserting 100000 records. concurrency: 100
Time elapsed to insert 100000 records: 7.939734809s (12594.88 inserts/s)Did you do this?