I believe this error is happening because your simulated memory space
(i.e., in the simulator) is not big enough for the application you are
running.  You mentioned that you were passing in 2GB.  My guess is that you
want mem_size here:
https://gem5.googlesource.com/amd/gem5/+/refs/heads/agutierr/master-gcn3-staging/configs/common/Options.py#87
(which is subsequently used here:
https://gem5.googlesource.com/amd/gem5/+/refs/heads/agutierr/master-gcn3-staging/configs/example/apu_se.py#406)
to be larger, large enough to fit whatever the benchmark needs (it sounds
like 4 GB should be enough).

I'm not sure where you were seeing 29 GB from (perhaps with top?), but I
suspect that is how much memory the simulator is consuming when running.

Tony, CC'd, knows more about where the GPU memory is being utilized though,
so Tony please correct me if I missed something.

Matt

On Mon, Sep 14, 2020 at 2:56 PM Muhammet Abdullah Soytürk via gem5-users <
gem5-users@gem5.org> wrote:

> Not sure actually. I ran into the same problem while trying a cpu
> benchmark a while back. Maybe others can explain the reason.
>
> Sampad Mohapatra <su...@psu.edu>, 14 Eyl 2020 Pzt, 22:50 tarihinde şunu
> yazdı:
>
>> Hi Muhammet,
>>
>> Yes, the gpu benchmark itself mallocs around 3GB.
>> But then why does the memory usage show 30305260 KBytes ~ 29 GB ?
>> What does this value indicate ?
>>
>> Thank you,
>> Sampad
>>
>> On Mon, Sep 14, 2020 at 3:30 PM Muhammet Abdullah Soytürk <
>> muhammetabdullahsoyt...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> Is there any chance that the input you provide is bigger than 2GB? If
>>> the input size is bigger than the memory size, you cannot simulate it in SE
>>> mode (since there is no paging support for SE mode). As you can understand
>>> from the error message, you need to increase the size of the memory.
>>>
>>> Best,
>>> Muhammet
>>>
>>> Sampad Mohapatra via gem5-users <gem5-users@gem5.org>, 14 Eyl 2020 Pzt,
>>> 21:49 tarihinde şunu yazdı:
>>>
>>>> Hi All,
>>>>
>>>> I am running 2DConvolution (polybench-gpu) and leela (SPEC 17) using
>>>> the AMD GCN3 model on a research cluster with around 4 TB of memory. But
>>>> the simulation ended with the following message:
>>>>
>>>> fatal: Out of memory, please increase size of physical memory.
>>>> Memory Usage: 30305260 KBytes
>>>>
>>>> I had passed 2GB as mem-size. What could be the problem and how can I
>>>> mitigate it?
>>>>
>>>> Thank you,
>>>> Sampad Mohapatra
>>>> _______________________________________________
>>>> gem5-users mailing list -- gem5-users@gem5.org
>>>> To unsubscribe send an email to gem5-users-le...@gem5.org
>>>> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
>>>
>>> _______________________________________________
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to