S.
Sadhana .
Fri, Sep 22, 2023 4:50 AM
Hai everyone,
I have been successful in simulating hybrid memory. The code used for the
simulation is attached to this email. But when I check the stats file I can
see all NVM parameters are given 0 values, no matter whatever size of DRAM
I use[ to check NVM memory is getting utilized]. Where am I going wrong,
any suggestions are acceptable.
[image: image.png]
If I decrease the size of DRAM memory below 1MB then I get the following,
error. What I expected is, that if DRAM is full, automatically then it
should take NVM memory.
[image: image.png]
On Fri, Sep 22, 2023 at 9:42 AM Sadhana . sadhana.197cs002@nitk.edu.in
wrote:
Thank you Ayaz. I have fixed this issue.
On Fri, Sep 22, 2023 at 3:09 AM Ayaz Akram yazakram@ucdavis.edu wrote:
Hi Sadhana,
In the screenshot you shared, the address ranges assigned to two memory
devices are overlapping (0:1073741824 and 0:2147483648). You should modify
the second range such that it does not start from 0 but starts from
1073741824 or some other address (such that the two ranges do not overlap).
-Ayaz
On Wed, Sep 20, 2023 at 10:16 PM Sadhana . via gem5-users <
gem5-users@gem5.org> wrote:
I am using gem5 version 22.0. I want to simulate hybrid memory
comprising DRAM and NVM. I have written the code to simulate hybrid memory
using heterogeneous memory controller as:
system.mem_ctrl=HeteroMemCtrl()
system.mem_ctrl.dram = DDR3_1600_8x8()
system.mem_ctrl.dram.range = system.mem_ranges[0]
system.mem_ctrl.nvm=NVM_2400_1x64()
system.mem_ctrl.nvm.range =system.mem_ranges[1]
print(system.mem_ranges[0])
print(system.mem_ranges[1])
But I am getting the error as the memory address range for nvm memory
is overlapping, how can I assign continuous addressing to both memories?
[image: image.png]
Thanks and Regards,
Sadhana,
Research Scholar-NITK,
Dept. of Computer Science and Engineering
.
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org
Hai everyone,
I have been successful in simulating hybrid memory. The code used for the
simulation is attached to this email. But when I check the stats file I can
see all NVM parameters are given 0 values, no matter whatever size of DRAM
I use[ to check NVM memory is getting utilized]. Where am I going wrong,
any suggestions are acceptable.
[image: image.png]
If I decrease the size of DRAM memory below 1MB then I get the following,
error. What I expected is, that if DRAM is full, automatically then it
should take NVM memory.
[image: image.png]
On Fri, Sep 22, 2023 at 9:42 AM Sadhana . <sadhana.197cs002@nitk.edu.in>
wrote:
> Thank you Ayaz. I have fixed this issue.
>
>
>
> On Fri, Sep 22, 2023 at 3:09 AM Ayaz Akram <yazakram@ucdavis.edu> wrote:
>
>> Hi Sadhana,
>>
>> In the screenshot you shared, the address ranges assigned to two memory
>> devices are overlapping (0:1073741824 and 0:2147483648). You should modify
>> the second range such that it does not start from 0 but starts from
>> 1073741824 or some other address (such that the two ranges do not overlap).
>>
>> -Ayaz
>>
>> On Wed, Sep 20, 2023 at 10:16 PM Sadhana . via gem5-users <
>> gem5-users@gem5.org> wrote:
>>
>>> I am using gem5 version 22.0. I want to simulate hybrid memory
>>> comprising DRAM and NVM. I have written the code to simulate hybrid memory
>>> using heterogeneous memory controller as:
>>> system.mem_ctrl=HeteroMemCtrl()
>>> system.mem_ctrl.dram = DDR3_1600_8x8()
>>> system.mem_ctrl.dram.range = system.mem_ranges[0]
>>> system.mem_ctrl.nvm=NVM_2400_1x64()
>>> system.mem_ctrl.nvm.range =system.mem_ranges[1]
>>> print(system.mem_ranges[0])
>>> print(system.mem_ranges[1])
>>> But I am getting the error as the memory address range for nvm memory
>>> is overlapping, how can I assign continuous addressing to both memories?
>>>
>>>
>>> [image: image.png]
>>> Thanks and Regards,
>>> Sadhana,
>>> Research Scholar-NITK,
>>> Dept. of Computer Science and Engineering
>>> .
>>> _______________________________________________
>>> gem5-users mailing list -- gem5-users@gem5.org
>>> To unsubscribe send an email to gem5-users-leave@gem5.org
>>>
>>
S.
Sadhana .
Tue, Sep 26, 2023 3:40 AM
Hai everyone,
I have been successful in simulating hybrid memory. The code used for the
simulation is attached to this email. But when I check the stats file I can
see all NVM parameters are given 0 values, no matter whatever size of DRAM
I use[ to check NVM memory is getting utilized]. Where am I going wrong,
any suggestions are acceptable.
[image: image.png]
If I decrease the size of DRAM memory below 1MB then I get the following,
error. What I expected is, that if DRAM is full, automatically then it
should take NVM memory.
[image: image.png]
On Fri, Sep 22, 2023 at 9:42 AM Sadhana . sadhana.197cs002@nitk.edu.in
wrote:
Thank you Ayaz. I have fixed this issue.
On Fri, Sep 22, 2023 at 3:09 AM Ayaz Akram yazakram@ucdavis.edu wrote:
Hi Sadhana,
In the screenshot you shared, the address ranges assigned to two memory
devices are overlapping (0:1073741824 and 0:2147483648). You should modify
the second range such that it does not start from 0 but starts from
1073741824 or some other address (such that the two ranges do not overlap).
-Ayaz
On Wed, Sep 20, 2023 at 10:16 PM Sadhana . via gem5-users <
gem5-users@gem5.org> wrote:
I am using gem5 version 22.0. I want to simulate hybrid memory
comprising DRAM and NVM. I have written the code to simulate hybrid memory
using heterogeneous memory controller as:
system.mem_ctrl=HeteroMemCtrl()
system.mem_ctrl.dram = DDR3_1600_8x8()
system.mem_ctrl.dram.range = system.mem_ranges[0]
system.mem_ctrl.nvm=NVM_2400_1x64()
system.mem_ctrl.nvm.range =system.mem_ranges[1]
print(system.mem_ranges[0])
print(system.mem_ranges[1])
But I am getting the error as the memory address range for nvm memory
is overlapping, how can I assign continuous addressing to both memories?
[image: image.png]
Thanks and Regards,
Sadhana,
Research Scholar-NITK,
Dept. of Computer Science and Engineering
.
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org
Hai everyone,
I have been successful in simulating hybrid memory. The code used for the
simulation is attached to this email. But when I check the stats file I can
see all NVM parameters are given 0 values, no matter whatever size of DRAM
I use[ to check NVM memory is getting utilized]. Where am I going wrong,
any suggestions are acceptable.
[image: image.png]
If I decrease the size of DRAM memory below 1MB then I get the following,
error. What I expected is, that if DRAM is full, automatically then it
should take NVM memory.
[image: image.png]
On Fri, Sep 22, 2023 at 9:42 AM Sadhana . <sadhana.197cs002@nitk.edu.in>
wrote:
> Thank you Ayaz. I have fixed this issue.
>
>
>
> On Fri, Sep 22, 2023 at 3:09 AM Ayaz Akram <yazakram@ucdavis.edu> wrote:
>
>> Hi Sadhana,
>>
>> In the screenshot you shared, the address ranges assigned to two memory
>> devices are overlapping (0:1073741824 and 0:2147483648). You should modify
>> the second range such that it does not start from 0 but starts from
>> 1073741824 or some other address (such that the two ranges do not overlap).
>>
>> -Ayaz
>>
>> On Wed, Sep 20, 2023 at 10:16 PM Sadhana . via gem5-users <
>> gem5-users@gem5.org> wrote:
>>
>>> I am using gem5 version 22.0. I want to simulate hybrid memory
>>> comprising DRAM and NVM. I have written the code to simulate hybrid memory
>>> using heterogeneous memory controller as:
>>> system.mem_ctrl=HeteroMemCtrl()
>>> system.mem_ctrl.dram = DDR3_1600_8x8()
>>> system.mem_ctrl.dram.range = system.mem_ranges[0]
>>> system.mem_ctrl.nvm=NVM_2400_1x64()
>>> system.mem_ctrl.nvm.range =system.mem_ranges[1]
>>> print(system.mem_ranges[0])
>>> print(system.mem_ranges[1])
>>> But I am getting the error as the memory address range for nvm memory
>>> is overlapping, how can I assign continuous addressing to both memories?
>>>
>>>
>>> [image: image.png]
>>> Thanks and Regards,
>>> Sadhana,
>>> Research Scholar-NITK,
>>> Dept. of Computer Science and Engineering
>>> .
>>> _______________________________________________
>>> gem5-users mailing list -- gem5-users@gem5.org
>>> To unsubscribe send an email to gem5-users-leave@gem5.org
>>>
>>
AA
Ayaz Akram
Wed, Sep 27, 2023 9:01 PM
Hi Sadhana,
I expected that with a very small DRAM size, you would see some traffic to
NVM memory. But, I think the reason you are running into "out of memory"
error when the DRAM size is very small is probably that in SE mode the
physical memory allocation has to be done from a specific memory pool (by
default the first pool). And each physical memory is in a separate pool.
MemPools were added in this change:
https://gem5-review.googlesource.com/c/public/gem5/+/42215.
I think you will not run into the problem you are running into if you use
an older gem5 version e.g., 21.0.0.0.
-Ayaz
On Thu, Sep 21, 2023 at 9:51 PM Sadhana . sadhana.197cs002@nitk.edu.in
wrote:
Hai everyone,
I have been successful in simulating hybrid memory. The code used for the
simulation is attached to this email. But when I check the stats file I can
see all NVM parameters are given 0 values, no matter whatever size of DRAM
I use[ to check NVM memory is getting utilized]. Where am I going wrong,
any suggestions are acceptable.
[image: image.png]
If I decrease the size of DRAM memory below 1MB then I get the following,
error. What I expected is, that if DRAM is full, automatically then it
should take NVM memory.
[image: image.png]
On Fri, Sep 22, 2023 at 9:42 AM Sadhana . sadhana.197cs002@nitk.edu.in
wrote:
Thank you Ayaz. I have fixed this issue.
On Fri, Sep 22, 2023 at 3:09 AM Ayaz Akram yazakram@ucdavis.edu wrote:
Hi Sadhana,
In the screenshot you shared, the address ranges assigned to two memory
devices are overlapping (0:1073741824 and 0:2147483648). You should modify
the second range such that it does not start from 0 but starts from
1073741824 or some other address (such that the two ranges do not overlap).
-Ayaz
On Wed, Sep 20, 2023 at 10:16 PM Sadhana . via gem5-users <
gem5-users@gem5.org> wrote:
I am using gem5 version 22.0. I want to simulate hybrid memory
comprising DRAM and NVM. I have written the code to simulate hybrid memory
using heterogeneous memory controller as:
system.mem_ctrl=HeteroMemCtrl()
system.mem_ctrl.dram = DDR3_1600_8x8()
system.mem_ctrl.dram.range = system.mem_ranges[0]
system.mem_ctrl.nvm=NVM_2400_1x64()
system.mem_ctrl.nvm.range =system.mem_ranges[1]
print(system.mem_ranges[0])
print(system.mem_ranges[1])
But I am getting the error as the memory address range for nvm memory
is overlapping, how can I assign continuous addressing to both memories?
[image: image.png]
Thanks and Regards,
Sadhana,
Research Scholar-NITK,
Dept. of Computer Science and Engineering
.
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org
Hi Sadhana,
I expected that with a very small DRAM size, you would see some traffic to
NVM memory. But, I think the reason you are running into "out of memory"
error when the DRAM size is very small is probably that in SE mode the
physical memory allocation has to be done from a specific memory pool (by
default the first pool). And each physical memory is in a separate pool.
MemPools were added in this change:
https://gem5-review.googlesource.com/c/public/gem5/+/42215.
I think you will not run into the problem you are running into if you use
an older gem5 version e.g., 21.0.0.0.
-Ayaz
On Thu, Sep 21, 2023 at 9:51 PM Sadhana . <sadhana.197cs002@nitk.edu.in>
wrote:
> Hai everyone,
> I have been successful in simulating hybrid memory. The code used for the
> simulation is attached to this email. But when I check the stats file I can
> see all NVM parameters are given 0 values, no matter whatever size of DRAM
> I use[ to check NVM memory is getting utilized]. Where am I going wrong,
> any suggestions are acceptable.
>
> [image: image.png]
> If I decrease the size of DRAM memory below 1MB then I get the following,
> error. What I expected is, that if DRAM is full, automatically then it
> should take NVM memory.
> [image: image.png]
>
>
>
>
>
> On Fri, Sep 22, 2023 at 9:42 AM Sadhana . <sadhana.197cs002@nitk.edu.in>
> wrote:
>
>> Thank you Ayaz. I have fixed this issue.
>>
>>
>>
>> On Fri, Sep 22, 2023 at 3:09 AM Ayaz Akram <yazakram@ucdavis.edu> wrote:
>>
>>> Hi Sadhana,
>>>
>>> In the screenshot you shared, the address ranges assigned to two memory
>>> devices are overlapping (0:1073741824 and 0:2147483648). You should modify
>>> the second range such that it does not start from 0 but starts from
>>> 1073741824 or some other address (such that the two ranges do not overlap).
>>>
>>> -Ayaz
>>>
>>> On Wed, Sep 20, 2023 at 10:16 PM Sadhana . via gem5-users <
>>> gem5-users@gem5.org> wrote:
>>>
>>>> I am using gem5 version 22.0. I want to simulate hybrid memory
>>>> comprising DRAM and NVM. I have written the code to simulate hybrid memory
>>>> using heterogeneous memory controller as:
>>>> system.mem_ctrl=HeteroMemCtrl()
>>>> system.mem_ctrl.dram = DDR3_1600_8x8()
>>>> system.mem_ctrl.dram.range = system.mem_ranges[0]
>>>> system.mem_ctrl.nvm=NVM_2400_1x64()
>>>> system.mem_ctrl.nvm.range =system.mem_ranges[1]
>>>> print(system.mem_ranges[0])
>>>> print(system.mem_ranges[1])
>>>> But I am getting the error as the memory address range for nvm memory
>>>> is overlapping, how can I assign continuous addressing to both memories?
>>>>
>>>>
>>>> [image: image.png]
>>>> Thanks and Regards,
>>>> Sadhana,
>>>> Research Scholar-NITK,
>>>> Dept. of Computer Science and Engineering
>>>> .
>>>> _______________________________________________
>>>> gem5-users mailing list -- gem5-users@gem5.org
>>>> To unsubscribe send an email to gem5-users-leave@gem5.org
>>>>
>>>
C
claire8967@gmail.com
Wed, Feb 14, 2024 12:27 PM
Sorry, can you post your code again, the file is no longer valid, thanks a lot!
Sorry, can you post your code again, the file is no longer valid, thanks a lot!