Hi,
I am working with the O3 processor under smt mode. I have been trying to
activate and suspend the smt threads. To activate a thread, in tick() in
src/cpu/o3/cpu.cc, I use:
ThreadContext *src_tc=tcBase(tid);
src_tc->suspend();

To suspend a thread, again in tick() under the same file, I use
ThreadContext *src_tc=tcBase(tid);
src_tc->activate(1).

Simulation traces using Cache and O3CPU flag shows that after a thread has
been suspended, the cache occasionally still sees accesses from the
suspended thread. Also, occasionally a suspended thread will remain idle
after being activated.

What is the proper way of  suspending and activating a thread in a O3 cpu?
Thanks a lot for your help,

Steve Jian
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to