Bug 2188504
| Summary: | The "hammer export" command using single thread encryption causes a performance bottleneck. | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Brenden Wood <bwood> |
| Component: | Pulp | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | ON_QA --- | QA Contact: | Shweta Singh <shwsingh> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | Unspecified | CC: | ahumbe, dalley, dkliban, ggainey, pcreech, rchan, rlavi, shwsingh |
| Target Milestone: | 6.14.0 | Keywords: | Performance, Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | pulpcore-3.18.20-1, pulpcore-3.21.10-1, pulpcore-3.23.8-1, pulpcore-3.22.12-1 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Brenden Wood
2023-04-21 00:26:01 UTC
The default compression level of tarfile with gzip compression is level 9, the highest and most computationally intensive level. Possibly compression would be more viable at a lower level - based on various benchmarks level 3 ought to be about 4x faster than level 9 but with a compression level only 15-20% worse. Brendan, don't forget to attach the customer cases. If you have a reproducer (or a customer willing to experiment), what is the impact of adding "compresslevel=1" to that line? e.g. "with tarfile.open(tarfile_fp, "w|gz", compresslevel=1, fileobj=split_process.stdin)" (don't forget to restart the services, of course). Also, how large is the uncompressed export in question, in gigabytes? Hi Daniel, We have the ability to test this with a customer so I will try this out and report back. From memory, we were dealing with an export over a terabyte in size, but I will have to confirm that. Thanks Brendan, I thought I had posted this but apparently not - that patch actually will not work, because it requires code present in Python 3.12 only. Please don't ask the customer to try it just yet. The Pulp upstream bug status is at closed. Updating the external tracker on this bug. Anyone tracking this may also be interested in https://bugzilla.redhat.com/show_bug.cgi?id=2226950 |