gem5-users@gem5.org

The gem5 Users mailing list

View all threads

GCN3_X86 How to differentiate memory request from CPU or GPU?

L
LinS@163.com
Thu, Aug 25, 2022 6:28 AM

Hello,
For some reason, I want to know the memory request source. Is it CPU or GPU. Does anyone know how to do this? thanks.

| |
林胜
|
|
17861509600@163.com
|

Hello, For some reason, I want to know the memory request source. Is it CPU or GPU. Does anyone know how to do this? thanks. | | 林胜 | | 17861509600@163.com |
MS
Matt Sinclair
Thu, Aug 25, 2022 7:08 PM

Hi Lin,

What sort of stats are you looking for?  The gem5 stats already give you
information like GPU/CPU L1 and L2 accesses.  So if you are just looking
for how many accesses the CPU vs. GPU issue to the caches, looking at these
stats should be sufficient.

Thanks,
Matt

On Thu, Aug 25, 2022 at 5:20 AM LinS@163.com 17861509600@163.com wrote:

Hi Lin, What sort of stats are you looking for? The gem5 stats already give you information like GPU/CPU L1 and L2 accesses. So if you are just looking for how many accesses the CPU vs. GPU issue to the caches, looking at these stats should be sufficient. Thanks, Matt On Thu, Aug 25, 2022 at 5:20 AM LinS@163.com <17861509600@163.com> wrote: > Hello, > For some reason, I want to know the memory request source. Is it CPU or > GPU. Does anyone know how to do this? thanks. > > 林胜 > 17861509600@163.com > > <https://maas.mail.163.com/dashi-web-extend/html/proSignature.html?ftlId=1&name=%E6%9E%97%E8%83%9C&uid=17861509600%40163.com&iconUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fsmfa0557cda07dad1b17de05686aa3a0b6.jpg&items=%5B%2217861509600%40163.com%22%5D> > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-leave@gem5.org >
PM
Poremba, Matthew
Thu, Aug 25, 2022 9:28 PM

[AMD Official Use Only - General]

Hi Lin,

If you only want stats, another option is to look at Ruby’s collated stats for cache transitions that would trigger memory requests. These have names like “system.ruby.TCC_Controller.I.RdBlk,” “system.ruby.TCC_Controller.IV.RdBlk,” “system.ruby.TCC_Controller.I.WrVicBlk,” etc. from the GPU. There are similar names in MOESI_AMD_Base-L3cache for CPU.

If you want to determine this during simulation time, that requires a longer response.

-Matt

From: Matt Sinclair mattdsinclair.wisc@gmail.com
Sent: Thursday, August 25, 2022 12:09 PM
To: The gem5 Users mailing list gem5-users@gem5.org; Poremba, Matthew Matthew.Poremba@amd.com; Dutu, Alexandru Alexandru.Dutu@amd.com; Beckmann, Brad Brad.Beckmann@amd.com
Subject: Re: [gem5-users] GCN3_X86 How to differentiate memory request from CPU or GPU?

[CAUTION: External Email]
Hi Lin,

What sort of stats are you looking for?  The gem5 stats already give you information like GPU/CPU L1 and L2 accesses.  So if you are just looking for how many accesses the CPU vs. GPU issue to the caches, looking at these stats should be sufficient.

Thanks,
Matt

On Thu, Aug 25, 2022 at 5:20 AM LinS@163.commailto:LinS@163.com <17861509600@163.commailto:17861509600@163.com> wrote:
Hello,
For some reason, I want to know the memory request source. Is it CPU or GPU. Does anyone know how to do this? thanks.

[Image removed by sender.]
林胜
17861509600@163.com


gem5-users mailing list -- gem5-users@gem5.orgmailto:gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.orgmailto:gem5-users-leave@gem5.org

[AMD Official Use Only - General] Hi Lin, If you only want stats, another option is to look at Ruby’s collated stats for cache transitions that would trigger memory requests. These have names like “system.ruby.TCC_Controller.I.RdBlk,” “system.ruby.TCC_Controller.IV.RdBlk,” “system.ruby.TCC_Controller.I.WrVicBlk,” etc. from the GPU. There are similar names in MOESI_AMD_Base-L3cache for CPU. If you want to determine this during simulation time, that requires a longer response. -Matt From: Matt Sinclair <mattdsinclair.wisc@gmail.com> Sent: Thursday, August 25, 2022 12:09 PM To: The gem5 Users mailing list <gem5-users@gem5.org>; Poremba, Matthew <Matthew.Poremba@amd.com>; Dutu, Alexandru <Alexandru.Dutu@amd.com>; Beckmann, Brad <Brad.Beckmann@amd.com> Subject: Re: [gem5-users] GCN3_X86 How to differentiate memory request from CPU or GPU? [CAUTION: External Email] Hi Lin, What sort of stats are you looking for? The gem5 stats already give you information like GPU/CPU L1 and L2 accesses. So if you are just looking for how many accesses the CPU vs. GPU issue to the caches, looking at these stats should be sufficient. Thanks, Matt On Thu, Aug 25, 2022 at 5:20 AM LinS@163.com<mailto:LinS@163.com> <17861509600@163.com<mailto:17861509600@163.com>> wrote: Hello, For some reason, I want to know the memory request source. Is it CPU or GPU. Does anyone know how to do this? thanks. [Image removed by sender.] 林胜 17861509600@163.com _______________________________________________ gem5-users mailing list -- gem5-users@gem5.org<mailto:gem5-users@gem5.org> To unsubscribe send an email to gem5-users-leave@gem5.org<mailto:gem5-users-leave@gem5.org>
L
LinS@163.com
Fri, Aug 26, 2022 12:33 AM

