gem5-users@gem5.org

The gem5 Users mailing list

View all threads

How to overcome the limitation that the DRAM size in the gem5 standard library can only be set to 3GB?

W
wangyanjing@nudt.edu.cn
Tue, Jul 23, 2024 11:39 AM

Hi,

I am currently using the gem5 standard library to build system configurations, as recommended by the gem5 community (with fs.py and se.py being deprecated). However, I am facing a major issue where the gem5 standard library can only configure up to 3GB of DRAM. I have attempted to modify x86_board.py by referring to the address range configurations in fs.py, but my efforts have been unsuccessful. Could anyone advise me on how to overcome the 3GB DRAM limitation?

Hi, I am currently using the gem5 standard library to build system configurations, as recommended by the gem5 community (with fs.py and se.py being deprecated). However, I am facing a major issue where the gem5 standard library can only configure up to 3GB of DRAM. I have attempted to modify x86_board.py by referring to the address range configurations in fs.py, but my efforts have been unsuccessful. Could anyone advise me on how to overcome the 3GB DRAM limitation?
PM
Poremba, Matthew
Mon, Jul 29, 2024 5:30 PM

[Public]

Hello,

You will need to edit the e820 table

From: 王彦景 via gem5-users gem5-users@gem5.org
Sent: Tuesday, July 23, 2024 4:39 AM
To: gem5-users@gem5.org
Cc: wangyanjing@nudt.edu.cn
Subject: [gem5-users] How to overcome the limitation that the DRAM size in the gem5 standard library can only be set to 3GB?

Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.

Hi,

