[gem5-users] gem5 cc-NUMA with Ruby
Hi all,I'm trying to config cc-NUMA system with RUBY(directory protocol), and I searched all the mail-list and read all NUMA related subject and found some information helpful but not enouth: There are only two subjects about cc-NUMA with RUBY: 1. https://www.mail-archive.com/gem5-users@gem5.org/msg06394.html Nilay Vaish said maybe coherence should be modified to support cc-NUMA 2. https://www.mail-archive.com/gem5-users@gem5.org/msg14942.html Jason Lowe-Power give a hint that using MOESI_CMP_Dir and read the "learning_gem5" section There is one subject about cc-NUMA with CLASSIC memory model, which not related and I had already finish this: 3. https://www.mail-archive.com/gem5-users@gem5.org/msg09733.html Andreas Hansson give some advice on how to config cc-NUMA, but it's about CLASSIC memory model in gem5 which only support SNOOPING protocol. With all those information, I had some questions about config cc-NUMA system with RUBY: 1. if connect two clusters with "glue" cache in RUBY system, is that "glue" cache should be coherent? if it is, the "glue" cache should be created by SLICC and the coherence protocol should be modified in *.sm files jus as Nilay Vaish said. Thanks a lot! B.R. Heron___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[gem5-users] what are the statistics responsible for access to the cache memory in the stats.txt file.
Hi all; I am beginner with gem5; what are the statistics that are responsible for cache access, and the power consumption in the stats.txt file. thanks; ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[gem5-users] what are the statistics responsible for access to the cache memory in the stats.txt file.
Hi all; I am beginner with gem5; what are the statistics that are responsible for cache access, and the power consumption in the stats.txt file. thanks; ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[gem5-users] How to get graphical output and user touch / keyboard / mouse input in a full system simulation?
Hopefully with fs.py, but not necessarily. For example, I have some x86 BIOS example that draw a line on the screen on QEMU, and I'd like to see that work on gem5 too. Also interested in ARM. ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[gem5-users] Using Simpoints in gem5
Hello Does the system config (CPU, caches, etc) used while taking checkpoints need to be the same as the one used while restoring from checkpoints? I used AtomicSimpleCPU while taking checkpoints, but I seem to see very poor results when I use a different CPU while restoring. Thanks Pawan B Joshi Electrical and Computer Engineering The University of Texas-Austin ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Re: [gem5-users] Using Simpoints in gem5
What do you mean by poor results? My experiments with changes of cache size and CPU type gave results which seem consistent: - https://github.com/cirosantilli/linux-kernel-module-cheat/blob/237b7603b7972142a99aab1a609aef12522d0ef7/gem5-bench-cache#L39 - https://stackoverflow.com/questions/49011096/how-to-switch-cpu-models-in-gem5-after-restoring-a-checkpoint-and-then-observe-t/49673265#49673265 On Sun, May 6, 2018 at 7:17 PM, Pawan Joshi wrote: > Hello > Does the system config (CPU, caches, etc) used while taking checkpoints need > to be the same as the one used while restoring from checkpoints? I used > AtomicSimpleCPU while taking checkpoints, but I seem to see very poor > results when I use a different CPU while restoring. > > Thanks > Pawan B Joshi > Electrical and Computer Engineering > The University of Texas-Austin > > ___ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[gem5-users] Access stats during runtime
Hi all, I would like to access the stats file during runtime. But I am not sure how to do it. I am running x86 architecture in FS mode. I have been cracking my head the last 3 weeks and really appreciate if someone can provide some guidance. Thanks. Regards, Elena ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Re: [gem5-users] Access stats during runtime
Hi Elena, is this different from: http://m5sim.org/cgi-bin/mailman/private/gem5-users/2018-May/031456.html ? Please provide more details: what do you want to achieve? What stat do you want to read and why? On Sun, May 6, 2018 at 10:31 PM, Woo L.L. wrote: > Hi all, > > I would like to access the stats file during runtime. But I am not sure how > to do it. I am running x86 architecture in FS mode. I have been cracking my > head the last 3 weeks and really appreciate if someone can provide some > guidance. > Thanks. > > Regards, > Elena > > ___ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Re: [gem5-users] Access stats during runtime
Hi Ciro, It is the same issue, but there was no answer so I decided to ask a subset of the question again in a different way. I am interested in the CPU stats - system.cpu.committedInsts, system.cpu.dcache.overall_misses, system.cpu.icache.overall_misses These stats create a different profile for every different benchmark that I run, and if an injected fault create an error which manifests as a failure, the profile deviates. The idea is to have another core functioning as a monitor and monitor these stats during runtime so that if the stats value starts to deviate, the 2nd core can provide an interrupt signal to the main core to halt the execution. This is what I want to achieve in a general way. But I am stuck at figuring how to access the stats file as it sits outside the disk image. Thanks. Regards Elena On 06/05/2018, 11:05 PM, "gem5-users on behalf of Ciro Santilli" wrote: >Hi Elena, is this different from: >http://m5sim.org/cgi-bin/mailman/private/gem5-users/2018-May/031456.html >? > >Please provide more details: what do you want to achieve? What stat do >you want to read and why? > >On Sun, May 6, 2018 at 10:31 PM, Woo L.L. wrote: >> Hi all, >> >> I would like to access the stats file during runtime. But I am not sure >>how >> to do it. I am running x86 architecture in FS mode. I have been >>cracking my >> head the last 3 weeks and really appreciate if someone can provide some >> guidance. >> Thanks. >> >> Regards, >> Elena >> >> ___ >> gem5-users mailing list >> gem5-users@gem5.org >> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >___ >gem5-users mailing list >gem5-users@gem5.org >http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Re: [gem5-users] Access stats during runtime
Do you want to access a host file (stats.txt) from a Linux guest? If that is the case, can you either use `m5 readfile` (maybe not since taken by your rc script, and only works for a single file at a time) or http://gem5.org/WA-gem5 (broken pending trivial patch when I last checked)? On Sun, May 6, 2018 at 11:43 PM, Woo L.L. wrote: > Hi Ciro, > > It is the same issue, but there was no answer so I decided to ask a subset > of the question again in a different way. > > I am interested in the CPU stats - system.cpu.committedInsts, > system.cpu.dcache.overall_misses, system.cpu.icache.overall_misses > These stats create a different profile for every different benchmark that > I run, and if an injected fault create an error which manifests as a > failure, the profile deviates. The idea is to have another core > functioning as a monitor and monitor these stats during runtime so that if > the stats value starts to deviate, the 2nd core can provide an interrupt > signal to the main core to halt the execution. > > This is what I want to achieve in a general way. But I am stuck at > figuring how to access the stats file as it sits outside the disk image. > Thanks. > > Regards > Elena > > On 06/05/2018, 11:05 PM, "gem5-users on behalf of Ciro Santilli" > wrote: > >>Hi Elena, is this different from: >>http://m5sim.org/cgi-bin/mailman/private/gem5-users/2018-May/031456.html >>? >> >>Please provide more details: what do you want to achieve? What stat do >>you want to read and why? >> >>On Sun, May 6, 2018 at 10:31 PM, Woo L.L. wrote: >>> Hi all, >>> >>> I would like to access the stats file during runtime. But I am not sure >>>how >>> to do it. I am running x86 architecture in FS mode. I have been >>>cracking my >>> head the last 3 weeks and really appreciate if someone can provide some >>> guidance. >>> Thanks. >>> >>> Regards, >>> Elena >>> >>> ___ >>> gem5-users mailing list >>> gem5-users@gem5.org >>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >>___ >>gem5-users mailing list >>gem5-users@gem5.org >>http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > ___ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Re: [gem5-users] Access stats during runtime
Yes, that was the intention - to access the host file from a Linux guest. I will study the Workload Automation more in depth as well as look into m5 readfile. Another way which I was thinking if it is possible to just get the required stats printed on the terminal, and send those information to a named pipe to be read by another terminal. Can I change the code to output certain stats on the terminal? Thanks and regards, Elena > On 7 May 2018, at 12:23 AM, Ciro Santilli wrote: > > Do you want to access a host file (stats.txt) from a Linux guest? > > If that is the case, can you either use `m5 readfile` (maybe not since > taken by your rc script, and only works for a single file at a time) > or http://gem5.org/WA-gem5 (broken pending trivial patch when I last > checked)? > >> On Sun, May 6, 2018 at 11:43 PM, Woo L.L. wrote: >> Hi Ciro, >> >> It is the same issue, but there was no answer so I decided to ask a subset >> of the question again in a different way. >> >> I am interested in the CPU stats - system.cpu.committedInsts, >> system.cpu.dcache.overall_misses, system.cpu.icache.overall_misses >> These stats create a different profile for every different benchmark that >> I run, and if an injected fault create an error which manifests as a >> failure, the profile deviates. The idea is to have another core >> functioning as a monitor and monitor these stats during runtime so that if >> the stats value starts to deviate, the 2nd core can provide an interrupt >> signal to the main core to halt the execution. >> >> This is what I want to achieve in a general way. But I am stuck at >> figuring how to access the stats file as it sits outside the disk image. >> Thanks. >> >> Regards >> Elena >> >> On 06/05/2018, 11:05 PM, "gem5-users on behalf of Ciro Santilli" >> wrote: >> >>> Hi Elena, is this different from: >>> http://m5sim.org/cgi-bin/mailman/private/gem5-users/2018-May/031456.html >>> ? >>> >>> Please provide more details: what do you want to achieve? What stat do >>> you want to read and why? >>> On Sun, May 6, 2018 at 10:31 PM, Woo L.L. wrote: Hi all, I would like to access the stats file during runtime. But I am not sure how to do it. I am running x86 architecture in FS mode. I have been cracking my head the last 3 weeks and really appreciate if someone can provide some guidance. Thanks. Regards, Elena ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >>> ___ >>> gem5-users mailing list >>> gem5-users@gem5.org >>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >> >> ___ >> gem5-users mailing list >> gem5-users@gem5.org >> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > ___ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users