MCPcopy Create free account
hub / github.com/Zygo/bees

github.com/Zygo/bees @v0.11

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.11 ↗ · + Follow
988 symbols 2,467 edges 75 files 46 documented · 5% updated 2mo ago★ 991150 open issues

Browse by type

Functions 817 Types & classes 171
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

BEES

Best-Effort Extent-Same, a btrfs deduplication agent.

About bees

bees is a block-oriented userspace deduplication agent designed to scale up to large btrfs filesystems. It is an offline dedupe combined with an incremental data scan capability to minimize time data spends on disk from write to dedupe.

Strengths

  • Space-efficient hash table - can use as little as 1 GB hash table per 10 TB unique data (0.1GB/TB)
  • Daemon mode - incrementally dedupes new data as it appears
  • Largest extents first - recover more free space during fixed maintenance windows
  • Works with btrfs compression - dedupe any combination of compressed and uncompressed files
  • Whole-filesystem dedupe - scans data only once, even with snapshots and reflinks
  • Persistent hash table for rapid restart after shutdown
  • Constant hash table size - no increased RAM usage if data set becomes larger
  • Works on live data - no scheduled downtime required
  • Automatic self-throttling - reduces system load
  • btrfs support - recovers more free space from btrfs than naive dedupers

Weaknesses

Installation and Usage

Recommended Reading

More Information

Bug Reports and Contributions

Email bug reports and patches to Zygo Blaxell bees@furryterror.org.

You can also use Github:

    https://github.com/Zygo/bees

Copyright & License

Copyright 2015-2025 Zygo Blaxell bees@furryterror.org.

GPL (version 3 or later).

Core symbols most depended-on inside this repo

Shape

Method 610
Function 207
Class 168
Enum 3

Languages

C++100%

Modules by API surface

src/bees-roots.cc92 symbols
src/bees.h63 symbols
lib/btrfs-tree.cc61 symbols
lib/task.cc54 symbols
lib/fs.cc53 symbols
lib/fd.cc48 symbols
src/bees.cc38 symbols
src/bees-context.cc37 symbols
lib/time.cc35 symbols
src/bees-types.cc29 symbols
test/fd.cc28 symbols
src/bees-hash.cc28 symbols

For agents

$ claude mcp add bees \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page