|
9 | 9 |
|
10 | 10 | <para> |
11 | 11 | <application>pg_test_fsync</> is intended to give you a reasonable |
12 | | - idea of what the fastest fsync_method is on your specific system, |
| 12 | + idea of what the fastest <xref linkend="guc-wal-sync-method"> is on your |
| 13 | + specific system, |
13 | 14 | as well as supplying diagnostic information in the event of an |
14 | | - identified I/O problem. However, differences shown bytest_fsync |
| 15 | + identified I/O problem. However, differences shown bypg_test_fsync |
15 | 16 | might not make any difference in real database throughput, especially |
16 | 17 | since many database servers are not speed-limited by their transaction |
17 | 18 | logs. |
|
20 | 21 | <sect2> |
21 | 22 | <title>Usage</title> |
22 | 23 |
|
23 | | - <sect2> |
24 | | - <title><application>pg_test_fsync</> Options</title> |
| 24 | +<synopsis> |
| 25 | +pg_test_fsync [options] |
| 26 | +</synopsis> |
25 | 27 |
|
26 | 28 | <para> |
27 | | - <application>pg_test_fsync</application> accepts the following command-line arguments: |
| 29 | + <application>pg_test_fsync</application> accepts the following |
| 30 | + command-line options: |
28 | 31 |
|
29 | 32 | <variablelist> |
30 | 33 |
|
|
33 | 36 | <term><option>--filename</option></term> |
34 | 37 | <listitem> |
35 | 38 | <para> |
36 | | - Specifies the filename for test. The file should be in the |
37 | | - same file system as the <filename>pg_xlog</> directory. |
38 | | - <filename>/pg_xlog</> contains the <acronym>WAL</> files.) |
| 39 | + Specifies the filename to write test data in. |
| 40 | + This file should be in the same file system that the |
| 41 | + <filename>pg_xlog</> directory is or will be placed in. |
| 42 | + (<filename>pg_xlog</> contains the <acronym>WAL</> files.) |
39 | 43 | The default is <filename>test_fsync.out</> in the current |
40 | 44 | directory. |
41 | 45 | </para> |
|
48 | 52 | <listitem> |
49 | 53 | <para> |
50 | 54 | Specifies the number of operations per test. The more operations |
51 | | - per test, the greater the test's accuracy. The default is |
52 | | - 2000. |
| 55 | + per test, the greater the test's accuracy, but the longer it takes |
| 56 | +to run. The default is2000. |
53 | 57 | </para> |
54 | 58 | </listitem> |
55 | 59 | </varlistentry> |
|