CmdID / Commands
pg_test_fsync
Determine the fastest wal_sync_method on your system. tldr-pages
On several platforms
Run the default fsync benchmark (5 seconds)
Specify a custom test duration
pg_test_fsync --secs-per-test secondsIdentify
Use a specific filename (it must be in same filesystem that the pg_wal directory is or will be placed in)
pg_test_fsync --filename path/to/fileIdentify