Hi Guru,

 

Can you try --cpu-type

 

-Tao

 

From: gem5-users-boun...@gem5.org [mailto:gem5-users-boun...@gem5.org] On
Behalf Of Guru Prasad
Sent: Thursday, May 30, 2013 2:56 PM
To: gem5 users mailing list
Subject: Re: [gem5-users] Timing CPU model

 

Hi Andrws,

I'm running the simulations right now..
Could I ask how this makes a difference?

Also, (How) is this different from --cpu-type=arm_detailed?

This will be my command line..do let me know if there is an issue with it
build/ARM/gem5.fast configs/example/fs.py --kernel
/home/guru/gem5/kernel/linux-3.3-armdroid/vmlinux --disk-image
/home/guru/gem5/gem5-stable/system/disks/android_jb_pa_spec.img
--machine-type=VExpress_EMM --clock=1GHz --cpu-type=timing --num-cpus=1
--caches --cpu-type=detailed

 

R

egards

 

Guru

 

On Thu, May 30, 2013 at 2:36 PM, Andrws Vieira <andrwsvie...@gmail.com>
wrote:

Hi Guru,

 

Try to put in the end of command line: cpu-type=detailed

 

Like this ->  build/ARM/gem5.fast configs/example/fs.py --kernel
/home/guru/gem5/kernel/linux-3.3-armdroid/vmlinux --disk-image
/home/guru/gem5/gem5-stable/system/disks/android_jb_pa_spec.img
--machine-type=VExpress_EMM --clock=4GHz --cpu-type=timing --num-cpus=1
--cpu-type=detailed

 

 

[]'s

 

2013/5/30 Guru Prasad <gurup...@buffalo.edu>

Here are some results

                Atomic

01 GHz           
Time taken :0.1000006s
Number     :142617

04 GHz

Time taken :0.1000003s
Number     :575327

10 GHz
Time taken :0.1000003s
Number     :1428815



                Timing

01 GHz
Time taken :0.1000310s
Number     :4597

04 GHz
Time taken :0.1000302s
Number     :4657

10 GHz
Time taken :0.1000297s
Number     :4643

 

Maybe this is how timing is supposed to work..I'm not sure..

I just didn't understand it and wanted to ask other users

Regards

Guru

 

On Thu, May 30, 2013 at 2:09 PM, Guru Prasad <gurup...@buffalo.edu> wrote:

Hi Andreas,

The output of my program is the same.

I'm running primality test program that is given a time bound.

I

t returns the last number that it tested when it runs out of time.

I would expect the last number computed to differ based on frequency
specified while running Gem5.

This differs significantly when using both, Atomic model and O3..
But regardless of the --clock parameter, timing model always gives me
results that are very close.



My command line parameters are 

build/ARM/gem5.fast configs/example/fs.py --kernel
/home/guru/gem5/kernel/linux-3.3-armdroid/vmlinux --disk-image
/home/guru/gem5/gem5-stable/system/disks/android_jb_pa_spec.img
--machine-type=VExpress_EMM --clock=4GHz --cpu-type=timing --num-cpus=1

I am working with a slightly outdated gem5 source..I believe my revision is
9197

 

On Thu, May 30, 2013 at 1:57 PM, Andreas Hansson <andreas.hans...@arm.com>
wrote:

Hi Guru,

 

Could you perhaps elaborate on "same results"? Are all stats exactly the
same, or is the output of the program the same? Also, what config script are
you running?

 

Andreas

 

From: Guru Prasad <gurup...@buffalo.edu>
Reply-To: gem5 users mailing list <gem5-users@gem5.org>
Date: Thursday, 30 May 2013 18:45
To: "gem5-users@gem5.org" <gem5-users@gem5.org>, "gem5-...@gem5.org"
<gem5-...@gem5.org>
Subject: [gem5-users] Timing CPU model

 

I was recently running some tests using the timing CPU model and noticed
that my cpu-bound workload was always producing the same results regardless
of the --clock parameter specified.

I tested this with
--clock=0.1GHz (not sure if floating points work for parameters)
--clock=1GHz
--clock=4GHz
--clock=10GHz

Could anyone explain to me why this is the case? Is there something implicit
in the timing model that I'm not quite grasping?


-- IMPORTANT NOTICE: The contents of this email and any attachments are
confidential and may also be privileged. If you are not the intended
recipient, please notify the sender immediately and do not disclose the
contents to any other person, use it for any purpose, or store or copy the
information in any medium. Thank you.

 

_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

 

 


_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users





 

-- 

Andrws Aires Vieira         

Mestrando em Computação

Universidade Federal do Rio Grande do Sul - UFRGS


_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

 

_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to