Hi Matt,
I'm truly grateful for your help.

| |
林胜
|
|
17861509600@163.com
|
---- Replied Message ----
| From | Poremba, MatthewMatthew.Poremba@amd.com |
| Date | 8/26/2022 05:34 |
| To | Matt Sinclairmattdsinclair.wisc@gmail.com ,
The gem5 Users mailing listgem5-users@gem5.org ,
Dutu, AlexandruAlexandru.Dutu@amd.com ,
Beckmann, BradBrad.Beckmann@amd.com |
| Subject | [gem5-users] Re: GCN3_X86 How to differentiate memory request from CPU or GPU? |

[AMD Official Use Only - General]

Hi Lin,

If you only want stats, another option is to look at Ruby’s collated stats for cache transitions that would trigger memory requests. These have names like “system.ruby.TCC_Controller.I.RdBlk,” “system.ruby.TCC_Controller.IV.RdBlk,” “system.ruby.TCC_Controller.I.WrVicBlk,” etc. from the GPU. There are similar names in MOESI_AMD_Base-L3cache for CPU.

If you want to determine this during simulation time, that requires a longer response.

-Matt

From: Matt Sinclair mattdsinclair.wisc@gmail.com
Sent: Thursday, August 25, 2022 12:09 PM
To: The gem5 Users mailing list gem5-users@gem5.org; Poremba, Matthew Matthew.Poremba@amd.com; Dutu, Alexandru Alexandru.Dutu@amd.com; Beckmann, Brad Brad.Beckmann@amd.com
Subject: Re: [gem5-users] GCN3_X86 How to differentiate memory request from CPU or GPU?

[CAUTION: External Email]

Hi Lin,

What sort of stats are you looking for?  The gem5 stats already give you information like GPU/CPU L1 and L2 accesses.  So if you are just looking for how many accesses the CPU vs. GPU issue to the caches, looking at these stats should be sufficient.

Thanks,

Matt

On Thu, Aug 25, 2022 at 5:20 AM LinS@163.com 17861509600@163.com wrote:

Hello,

For some reason, I want to know the memory request source. Is it CPU or GPU. Does anyone know how to do this? thanks.

|

|

林胜

|
|

17861509600@163.com

|


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org

Hi Matt, I'm truly grateful for your help. | | 林胜 | | 17861509600@163.com | ---- Replied Message ---- | From | Poremba, Matthew<Matthew.Poremba@amd.com> | | Date | 8/26/2022 05:34 | | To | Matt Sinclair<mattdsinclair.wisc@gmail.com> , The gem5 Users mailing list<gem5-users@gem5.org> , Dutu, Alexandru<Alexandru.Dutu@amd.com> , Beckmann, Brad<Brad.Beckmann@amd.com> | | Subject | [gem5-users] Re: GCN3_X86 How to differentiate memory request from CPU or GPU? | [AMD Official Use Only - General] Hi Lin, If you only want stats, another option is to look at Ruby’s collated stats for cache transitions that would trigger memory requests. These have names like “system.ruby.TCC_Controller.I.RdBlk,” “system.ruby.TCC_Controller.IV.RdBlk,” “system.ruby.TCC_Controller.I.WrVicBlk,” etc. from the GPU. There are similar names in MOESI_AMD_Base-L3cache for CPU. If you want to determine this during simulation time, that requires a longer response. -Matt From: Matt Sinclair <mattdsinclair.wisc@gmail.com> Sent: Thursday, August 25, 2022 12:09 PM To: The gem5 Users mailing list <gem5-users@gem5.org>; Poremba, Matthew <Matthew.Poremba@amd.com>; Dutu, Alexandru <Alexandru.Dutu@amd.com>; Beckmann, Brad <Brad.Beckmann@amd.com> Subject: Re: [gem5-users] GCN3_X86 How to differentiate memory request from CPU or GPU? [CAUTION: External Email] Hi Lin, What sort of stats are you looking for? The gem5 stats already give you information like GPU/CPU L1 and L2 accesses. So if you are just looking for how many accesses the CPU vs. GPU issue to the caches, looking at these stats should be sufficient. Thanks, Matt On Thu, Aug 25, 2022 at 5:20 AM LinS@163.com <17861509600@163.com> wrote: Hello, For some reason, I want to know the memory request source. Is it CPU or GPU. Does anyone know how to do this? thanks. | | 林胜 | | 17861509600@163.com | _______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-leave@gem5.org