Zygo / bees

Best-Effort Extent-Same, a btrfs dedupe agent
GNU General Public License v3.0
654 stars 55 forks source link

Scan mode 2 (sequential) should go away #92

Open Zygo opened 5 years ago

Zygo commented 5 years ago

Here is how the current scan modes perform:

00-all-df-summary

-m2 has short bursts where the peak dedupe rate is higher than the other modes; however, it also has long periods where the dedupe rate is lower. The overall dedupe time is higher, and some space is never recovered, compared to the other two modes.

Unless someone raises a strong objection (preferably backed by experimental data from a use case where -m2 is better), -m2 should no longer be maintained. -m2 may become an alias for -m1 (independent scan) or it may cease to be accepted.

kakra commented 5 years ago

I'd prefer the alias way with an informational deprecation message.