1TKRZW_FILE_PERF(1) User Commands TKRZW_FILE_PERF(1)
2
3
4
6 tkrzw_file_perf - manual page for tkrzw_file_perf 0.9.16
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 --alloc_init num : The initial allocation size. (default: 1048576)
31
32 --alloc_inc num : The allocation increment factor. (default: 2.0)
33
34 --lock_memory num : The size to lock the memory of the beginning re‐
35 gion. (default: 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 Options for the sequence subcommand:
50 --random : Uses random offsets rather than pre-defined ones.
51
52 --append : Uses appending offsets rather than pre-defined ones.
53
54 --write_only : Does only writing.
55
56 --read_only : Does only reading.
57
58
59
60tkrzw_file_perf 0.9.16 May 2021 TKRZW_FILE_PERF(1)