mem: add an MI300X-oriented HBM3 x64 interface - #8
Open
Basemism wants to merge 1 commit into
Open
Conversation
Basemism
force-pushed
the
staging-basem/hbm3
branch
from
September 10, 2026 13:57
f75cc67 to
387a0a7
Compare
Add a 64-bit HBM3 channel model sized and clocked for the public MI300X memory organization. The interface is intended to be paired by HBMCtrl, giving 128 modeled x64 channels across eight stacks. Use the public AMD MI300X capacity, interface-width, and transfer-rate data. For timings not published by AMD, derive conservative values from the Ramulator 2.1.0 HBM3_16Gb_8hi and HBM3_6400Mbps presets, scaling command timings to the slower MI300X command clock. Document the model assumptions where gem5 cannot directly represent HBM3 hierarchy or fractional command cycles.
Basemism
force-pushed
the
staging-basem/hbm3
branch
from
September 10, 2026 13:58
387a0a7 to
56f1d13
Compare
mattsinc
approved these changes
Sep 11, 2026
| tXS = "353.076923ns" | ||
|
|
||
| # Existing gem5 HBM2 class uses close_adaptive for pseudo-channel HBM. | ||
| page_policy = "close_adaptive" |
There was a problem hiding this comment.
@TomXia I know you did some testing about open/close/adaptive for your work. What did you end up using for the default?
| page_policy = "close_adaptive" | ||
|
|
||
| # Existing gem5 HBM2 pseudo-channel class uses 64-entry queues. | ||
| read_buffer_size = 64 |
There was a problem hiding this comment.
@TomXia I know you also played with the read/write buffer sizes. What did you use as the defaults?
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.
Add a 64-bit HBM3 channel model sized and clocked for the public MI300X memory organization. The interface is intended to be paired by HBMCtrl, giving 128 modeled x64 channels across eight stacks.
Use the public AMD MI300X capacity, interface-width, and transfer-rate data. For timings not published by AMD, derive conservative values from the Ramulator 2.1.0 HBM3_16Gb_8hi and HBM3_6400Mbps presets, scaling command timings to the slower MI300X command clock.
Unlike the generic HBM3 preset in gem5#3271 this interface is parameterized for MI300X’s existing HBMCtrl topology: eight controllers pair sixteen x64 interfaces per stack. Its capacity and burst timing reproduce 24 GB and approximately 665 GB/s per stack, or 192 GB and 5.3 TB/s across the package.