I am currently using the gem5 standard library to build system configurations, as recommended by the gem5 community (with fs.py and se.py being deprecatedhttps://github.com/gem5/gem5/releases#:~:text=fs.py%20and%20se.py%20deprecated). However, I am facing a major issue where the gem5 standard library can only configure up to 3GB of DRAMhttps://github.com/gem5/gem5/blob/stable/src/python/gem5/components/boards/x86_board.py#L70. I have attempted to modify x86_board.py by referring to the address range configurations in fs.py, but my efforts have been unsuccessful. Could anyone advise me on how to overcome the 3GB DRAM limitation?

[Public] Hello, You will need to edit the e820 table From: 王彦景 via gem5-users <gem5-users@gem5.org> Sent: Tuesday, July 23, 2024 4:39 AM To: gem5-users@gem5.org Cc: wangyanjing@nudt.edu.cn Subject: [gem5-users] How to overcome the limitation that the DRAM size in the gem5 standard library can only be set to 3GB? Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding. Hi, I am currently using the gem5 standard library to build system configurations, as recommended by the gem5 community (with fs.py and se.py being deprecated<https://github.com/gem5/gem5/releases#:~:text=fs.py%20and%20se.py%20deprecated>). However, I am facing a major issue where the gem5 standard library can only configure up to 3GB of DRAM<https://github.com/gem5/gem5/blob/stable/src/python/gem5/components/boards/x86_board.py#L70>. I have attempted to modify x86_board.py by referring to the address range configurations in fs.py, but my efforts have been unsuccessful. Could anyone advise me on how to overcome the 3GB DRAM limitation?
PM
Poremba, Matthew
Mon, Jul 29, 2024 5:34 PM

[AMD Official Use Only - AMD Internal Distribution Only]

Hello,

(Previous email sent prematurely)
You will need to edit the e820 table, I believe.  See here for an example of how stdlib appends: https://github.com/gem5/gem5/blob/stable/src/python/gem5/components/boards/x86_board.py#L251 . You probably will need to modify this function too: https://github.com/gem5/gem5/blob/stable/src/python/gem5/components/boards/x86_board.py#L283 and add a self.mem_ranges[2].

-Matt

From: 王彦景 via gem5-users gem5-users@gem5.org
Sent: Tuesday, July 23, 2024 4:39 AM
To: gem5-users@gem5.org
Cc: wangyanjing@nudt.edu.cn
Subject: [gem5-users] How to overcome the limitation that the DRAM size in the gem5 standard library can only be set to 3GB?

Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.

Hi,

I am currently using the gem5 standard library to build system configurations, as recommended by the gem5 community (with fs.py and se.py being deprecatedhttps://github.com/gem5/gem5/releases#:~:text=fs.py%20and%20se.py%20deprecated). However, I am facing a major issue where the gem5 standard library can only configure up to 3GB of DRAMhttps://github.com/gem5/gem5/blob/stable/src/python/gem5/components/boards/x86_board.py#L70. I have attempted to modify x86_board.py by referring to the address range configurations in fs.py, but my efforts have been unsuccessful. Could anyone advise me on how to overcome the 3GB DRAM limitation?

[AMD Official Use Only - AMD Internal Distribution Only] Hello, (Previous email sent prematurely) You will need to edit the e820 table, I believe. See here for an example of how stdlib appends: https://github.com/gem5/gem5/blob/stable/src/python/gem5/components/boards/x86_board.py#L251 . You probably will need to modify this function too: https://github.com/gem5/gem5/blob/stable/src/python/gem5/components/boards/x86_board.py#L283 and add a self.mem_ranges[2]. -Matt From: 王彦景 via gem5-users <gem5-users@gem5.org> Sent: Tuesday, July 23, 2024 4:39 AM To: gem5-users@gem5.org Cc: wangyanjing@nudt.edu.cn Subject: [gem5-users] How to overcome the limitation that the DRAM size in the gem5 standard library can only be set to 3GB? Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding. Hi, I am currently using the gem5 standard library to build system configurations, as recommended by the gem5 community (with fs.py and se.py being deprecated<https://github.com/gem5/gem5/releases#:~:text=fs.py%20and%20se.py%20deprecated>). However, I am facing a major issue where the gem5 standard library can only configure up to 3GB of DRAM<https://github.com/gem5/gem5/blob/stable/src/python/gem5/components/boards/x86_board.py#L70>. I have attempted to modify x86_board.py by referring to the address range configurations in fs.py, but my efforts have been unsuccessful. Could anyone advise me on how to overcome the 3GB DRAM limitation?
W
wangyanjing@nudt.edu.cn
Tue, Jul 30, 2024 10:29 AM

Hello Matt,

Thank you for your response.
I will try to make the changes according to your suggestions.
Best regards,
Yanjing Wang
-----原始邮件-----
发件人:"Poremba, Matthew via gem5-users" gem5-users@gem5.org
发送时间:2024-07-30 01:34:32 (星期二)
收件人: "The gem5 Users mailing list" gem5-users@gem5.org
抄送: "wangyanjing@nudt.edu.cn" wangyanjing@nudt.edu.cn, "Poremba, Matthew" Matthew.Poremba@amd.com
主题: [gem5-users] Re: How to overcome the limitation that the DRAM size in the gem5 standard library can only be set to 3GB?

[AMD Official Use Only - AMD Internal Distribution Only]

Hello,

(Previous email sent prematurely)

You will need to edit the e820 table, I believe.  See here for an example of how stdlib appends: https://github.com/gem5/gem5/blob/stable/src/python/gem5/components/boards/x86_board.py#L251 . You probably will need to modify this function too: https://github.com/gem5/gem5/blob/stable/src/python/gem5/components/boards/x86_board.py#L283 and add a self.mem_ranges[2].

-Matt

From:王彦景 via gem5-users gem5-users@gem5.org
Sent: Tuesday, July 23, 2024 4:39 AM
To: gem5-users@gem5.org
Cc: wangyanjing@nudt.edu.cn
Subject: [gem5-users] How to overcome the limitation that the DRAM size in the gem5 standard library can only be set to 3GB?

| |

Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.

|

Hi,

I am currently using the gem5 standard library to build system configurations, as recommended by the gem5 community (with fs.py and se.py being deprecated). However, I am facing a major issue where the gem5 standard library can only configure up to 3GB of DRAM. I have attempted to modify x86_board.py by referring to the address range configurations in fs.py, but my efforts have been unsuccessful. Could anyone advise me on how to overcome the 3GB DRAM limitation?

Hello Matt, Thank you for your response. I will try to make the changes according to your suggestions. Best regards, Yanjing Wang -----原始邮件----- 发件人:"Poremba, Matthew via gem5-users" <gem5-users@gem5.org> 发送时间:2024-07-30 01:34:32 (星期二) 收件人: "The gem5 Users mailing list" <gem5-users@gem5.org> 抄送: "wangyanjing@nudt.edu.cn" <wangyanjing@nudt.edu.cn>, "Poremba, Matthew" <Matthew.Poremba@amd.com> 主题: [gem5-users] Re: How to overcome the limitation that the DRAM size in the gem5 standard library can only be set to 3GB? [AMD Official Use Only - AMD Internal Distribution Only] Hello, (Previous email sent prematurely) You will need to edit the e820 table, I believe. See here for an example of how stdlib appends: https://github.com/gem5/gem5/blob/stable/src/python/gem5/components/boards/x86_board.py#L251 . You probably will need to modify this function too: https://github.com/gem5/gem5/blob/stable/src/python/gem5/components/boards/x86_board.py#L283 and add a self.mem_ranges[2]. -Matt From:王彦景 via gem5-users <gem5-users@gem5.org> Sent: Tuesday, July 23, 2024 4:39 AM To: gem5-users@gem5.org Cc: wangyanjing@nudt.edu.cn Subject: [gem5-users] How to overcome the limitation that the DRAM size in the gem5 standard library can only be set to 3GB? | | Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding. | Hi, I am currently using the gem5 standard library to build system configurations, as recommended by the gem5 community (with fs.py and se.py being deprecated). However, I am facing a major issue where the gem5 standard library can only configure up to 3GB of DRAM. I have attempted to modify x86_board.py by referring to the address range configurations in fs.py, but my efforts have been unsuccessful. Could anyone advise me on how to overcome the 3GB DRAM limitation?