Dear Amin; Thank your for your help.I found that "RubyQueue" flag is useful in my case. I could get massages trace using following command:
./build/ALPHA_MESI_CMP_directory/gem5.opt --debug-flags=RubyQueue --trace-file=/media/4A33-D69B/trace/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 --script=/home/dsrt/gem5/PARSEC/freqmine_4c_simmedium.rcS Regards Bahar On Sat, Aug 17, 2013 at 11:49 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
