[gem5-users] Re: Duplicate net_msg_ptr values

2021-05-09 Thread Bharadwaj, Srikant via gem5-users
[AMD Public Use]

Hi Navneet,
Can you post a snippet of the code?
It will help us understand the problem.

Thanks,
Srikant

From: NAVNEET KUMAR 
Sent: Sunday, May 9, 2021 5:24:09 AM
To: Bharadwaj, Srikant ; gem5 users mailing list 

Cc: Krishna, Tushar 
Subject: Re: [gem5-users] Re: Duplicate net_msg_ptr values

[CAUTION: External Email]
Hello Srikant,
Actually, I am taking the values of net_msg_ptr in flitiSize( ) function right 
at the beginning therefore for one packet that function would be called only 
once. Moreover, if an L1 miss happens then only the packet comes to the network 
and split into flits. So the possibility of getting packet at network interface 
due to L1 hit vanishes, doesn't it? And I am avoiding the scenario that can 
lead to repetition of net_msg_ptr due to multiple flits of the same packet. I 
still don't understand that why do the values of net_msg_ptr repeat?
..
Thank you

From: Bharadwaj, Srikant 
Sent: 01 May 2021 12:54
To: gem5 users mailing list 
Cc: NAVNEET KUMAR ; Krishna, Tushar 

Subject: RE: [gem5-users] Re: Duplicate net_msg_ptr values


Hi Navneet,

In addition to the possibility of a broadcast, you should note that a message 
may also be reused by cache controllers in certain protocols. It would mean 
that the same message will be seen by a L1 network interface and then by L2 
network interface later if it misses on both.

Also, multiple flits from the same packet will have same message pointer so 
make sure you are not checking it for each flit of the same packet.



Thanks,

Srikant



From: Krishna, Tushar via gem5-users 
Sent: Wednesday, April 28, 2021 3:14 PM
To: gem5 users mailing list 
Cc: NAVNEET KUMAR ; Krishna, Tushar 

Subject: [gem5-users] Re: Duplicate net_msg_ptr values



[CAUTION: External Email]

There might be a broadcast happening which NetworkInterface.cc breaks into 
several unicasts. Depends on the protocol you are running.



Best,

Tushar

On Apr 28, 2021, 2:23 PM -0400, NAVNEET KUMAR via gem5-users 
mailto:gem5-users@gem5.org>>, wrote:


Hello,  gem5 community,

 In file gem5/src/mem/ruby/network/garnet2.0/networkinterface.cc, in function 
flitisizeMessage() I printed the net_msg_ptr which is a pointer to the message 
class. But many times the value of net_msg_ptr repeated.  I did not expect 
that, I was assuming that for every network packet, the net_msg_ptr value is 
unique. Can you please give me some brief idea, why is that happening?



Thank you,
NAVNEET


___
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] Re: Ruby in Arm?

2021-05-09 Thread adrian via gem5-users
Hi Giacomo,

Thanks for your response. I've managed to run the simulator with a single core. 
However, I cannot do the same with more than one.
This is the command I use to boot.

./build/ARM/gem5.opt --outdir m5out/booted_machine_4 configs/example/fs.py 
--kernel=binaries/vmlinux.arm64 --cpu-type=AtomicSimpleCPU --num-cpus=4 
--mem-size=2GB --disk-image disks/gem5-ubuntu16.04-aarch64.img --script 
configs/boot/hack_back_ckpt.rcS

I get the following message in the terminal:

[0.048079] smp: Bringing up secondary CPUs ...
[1.088619] CPU1: failed to come online
[1.088622] CPU1: failed in unknown state : 0x0
[2.145168] CPU2: failed to come online
[2.145171] CPU2: failed in unknown state : 0x0
[3.201716] CPU3: failed to come online
[3.201719] CPU3: failed in unknown state : 0x0
[3.201737] smp: Brought up 1 node, 1 CPU

I do not get this error when using the fs_bigLITTLE.py file. My gem5 version is 
21.0.0.0. What could be happening? 

Thanks,
Adrián
___
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] Re: Duplicate net_msg_ptr values

2021-05-09 Thread NAVNEET KUMAR via gem5-users
Hello Srikant,
Actually, I am taking the values of net_msg_ptr in flitiSize( ) function right 
at the beginning therefore for one packet that function would be called only 
once. Moreover, if an L1 miss happens then only the packet comes to the network 
and split into flits. So the possibility of getting packet at network interface 
due to L1 hit vanishes, doesn't it? And I am avoiding the scenario that can 
lead to repetition of net_msg_ptr due to multiple flits of the same packet. I 
still don't understand that why do the values of net_msg_ptr repeat?
..
Thank you

From: Bharadwaj, Srikant 
Sent: 01 May 2021 12:54
To: gem5 users mailing list 
Cc: NAVNEET KUMAR ; Krishna, Tushar 

Subject: RE: [gem5-users] Re: Duplicate net_msg_ptr values


Hi Navneet,

In addition to the possibility of a broadcast, you should note that a message 
may also be reused by cache controllers in certain protocols. It would mean 
that the same message will be seen by a L1 network interface and then by L2 
network interface later if it misses on both.

Also, multiple flits from the same packet will have same message pointer so 
make sure you are not checking it for each flit of the same packet.



Thanks,

Srikant



From: Krishna, Tushar via gem5-users 
Sent: Wednesday, April 28, 2021 3:14 PM
To: gem5 users mailing list 
Cc: NAVNEET KUMAR ; Krishna, Tushar 

Subject: [gem5-users] Re: Duplicate net_msg_ptr values



[CAUTION: External Email]

There might be a broadcast happening which NetworkInterface.cc breaks into 
several unicasts. Depends on the protocol you are running.



Best,

Tushar

On Apr 28, 2021, 2:23 PM -0400, NAVNEET KUMAR via gem5-users 
mailto:gem5-users@gem5.org>>, wrote:


Hello,  gem5 community,

 In file gem5/src/mem/ruby/network/garnet2.0/networkinterface.cc, in function 
flitisizeMessage() I printed the net_msg_ptr which is a pointer to the message 
class. But many times the value of net_msg_ptr repeated.  I did not expect 
that, I was assuming that for every network packet, the net_msg_ptr value is 
unique. Can you please give me some brief idea, why is that happening?



Thank you,
NAVNEET


___
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