Skip to content

Speed up entwine build on Windows and Linux for large input LAZ files - #358

Open
ckwood256 wants to merge 5 commits into
connormanning:masterfrom
ckwood256:performance_fixes
Open

ckwood256 wants to merge 5 commits into
connormanning:masterfrom
ckwood256:performance_fixes

Conversation

@ckwood256

Copy link
Copy Markdown

This PR addresses #357, which describes how entwine build gets progressively slower on single large input LAZ files, especially for Windows.

Here's a summary of the commits:

  1. b0cf93c - for Windows only, update CMake files to link entwine with mimalloc by default, rather than the default legacy NT memory allocator. If mimalloc is unavailable, linking falls back to the SegmentHeap allocator.
  2. b190ca4 - for Windows only, update GitHub workflow and CI files to enable using mimalloc.
  3. ec91c6a - for Windows and Linux, modify source to enable using the --cacheSize option. Use of the --sleepCount option also is restored.
  4. f3f0ed6 - or Windows and Linux, modify source to set the default CacheSize according to the number of input points and the available memory. Handles Windows, Linux, and containers with smaller cgroup memory limits.

Attribution

  • Chris Wood: issue identification, code design and review, testing design and review, all writing and code comments
  • Claude Code: draft code implementation, code review, test runs and summaries

@ckwood256

Copy link
Copy Markdown
Author

Also fixed some workflow issues that predate this branch but are needed to make the CI runs succeed

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.

1 participant