Skip to content

Reduce OSD log archive compression time - #31

Open
cmendesvdl wants to merge 1 commit into
mainfrom
perf/faster-log-archive-compression
Open

cmendesvdl wants to merge 1 commit into
mainfrom
perf/faster-log-archive-compression

Conversation

@cmendesvdl

Copy link
Copy Markdown
Collaborator

Summary

  • use .NET's fastest ZIP compression for diagnostic archives
  • document the task-sequence runtime tradeoff
  • add a repository contract test to prevent regression
  • regenerate exact-byte checksums

Performance

On a representative 34 MB CMTrace-style text-log workload:

Compression Time ZIP size
Optimal 334.4 ms 1,125,838 bytes
Fastest 170.9 ms 1,185,542 bytes

This reduced compression time by about 49% for a 5.3% archive-size increase.

Validation

  • Windows PowerShell 5.1 validation passed
  • PSScriptAnalyzer 1.25.0 passed
  • Pester 6.2.0: 154 passed, 0 failed
  • SHA-256 manifest verified against exact source bytes

Reduce CPU time spent creating diagnostic ZIPs during task sequences while preserving archive contents and failure behavior.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@cmendesvdl
cmendesvdl requested a review from vartaxe as a code owner November 4, 2026 08:09

This branch has not been deployed

No deployments
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.

2 participants