Hello

I am using CHI and I want to model the scenario where the CPUs are in a cluster 
and each cluster CPU has private L1 and L2 caches.

I have modified CHI.py and CHI_config.py.

In CHI_config.py, I have taken a copy of CHI_RNF() class object and renamed the 
copied version CHI_RNF_CLUST_PRIV_L2(). Within this new class object I have 
modified the code to realise a private L2cache for each CPU in the cluster.

I have tried to test with the generation of one cluster 
(ruby_system.littleCluster) with four CPUs.

I am attaching the WinZip rar file which includes the modified versions of 
CHI.py, CHI_config.py. Also included is the log file from generating one 
cluster and zero cluster.

Have added print statements for debugging. In particular, for the modified 
CHI.py, added print statement between lines   574-576, I get the following 
output:

CHI.py -- Cntrl is <orphan System>.cpu0.l1i
CHI.py -- Cntrl is <orphan System>.cpu0.l1d
CHI.py -- Cntrl is <orphan System>.cpu1.l1i
CHI.py -- Cntrl is <orphan System>.cpu1.l1d
CHI.py -- Cntrl is <orphan System>.cpu2.l1i
CHI.py -- Cntrl is <orphan System>.cpu2.l1d
CHI.py -- Cntrl is <orphan System>.cpu3.l1i
CHI.py -- Cntrl is <orphan System>.cpu3.l1d
CHI.py -- Cntrl is <orphan System>.cpu0.l2
CHI.py -- Cntrl is <orphan System>.cpu1.l2
CHI.py -- Cntrl is <orphan System>.cpu2.l2
CHI.py -- Cntrl is <orphan System>.cpu3.l2

When I look at the above debug output, it is not clear whether four private 
L2$'s have been generated or just one L2$ which is shared between all four 
CPUs. I am comparing the above with the output when zero clusters are specified 
(log file for zero clusters is also attached).

Could someone with more expertise in CHI implementation in GEM5 than myself, 
please let me know if the generated L2$'s for one cluster are private or shared>

Thanks in advance.

JO

Attachment: chi_one_cluster.rar
Description: chi_one_cluster.rar

_______________________________________________
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