mirror of
https://github.com/postgres/postgres.git
synced 2026-06-05 15:22:16 -04:00
677b06ca46
Adjusted patch by Josh Berkus
21 lines
781 B
Plaintext
21 lines
781 B
Plaintext
test_fsync
|
|
==========
|
|
|
|
This program tests fsync. The tests are described as part of the program output.
|
|
|
|
Usage: test_fsync [-f filename] [loops]
|
|
|
|
test_fsync is intended to give you a reasonable idea of what the fastest
|
|
fsync_method is on your specific system, as well as supplying diagnostic
|
|
information in the event of an identified I/O problem. However,
|
|
differences shown by test_fsync might not make any difference in real
|
|
database throughput, especially since many database servers are not
|
|
speed-limited by their transaction logs.
|
|
|
|
The output filename defaults to test_fsync.out in the current directory.
|
|
test_fsync should be run in the same filesystem as your transaction log
|
|
directory (pg_xlog).
|
|
|
|
Loops default to 2000. Increase this to get more accurate measurements.
|
|
|