Skip to content

Feat(shmem): increase default static heap to 4GB and VMM heap to 16GB - #204

Merged
jhchouuu merged 1 commit into
mainfrom
jiahzhou/increase-static-heap-default
Mar 19, 2026
Merged

jhchouuu merged 1 commit into
mainfrom
jiahzhou/increase-static-heap-default

Conversation

@jhchouuu

Copy link
Copy Markdown
Collaborator

Motivation

The previous defaults (2GB static, 8GB VMM) are too small for typical EP workloads on modern hardware. Users frequently need to set MORI_SHMEM_HEAP_SIZE manually to avoid OOM errors. Increasing the defaults reduces friction for common use cases and better reflects real-world memory requirements.

Technical Details

Updated default symmetric heap sizes in include/mori/shmem/internal.hpp:

  • DEFAULT_STATIC_SYMMETRIC_HEAP_SIZE: 2GB → 4GB
  • DEFAULT_VMM_SYMMETRIC_HEAP_SIZE: 8GB → 16GB

@jhchouuu
jhchouuu merged commit 5b0ed75 into main Mar 19, 2026
1 of 2 checks passed
@jhchouuu
jhchouuu deleted the jiahzhou/increase-static-heap-default branch March 19, 2026 10:09
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