tkrzw_file_perf - Man Page

manual page for tkrzw_file_perf 1.0.31

Description

tkrzw_file_perf: Performance checker of file implementations of Tkrzw

Usage

tkrzw_file_perf sequence [options] path

: Checks writing/reading performance in sequence.

tkrzw_file_perf wicked [options] path

: Checks consistency with various operations.

Common options

--file impl : The name of a file implementation: std, mmap-para, mmap-atom, pos-para, pos-atom. (default: mmap-para)

--iter num : The number of iterations. (default: 10000)

--size num : The size of each record. (default: 100)

--threads num : The number of threads. (default: 1)

--random_seed num : The random seed or nagative for real RNG. (default: 0)

--alloc_init num : The initial allocation size. (default: 1048576)

--alloc_inc num : The allocation increment factor. (default: 2.0)

--block_size num : The block size of the positional access file. (default: 1)

--head_buffer num : The head buffer size of the positional access file. (default: 0)

--direct_io : Enables the direct I/O option of the positional access file.

--sync_io : Enables the synchronous I/O option of the positional access file.

--padding : Enables padding at the end of the file.

--pagecache : Enables the mini page cache in the process.

Options for the sequence subcommand

--random : Uses random offsets rather than pre-defined ones.

--append : Uses appending offsets rather than pre-defined ones.

--write_only : Does only writing.

--read_only : Does only reading.

Info

July 2024 tkrzw_file_perf 1.0.31