STXXL_TOOL(1) | General Commands Manual | STXXL_TOOL(1) |
stxxl_tool - STXXL scratch file administration, and performance testing tool
stxxl_tool <subtool> ...
The stxxl_tool is an umbrella program that houses several sub-tools for STXXL relating to (e.g.) scratch file manipulation and benchmarking. The behaviour of each sub-tool is given below.
Size arguments will accept a string like "343KB" or "44 GiB" as their input.
Print out information about the build system and which optional modules where compiled into STXXL.
Pre-create large files to keep file system allocation time out to measurements.
Benchmark the disks configured by the standard .stxxl disk configuration files mechanism. Blocks of 8 MiB are written and/or read in sequence using the block manager. The batch size describes how many blocks are written/read in one batch. The are taken from block_manager using given the specified allocation strategy. If size == 0, then writing/reading operation are done until an error occurs.
Run benchmark tests of different sorting methods in STXXL. size is the amount of data to sort, in GiB
Benchmark _random_ block access on the disks configured by the standard .stxxl disk configuration files mechanism. Available block sizes are power of two from 4 KiB to 128 MiB. A set of three operations can be performed: sequential initialization, random reading and random writing.
Parameters:
span Span of external memory to write/read to (e.g. 10GiB).
block_size Size of blocks to randomly write/read (default: 8MiB).
size Amount of data to operate on (e.g. 2GiB), default: whole span.
i|r|w Operations: [i]nitialize, [r]ead, and/or [w]rite (default: all).
alloc Block allocation strategy: RC, SR, FR, striping (default: RC).
Benchmark the priority queue implementation using a sequence of operations. The PQ contains pairs of 32- or 64-bit integers, or a 24 byte struct. The operation sequence is either a simple fill/delete cycle or fill/intermixed inserts/deletes. Because the memory parameters of the PQ must be set a compile-time, the benchmark provides only three PQ sizes: for 256 MiB, 1 GiB and 8 GiB of RAM, with the maximum number of items set accordingly.
Allocate some memory and mlock() it to consume physical memory. Needs to run as root to block more than 64 KiB in default settings.
Show mallinfo statistics.
stxxl is written by many authors, and can be found in the AUTHORS section of the documentation package, or on the homepage
libstxxl Project Home : http://stxxl.sourceforge.net
This manual page was written by D Haley <mycae gmx com>, for the Debian project (and may be used by others).
December 16, 2013 |