generate-hg-s3-bundles: generate zstd bundles at level 21 (bug 1344790); r?glob draft
authorGregory Szorc <gps@mozilla.com>
Wed, 22 Mar 2017 16:32:14 -0700
changeset 10527 c0e815abbc1618fe646ab3ee60943c764acd2b80
parent 10522 c77d8797d0adafdfc59680dca013455fba771a8d
push id1584
push userbmo:gps@mozilla.com
push dateWed, 22 Mar 2017 23:32:32 +0000
reviewersglob
bugs1344790
generate-hg-s3-bundles: generate zstd bundles at level 21 (bug 1344790); r?glob Level 22 was generating an out of memory error on 32-bit Windows. Let's try level 21, which has a window size of half of level 22. This will make the bundles a little larger. But, that's the price we may have to pay for 32-bit compatbility. MozReview-Commit-ID: AY3dkbuub9L
scripts/generate-hg-s3-bundles
--- a/scripts/generate-hg-s3-bundles
+++ b/scripts/generate-hg-s3-bundles
@@ -31,17 +31,17 @@ PUSH_REPO = '/var/hg/version-control-too
 CREATES = [
     ('gzip', ['bundle', '-a', '-t', 'gzip-v1'], {}),
     ('gzip-v2', ['bundle', '-a', '-t', 'gzip-v2'], {'gd': True}),
     ('bzip2', ['bundle', '-a', '-t', 'bzip2-v1'], {}),
     # ``zstd`` uses default compression settings and is reasonably fast.
     # ``zstd-max`` uses the highest available compression settings and is
     # absurdly slow. But it produces significantly smaller bundles.
     ('zstd', ['bundle', '-a', '-t', 'zstd-v2'], {'all': True}),
-    ('zstd-max', ['--config', 'experimental.bundlecomplevel=22',
+    ('zstd-max', ['--config', 'experimental.bundlecomplevel=21',
                   'bundle', '-a', '-t', 'zstd-v2'], {'all': True}),
     ('stream-legacy', ['streambundle'], {}),
     ('packed1', ['streambundle', '--type', 's1'], {}),
     ('packed1-gd', ['streambundle', '--type', 's1'], {'gd': True}),
 ]
 
 BUNDLECLONE_ORDER = [
     ('gzip', 'compression=gzip'),