Skip to content

Speed up Omni installs and improve installer feedback - #178

Open
Michionlion wants to merge 36 commits into
mainfrom
performance/omni-install
Open

Michionlion wants to merge 36 commits into
mainfrom
performance/omni-install

Conversation

@Michionlion

@Michionlion Michionlion commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Install time

2h 40m+ (initial state unmeasured) → 1h 31m for the same internal release on Linux. The early PR run reused staged files. The last measured run started from cold stock and finished cleanup at 1h 38m. A matched cold baseline on main is unavailable.

Intel Core i7-4790 at 3.60 GHz, SATA SSD at 6.0 Gb/s. The last run averaged 97 MiB/s read and 10 MiB/s written through cleanup.

Changes

  • Reuse verified files, reduce hashing and temporary copies, and overlap recovery ZIP creation with reconstruction where possible. Parallelize Windows staging and request High QoS during installs.
  • Support Linux storefront prepatching, stock recovery, legacy upgrades, and Proton process tracking.
  • Show live GUI and CLI progress and disk-space requirements, finish pending cleanup, and repair damaged files in place for the exact installed release. If that build is unavailable, Repair says so and stops. Prepare launcher 0.6.5.4.
  • Check stock installs and legacy snapshot upgrades for conflicting files and folders before downloading Omni release packs. List every conflict and explain how to move it aside or manually delete an unwanted file and retry. Recheck before applying to protect files added during the download.

Validation

2,266 Linux tests passed at 4703fad. Windows x64 and macOS Intel and Apple Silicon builds passed. The last cold install peaked at 55.63 GiB of additional space after a 56.2 GiB estimate.

On Windows, 2,064 launcher tests passed at f93a096, including 11 rerun from the checkout so they could locate their fixtures. The new tests cover both install paths, successful retries after removing conflicts, and a file created after the initial check.

Michionlion and others added 24 commits December 3, 2026 01:06
Reuse stock sources, build and verify the recovery archive alongside reconstruction, and parallelize transaction staging. Store UnityFS bundles with LZ4HC blocks directly in the recovery ZIP.

Consolidate progress updates, finish committed cleanup before launcher exit, and expose version-aware repair from the active installation profile.
Decode standalone LZ4 blocks with K4os and check the exact decoded length. For private recipe stages, verify the closed output against the pinned target during the final tree pass. Use a larger sequential read buffer for the initial large recovery archive checksum when the caller uses default limits.

Linux phase benchmarks measured 2.74x stock block decode throughput, 2.8 seconds of redundant hashing removed for 1.26 GiB of recipe output, and 21.8% less time for a cold 1 GiB archive checksum. Whole-install timings were not measured.
@Michionlion
Michionlion force-pushed the performance/omni-install branch from 7e216aa to d06501e Compare December 3, 2026 01:10
@Michionlion
Michionlion requested a review from EwyBoy December 3, 2026 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant