- Switch to threaded zstd compression with a pool of 8 threads

new patch: zstdthreaded.diff

OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=592
This commit is contained in:
Michael Schröder 2021-10-15 07:44:17 +00:00 committed by Git OBS Bridge
parent 8f9aecea69
commit b3fdb49a44
3 changed files with 18 additions and 1 deletions

View File

@ -3,6 +3,8 @@ Thu Oct 14 18:16:22 CEST 2021 - mls@suse.de
- Add support for using a thread pool for threaded zstd compression - Add support for using a thread pool for threaded zstd compression
new patch: zstdpool.diff new patch: zstdpool.diff
- Switch to threaded zstd compression with a pool of 8 threads
new patch: zstdthreaded.diff
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 23 20:57:45 CEST 2021 - mls@suse.de Thu Sep 23 20:57:45 CEST 2021 - mls@suse.de

View File

@ -116,6 +116,7 @@ Patch123: nextiteratorheaderblob.diff
Patch131: posttrans.diff Patch131: posttrans.diff
Patch132: verbosearg.diff Patch132: verbosearg.diff
Patch133: zstdpool.diff Patch133: zstdpool.diff
Patch134: zstdthreaded.diff
Patch200: finddebuginfo.diff Patch200: finddebuginfo.diff
Patch201: finddebuginfo-absolute-links.diff Patch201: finddebuginfo-absolute-links.diff
Patch202: debugsubpkg.diff Patch202: debugsubpkg.diff
@ -243,7 +244,7 @@ rm -rf sqlite
%patch -P 93 -P 94 -P 99 %patch -P 93 -P 94 -P 99
%patch -P 100 -P 102 -P 103 %patch -P 100 -P 102 -P 103
%patch -P 117 %patch -P 117
%patch -P 122 -P 123 -P 131 -P 132 -P 133 %patch -P 122 -P 123 -P 131 -P 132 -P 133 -P 134
# debugedit patches # debugedit patches
pushd debugedit-5.0 pushd debugedit-5.0

14
zstdthreaded.diff Normal file
View File

@ -0,0 +1,14 @@
--- macros.in.orig 2021-10-15 07:40:15.601628187 +0000
+++ macros.in 2021-10-15 07:42:23.557282503 +0000
@@ -374,7 +374,10 @@ package or when debugging this package.\
# "w.ufdio" uncompressed
#
#%_source_payload w9.gzdio
-%_binary_payload w19.zstdio
+%_binary_payload w19T0.zstdio
+
+# use a pool with 8 threads for threaded zstd compression
+%_zstd_pool_threads 8
# Algorithm to use for generating file checksum digests on build.
# If not specified or 0, MD5 is used.