Search Ctrl K
Home / Tools
THE FEUTEX TOOLKIT

LSM Compaction Space Budget

Budget temporary output alongside selected input segments during compaction.

Computer Systems workspace● Runs in your browser
01 Your input
02 Your result
View or copy raw result data
FormulaPeak allocated space = existing+input*keep/100; Allocation after input removal = existing-input+input*keep/100; Peak remaining capacity = capacity-existing-input*keep/100

Made for real tasks

  • Budget temporary output alongside selected input segments during compaction.
Explore step-by-step workflows →

Worked example

Inputs

Current disk use
800 GB
Compaction input
200 GB
Surviving data share
70 %
Disk capacity
1200 GB

Expected results

Peak allocated space
940 GB
Allocation after input removal
740 GB
Peak remaining capacity
260 GB

Load the example in the workspace to reproduce these results. Display rounding does not change the underlying calculation.

How to use this tool

  1. Enter current disk use, compaction input, surviving data share, disk capacity in the displayed units.
  2. Calculate the scenario, then compare it with measurements before changing a system.

Try this example

{
  "existing": 800,
  "input": 200,
  "keep": 70,
  "capacity": 1200
}

Accuracy and scope

Single compaction, original inputs retained until commit; excludes concurrent writes and extra compression workspace.

Is my data uploaded?

This tool runs locally in your browser. Input and output are not sent to a processing server. Copy or download your result before leaving the page.