Update XIOS depth calc for Genoa#612
Draft
Oakley Brunt (oakleybrunt) wants to merge 3 commits into
Draft
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
PR Summary
Sci/Tech Reviewer: Hacka Fett (@christophermaynard)
Code Reviewer:
This ticket addresses issue #601 - XIOS server distribution is not currently optimised for Genoa nodes. Changes here are limited to the
launch-exescript, specifically updating the calculation ofXIOS_DEPTHto useCORES_PER_NODEinstead of hard-coded values for Milan architecture.The implementation uses calculations for most depth settings, up to
CORES_PER_NODE / 16. This would result in 12-cpu gaps between MPI ranks on Genoa hardware and 8-cpu gaps on Milan. Beyond this, depths are hard-coded to reduce from 8 by a factor of 2 (8, 4, 2). The reason for this is illustrated here:A depth of 8 is more optimal for Genoa nodes than a depth of
CORES_PER_NODE / 32, which was the next step in the original sequence. This would give a depth of 6 which would not fit as neatly into cache boundaries as a depth of 8.As shown in the Genoa hardware diagram in the EX User Guide, a NUMA region is shared by 24 cpus and L3 cache is shared by 8 cpus in a block. This means that a depth of 12 is slightly less optimal than a depth of 8 since memory operations will have to pass via the NUMA region. However, this is a trade-off for more complete utilisation of IO server nodes.
Code Quality Checklist
Testing
trac.log
Security Considerations
Performance Impact
AI Assistance and Attribution
Documentation
PSyclone Approval
Sci/Tech Review
(Please alert the code reviewer via a tag when you have approved the SR)
Code Review