Closed MicLieg closed 4 months ago
To improve this, a new setting for the backupmode="fast" / "slow"
could be added in the _default.cfg
file to configure whether the slower, resource-saving or the faster backup mode should be used; which can easily cause 100% CPU utilisation on all cores.
Looks good to me.
Description
This pull request changes the creation of a backup to use
pigz
to reduce compression times by parallelizing compression. To do thatpigz
was added to the dependencies.Backup times on i7-13700K bare metal server
Default Backup
Small Minecraft Server (117 MB) took ~ 5 seconds
Big Minecraft Server (18 GB) took ~ 285 seconds (4 minutes 45 seconds)
Parallel Backup
Small Minecraft Server (117 MB) took ~ 3 seconds
Big Minecraft Server (18 GB) took ~ 23 seconds
Fixes #3422
Type of change
Checklist
PR will not be merged until all steps are complete.
develop
branch as its base.Documentation
If documentation does need updating either update it by creating a PR (preferred) or request a documentation update.
Thank you for your Pull Request!