You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Avoid concurrent cold TTPF index parses during export - #8028
Depends on: #7997 for the performance benefit. This PR leaves the submodule pin to that PR.
The decoder cache can parse the same texture-pool index on several simultaneous cold misses. Run the first pending DDS export before starting the parallel loop so later workers can reuse the cached index. Completed DDS files, unsupported entries and manifest ordering keep their existing behavior.
The TTPF resume suite passes with both pins. The new synthetic fixture compares byte-identical DDS files and manifests for one and eight workers, then verifies that a partial retry restores missing files and leaves an existing prefix untouched.
The rpf9dump exit-code suite has six passes and two identical pre-existing failures on the baseline and patched builds (texture and XMA write-failure cases).
Independent Windows verification on 3fcdefd0c with the 7793a954 decoder from #7997. Both builds loaded the same decoder DLL under .NET 10. Across three fresh-process runs with --jobs 8, a synthetic 2,048-texture pool used a median 66.2 MB of managed allocations on main and 44.8 MB on this PR (about 32% less). The single-worker runs both used 44.7 MB, and the eight-worker timing ranges overlapped. Every run produced byte-identical DDS files and manifests.
All five TTPF resume tests passed. I also blocked the first pending DDS with a directory and seeded an old manifest. The run returned 1, withdrew the manifest, kept the other DDS it managed to write, and left no partial file. Removing the blocker and retrying restored the serial outputs byte-for-byte and preserved the successful DDS's mtime.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Depends on: #7997 for the performance benefit. This PR leaves the submodule pin to that PR.
The decoder cache can parse the same texture-pool index on several simultaneous cold misses. Run the first pending DDS export before starting the parallel loop so later workers can reuse the cached index. Completed DDS files, unsupported entries and manifest ordering keep their existing behavior.
ASSET-628 follow-up claim
Verification