Skip to content

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Oct 1, 2025

Speed up unpacking .tar.xz files in the hermetic toolchain by using multithreaded xz execution.

Note that the multithreaded feature should be available in non-hermetic xz tool.

The next step will be to make tar and xz tools available in hermetic toolchains.

Linux x86 platform operations repository creation time, s
download clang.tar.xz and extract with bazel 137
download clang.tar and extract with bazel 48
download clang.tar.xz and extract with non-hermetic tar (with multithreaded xz) 19
download clang.tar and extract with non-hermetic tar 38

Parameters of the Linux machine that was used to collect the data:

Architecture:                x86_64
  CPU op-mode(s):            32-bit, 64-bit
  Address sizes:             48 bits physical, 48 bits virtual
  Byte Order:                Little Endian
CPU(s):                      128
  On-line CPU(s) list:       0-127

@copybara-service copybara-service bot force-pushed the test_813810734 branch 3 times, most recently from 8b64058 to 4f9e9e7 Compare October 2, 2025 19:51
… multithreaded `xz` execution.

Note that the multithreaded feature should be available in non-hermetic `xz` tool.

The next step will be to make `tar` and `xz` tools  available in hermetic toolchains.

Linux x86 platform operations | repository creation time, s
 :-----------: | :-----------:
download clang.tar.xz and extract with bazel       | 137
download clang.tar and extract with bazel       | 48
download clang.tar.xz and extract with non-hermetic tar (with multithreaded xz)      | 19
download clang.tar and extract with non-hermetic tar     | 38

Parameters of the Linux machine that was used to collect the data:
```
Architecture:                x86_64
  CPU op-mode(s):            32-bit, 64-bit
  Address sizes:             48 bits physical, 48 bits virtual
  Byte Order:                Little Endian
CPU(s):                      128
  On-line CPU(s) list:       0-127
```
PiperOrigin-RevId: 814354233
@copybara-service copybara-service bot merged commit 8f490a9 into main Oct 2, 2025
@copybara-service copybara-service bot deleted the test_813810734 branch October 2, 2025 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant