|
1 |
| -src/tools/fsync/README |
2 |
| - |
3 |
| -fsync |
4 |
| -===== |
| 1 | +test_fsync |
| 2 | +========== |
5 | 3 |
|
6 | 4 | This program tests fsync. The tests are described as part of the program output.
|
7 | 5 |
|
8 | 6 | Usage:test_fsync [-f filename] [loops]
|
| 7 | + |
| 8 | +test_fsync is intended to give you a reasonable idea of what the fastest |
| 9 | +fsync_method is on your specific system, as well as supplying diagnostic |
| 10 | +information in the event of an identified I/O problem. However, |
| 11 | +differences shown by test_fsync might not make any difference in real |
| 12 | +database throughput, especially since many database servers are not |
| 13 | +speed-limited by their transaction logs. |
| 14 | + |
| 15 | +The output filename defaults to test_fsync.out in the current directory. |
| 16 | +test_fsync should be run in the same filesystem as your transaction log |
| 17 | +directory (pg_xlog). |
| 18 | + |
| 19 | +Loops default to 2000. Increase this to get more accurate measurements. |
9 | 20 |
|
10 |
| -Loops defaults to 5000. The default output file is /var/tmp/test_fsync.out. |
11 |
| -Consider that /tmp or /var/tmp might be memory-based file systems. |
|