Re: [m5-users] Schedule a thread between cpus?

2007-10-29 Thread Korey Sewell
On thread management in cores: there are bunch of thread utility functions like suspend(), activate(), etc. located in the cpu/thread_context.hh file. These are all virtual and overridden for the O3 model. The O3CPU calls these functions in cpu.cc somewhere. And also, all the threads in the syste

Re: [m5-users] compile program on the FS simulator

2007-10-29 Thread Ali Saidi
You need to either compile it on an Tru64/Alpha or Linux/Alpha or use a cross compiler. For instructions on building a cross compiler look at this page: http://www.m5sim.org/wiki/index.php/Using_linux- dist_to_Create_Disk_Images_and_Kernels_for_M5 Ali On Oct 29, 2007, at 8:55 PM, <[EMAIL PR

Re: [m5-users] Schedule a thread between cpus?

2007-10-29 Thread Ali Saidi
On Oct 29, 2007, at 8:04 PM, Rick Strong wrote: This sounds like what I want to do. I am trying to get two threads from two separate checkpoints to run in a SMT core under ALPHA_SE. I can get both threads to run in separate cores, I am just trying to figure out a good way to get them to mo

Re: [m5-users] Resources for M5 newbies

2007-10-29 Thread Gabriel Michael Black
julian bui wrote: > Hi all, > > I've never used M5 before. I'm trying to learn how to get everything > set up. I have two main things I need to figure out: > > 1) I need to see some example scripts for a *multi-core* CPU > (or *chip-level multiprocessor*, > *C

[m5-users] Resources for M5 newbies

2007-10-29 Thread julian bui
Hi all, I've never used M5 before. I'm trying to learn how to get everything set up. I have two main things I need to figure out: 1) I need to see some example scripts for a *multi-core* CPU(or *chip-level multiprocessor*, *CMP*) just to see how things are done

[m5-users] compile program on the FS simulator

2007-10-29 Thread wangx
Hi, I am trying to run some program (c code) on the FS simulator. Does the simulator provide any compiler so that I can compile the program in the simulation system? If no, can I just compile the program in some linux system and run it on the simulator? Thanks a lot. Xin ___

Re: [m5-users] Schedule a thread between cpus?

2007-10-29 Thread Ali Saidi
You should be able to switch from two simple cpus into an smt o3 core, although I don't think it's been done for a little while. That isn't scheduling per-say, so I'm not 100% sure I've answered your question. I still think the general problem is that if you have to some how restore indi

Re: [m5-users] Schedule a thread between cpus?

2007-10-29 Thread Korey Sewell
I'm not sure how well this would work or not but it may be possible to define your own system call(s) in M5 that would handle whatever special thread scheduling that you are trying to do. On 10/29/07, Rick Strong <[EMAIL PROTECTED]> wrote: > Hi, > > Is there any good method of scheduling a thread

[m5-users] How to do smt simulations.

2007-10-29 Thread Rick Strong
Hi, I am wondering how to set the parameters in O3CPU.py: smtNumFetchingThreads = Param.Unsigned("SMT Number of Fetching Threads") smtFetchPolicy = Param.String("SMT Fetch policy") smtLSQPolicy= Param.String("SMT LSQ Sharing Policy") smtLSQThreshold = Param.String("SMT LSQ Thresh

[m5-users] Schedule a thread between cpus?

2007-10-29 Thread Rick Strong
Hi, Is there any good method of scheduling a thread between CPUs? I am trying open two threads from a checkpoint and put them into a SMT processor. What would be the best way to proceed. I could imagine scheduling them from a single core to a SMT core, or just finding a way to schedule them t