You need to determine which cache model you want to use. Implementation of ruby is very different from that of classic and results in different stats for multiprocessor systems. To answer your question, use --debug-help to see a list of all trace flags available. I'd suggest you add the CoherentBus trace flag as well. For classic, you can't get those messages because it is not implemented that way.
Thanks, Amin On Sat, Aug 17, 2013 at 1:19 AM, Bahar Asgari <[email protected]>wrote: > > Hello Guys, > I have a problem and I couldn't find my answer in mailing list or gem5 > documentation. I need a trace of all coherence messages pass between > caches(like PUTX,PUTS,GETS and etc) in coherence protocols like MESI. But > the best I can do is get a trace from read and write commands using > following command: > > ./build/ALPHA/gem5.opt --quiet --outdir=result > --trace-file=/home/dsrt/Desktop/my_trace.out --debug-flags=Cache > configs/example/fs.py > --disk-image=/home/dsrt/gem5/linux-parsec-2-1-m5-with-test-inputs.img > --kernel=/home/dsrt/gem5/vmlinux --cpu-type=detailed --num-cpus=4 --caches > --l1d_assoc=8 --l1d_size=32kB --l1i_size=32kB > --script=/home/dsrt/gem5/PARSEC/swaptions_4c_simmedium.rcS > > the trace of this command consists of "WriteReq" and "ReadReq" but not the > massages I want. > Also I tried this command too: > > ./build/ALPHA/gem5.opt --debug-flags=RubyCache > --trace-file=/home/dsrt/Desktop/freq.out configs/example/ruby_fs.py > --num-cpus=4 > --disk-image=/home/dsrt/gem5/linux-parsec-2-1-m5-with-test-inputs.img > --kernel=/home/dsrt/gem5/vmlinux --cpu-type=timing --ruby > --script=/home/dsrt/gem5/PARSEC/freqmine_4c_simmedium.rcS > > but like the previous one, it does not consist of coherence messages. > I was wondering if you could help me get traces of cache coherence > messages from gem5. > > Regards > Bahar > -- > Department of Computer Engineering > Iran University of Science and Technology > > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
