On May 1, 2013, at 4:00 PM, Newton Singh <[email protected]> wrote:

> Hi all,
> 
> I want to create a single core and multiple threads to execute the workload.
> 
> I want to know what changes i should do for the same.
> Is modifying here and rebuilding gem5.XXX sufficient to change num of threads.
> smtNumFetchingThreads = Param.Unsigned(1, "SMT Number of Fetching Threads")
> 
> I tried modifying O3CPU.py
> smtNumFetchingThreads = Param.Unsigned(2, "SMT Number of Fetching Threads")
> smtFetchPolicy = Param.String('branch', "SMT Fetch policy") 
> 
> and hardcoding number of thread in se.py
> 
> CPUClass.numThreads = 2
> 
> But output came to be
> Segmentation fault (core dumped)
> 
> Can someone please explain me the steps to follow for SMT.
> 
> My goal is to create 2 threads on a core and execute a workload which has 
> enough ILP for 2 threads. 
> 
> Can i use "queens" as a workload for this task or do i have to write a 
> another file having enough ILP.
> 
> -- 
> Thanks
> Newton
> MTech, IIT Bombay
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

If you look at the regression tests in the tests directory, there is a test 
case that runs the cpu in SMT mode. Also if you could debug the reason for the 
segfault, we'd appreciate it.

Thanks,

Ali

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

Reply via email to