mirror of
https://github.com/Kron4ek/Conty
synced 2024-11-16 19:50:06 +01:00
Change dwarfs compressor arguments
Better read performance, but worse compression ratio.
This commit is contained in:
parent
f9a0ad6bb8
commit
1149011f2f
3 changed files with 6 additions and 6 deletions
|
@ -28,7 +28,7 @@ script_version="1.24.2"
|
|||
# size to 0
|
||||
init_size=50000
|
||||
bash_size=1490760
|
||||
script_size=37189
|
||||
script_size=37197
|
||||
busybox_size=1161112
|
||||
utils_size=4321630
|
||||
|
||||
|
@ -237,8 +237,8 @@ dwarfs_num_workers="2"
|
|||
# These arguments are used to rebuild the image when using the self-update function
|
||||
squashfs_comp_arguments=(-b 1M -comp zstd -Xcompression-level 19)
|
||||
dwarfs_comp_arguments=(-l7 -C zstd:level=19 --metadata-compression null \
|
||||
-S 22 -B 2 --order nilsimsa:255:60000:60000 \
|
||||
--bloom-filter-size 11 -W 15 -w 3 --no-create-timestamp)
|
||||
-S 21 -B 1 --order nilsimsa:255:60000:60000 \
|
||||
-W 12 -w 4 --no-create-timestamp)
|
||||
|
||||
# Enable NVIDIA_HANDLER by default
|
||||
NVIDIA_HANDLER="${NVIDIA_HANDLER:-1}"
|
||||
|
|
|
@ -22,8 +22,8 @@ squashfs_compressor_arguments=(-b 1M -comp ${squashfs_compressor} -Xcompression-
|
|||
# Use DwarFS instead of SquashFS
|
||||
dwarfs="false"
|
||||
dwarfs_compressor_arguments=(-l7 -C zstd:level=19 --metadata-compression null \
|
||||
-S 22 -B 2 --order nilsimsa:255:60000:60000 \
|
||||
--bloom-filter-size 11 -W 15 -w 3 --no-create-timestamp)
|
||||
-S 21 -B 1 --order nilsimsa:255:60000:60000 \
|
||||
-W 12 -w 4 --no-create-timestamp)
|
||||
|
||||
# Set to true to use an existing image if it exists
|
||||
# Otherwise the script will always create a new image
|
||||
|
|
Loading…
Reference in a new issue