Skip to content

Add speed profile 4 - #777

Merged
PartialVolume merged 2 commits into
martijnvanbrummelen:masterfrom
PartialVolume:add-speed-profile-4
Jul 15, 2026
Merged

Add speed profile 4#777
PartialVolume merged 2 commits into
martijnvanbrummelen:masterfrom
PartialVolume:add-speed-profile-4

Conversation

@PartialVolume

Copy link
Copy Markdown
Collaborator

Tidy up of edge cases for speed profile graph

For short duration wipes < 10 seconds that complete correctly
just draw a flat line that represents average duration. This
is really to take care of loop devices.

Also validate the dataset and check the data is reasonable, i.e

= 0.0 and < 150000000000.0 (150GB) Currently fastest burst
NVMe drives are 15GB/s so have allowed 10 times current speeds.

If drive speeds should ever get close to 150GB/s then MAX_LIMIT
will need to be increased.

Update user notes on speed profile page

Fixes a bug that happens when a user aborts a wipe, the graph would become corrupted and the PDF would grow from ~600K to 30MB

For short duration wipes < 10 seconds that complete correctly
just draw a flat line that represents average duration. This
is really to take care of loop devices.

Also validate the dataset and check the data is reasonable, i.e
>= 0.0 and < 150000000000.0 (150GB) Currently fastest burst
NVMe drives are 15GB/s so have allowed 10 times current speeds.

If drive speeds should ever get close to 150GB/s then MAX_LIMIT
will need to be increased.
@PartialVolume
PartialVolume merged commit c7f54f2 into martijnvanbrummelen:master Jul 15, 2026
10 checks passed
@PartialVolume
PartialVolume deleted the add-speed-profile-4 branch July 15, 2026 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant