From 4ebf8c7642df34ca9d823a63e938a61dfca6dba8 Mon Sep 17 00:00:00 2001 From: YAN Wenkun Date: Thu, 31 Oct 2024 05:31:53 +0800 Subject: [PATCH] Adjust compression level To compare the file size --- stage3.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stage3.sh b/stage3.sh index c9024a7..7b4c006 100644 --- a/stage3.sh +++ b/stage3.sh @@ -7,6 +7,7 @@ du -hd1 # LZMA2 is ~75% faster than LZMA, but consumes significant more RAM # Use 2140000000b as volume size just because GitHub think 2147483648b is "larger than 2GB" -"C:\Program Files\7-Zip\7z.exe" a -t7z -m0=lzma2 -mx=7 -mfb=64 -md=32m -ms=on -mf=BCJ2 -v2140000000b ComfyUI_Windows_portable_cu124.7z ComfyUI_Windows_portable +# The param "-mx=5 -mfb=32 -md=16m" is equivalent to "Normal Compression" in 7Zip GUI +"C:\Program Files\7-Zip\7z.exe" a -t7z -m0=lzma2 -mx=5 -mfb=32 -md=16m -ms=on -mf=BCJ2 -v2140000000b ComfyUI_Windows_portable_cu124.7z ComfyUI_Windows_portable ls -lahF