1TKRZW_FILE_PERF(1) User Commands TKRZW_FILE_PERF(1)
2
3
4
6 tkrzw_file_perf - manual page for tkrzw_file_perf 1.0.27
7
9 tkrzw_file_perf: Performance checker of file implementations of Tkrzw
10
11 Usage:
12 tkrzw_file_perf sequence [options] path
13
14 : Checks writing/reading performance in sequence.
15
16 tkrzw_file_perf wicked [options] path
17
18 : Checks consistency with various operations.
19
20 Common options:
21 --file impl : The name of a file implementation: std, mmap-para,
22 mmap-atom, pos-para, pos-atom. (default: mmap-para)
23
24 --iter num : The number of iterations. (default: 10000)
25
26 --size num : The size of each record. (default: 100)
27
28 --threads num : The number of threads. (default: 1)
29
30 --random_seed num : The random seed or nagative for real RNG. (default:
31 0)
32
33 --alloc_init num : The initial allocation size. (default: 1048576)
34
35 --alloc_inc num : The allocation increment factor. (default: 2.0)
36
37 --block_size num : The block size of the positional access file. (de‐
38 fault: 1)
39
40 --head_buffer num : The head buffer size of the positional access file.
41 (default: 0)
42
43 --direct_io : Enables the direct I/O option of the positional access
44 file.
45
46 --sync_io : Enables the synchronous I/O option of the positional access
47 file.
48
49 --padding : Enables padding at the end of the file.
50
51 --pagecache : Enables the mini page cache in the process.
52
53 Options for the sequence subcommand:
54 --random : Uses random offsets rather than pre-defined ones.
55
56 --append : Uses appending offsets rather than pre-defined ones.
57
58 --write_only : Does only writing.
59
60 --read_only : Does only reading.
61
62
63
64tkrzw_file_perf 1.0.27 July 2023 TKRZW_FILE_PERF(1)