Skip to content

Latest commit

 

History

History
52 lines (47 loc) · 2.17 KB

options.md

File metadata and controls

52 lines (47 loc) · 2.17 KB

bees Command Line Options

--thread-count COUNT-c Specify maximum number of worker threads for scanning. Overrides --thread-factor (-C) and default/autodetected values.
--thread-factor FACTOR-C Specify ratio of worker threads to CPU cores. Overridden by --thread-count (-c). Default is 1.0, i.e. 1 worker thread per detected CPU. Use values below 1.0 to leave some cores idle, or above 1.0 if there are more disks than CPUs in the filesystem.
--loadavg-target LOADAVG-g Specify load average target for dynamic worker threads. Threads will be started or stopped subject to the upper limit imposed by thread-factor, thread-min and thread-count until the load average is within +/- 0.5 of LOADAVG.
--thread-min COUNT-G Specify minimum number of worker threads for scanning. Ignored unless -g option is used to specify a target load.
--scan-mode MODE-m Specify extent scanning algorithm. Default mode is 0. EXPERIMENTAL feature that may go away.
  • Mode 0: scan extents in ascending order of (inode, subvol, offset). Keeps shared extents between snapshots together. Reads files sequentially. Minimizes temporary space usage.
  • Mode 1: scan extents from all subvols in parallel. Good performance on non-spinning media when subvols are unrelated.
  • Mode 2: scan all extents from one subvol at a time. Good sequential read performance for spinning media. Maximizes temporary space usage.
--timestamps-t Enable timestamps in log output.
--no-timestamps-T Disable timestamps in log output.
--absolute-paths-p Paths in log output will be absolute.
--strip-paths-P Paths in log output will have the working directory at bees startup stripped.
--verbose-v Set log verbosity (0 = no output, 8 = all output, default 8).