Hi Guru,

I am just using a default simpleatomic CPU and not O3CPU. I dont exactly
understand how to run gdb. Do I need to run gdb inside the m5term terminal
on my sample program, or do I need to start the gem.opt program with gdb ?


Regards
Rahul

On Sat, Dec 27, 2014 at 8:28 AM, Guru Prasad <[email protected]> wrote:

> Could you maybe paste the code? I haven't done any x86 simulations, but
> multiple core runs on ARM simulations have run fine and completed
> successfully for me. Also, if you're using O3CPU, then long running time is
> quite possible given that you're stressing the CPU greatly (loop).
> You could try to run the program within gdb and signal gdb to stop after
> 6hours or so to check the status of the loop.
>
>
> On Fri, Dec 26, 2014 at 12:15 AM, rahul shrivastava via gem5-users <
> [email protected]> wrote:
>
>> Hi,
>>
>> I have configured per core dvfs for 4 core ARM system, following the
>> steps mentioned in the website. After this I am performing the following
>> steps to run my multi threaded code
>>
>> 1) Copy my sample code to the disk image
>> 2) Start gem5
>> 3) Start m5term and login as root
>> 4) From m5term, see that all the 4 cores are online
>> 5) From m5term, compile my multi- threaded code as
>>             gcc <my_code.c> -lpthread -lm
>> 6) From m5term, start my program as
>>             ./a.out <my_prgm arguments>
>>
>> The program is a simple one which creates 3 threads and pins each thread
>> to a core and each thread then loops for some fixed number of iterations.
>>
>> But, it is more than 12 hours that the program is running and not
>> terminating.
>> On my x86 machine, the program hardly takes a minute to run.
>> Could you please let me know that whether the procedure I am following to
>> run the program is correct
>>
>>
>> Regards
>> Rahul
>>
>>
>> _______________________________________________
>> gem5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to