The main reason we don't have an example config file for this is that it doesn't work out of the box. The code is there to assign different ASIDs when you assign multiple workloads to different threads of an SMT CPU, but since we've never used the multiprogrammed-workload-on-MP model in SE mode we've just never put in the code to use different ASIDs on different CPUs in an MP. I believe you were trying to put that in but it wasn't working. My only point is that the bug you were observing (where you thought you were fetching instructions from the wrong address space) couldn't be caused by using the wrong ASID, since the ASIDs are only used for the timing cache model and not functional memory accesses (e.g., instruction fetches).

Steve

Philip Machanick wrote:

On 10/03/2006, at 11:48 PM, Steve Reinhardt wrote:

Actually the ASID is only used by the timing cache model, so it couldn't cause this problem. In syscall emulation mode, each process has its own independent virtually addressed functional memory, so the real problem is likely that you have one process fetching instructions out of a different process's functional memory object.

This being the case it would be nice it there was a working example of a config file launching a different process on each CPU. The examples I have found so far generally launch the same process on an MP config, which then presumably forks or launches threads.

Philip Machanick                 School of ITEE, University of Queensland
Brisbane, Qld 4072, Australia          http://www.itee.uq.edu.au/~philip/
phone +61(7) 3365 2766 fax +61(7) 3365 4999  mailto:[EMAIL PROTECTED]




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
m5sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m5sim-users


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
m5sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m5sim-users

Reply via email to