On Wed, May 23, 2012 at 8:20 AM, Bojun Ma <[email protected]> wrote:

> Hi,Shankar,
>    I  try to use the command line like yours. But the situation does not
> change.
>    Does --options="/home/linux/GEM5/input.program" means that you only use
> input.program this single one as the input? I mean in the input set of gzip
> there are some other input file like input.random, input.combined, ect.
>

yes,  only one input file at once,  you would be running

./gzip input.program
./gzip input.source

and so on




>     Another question is “--cmd /home/linux/GEM5/gzip ”, gzip is the
> excutable binary file, right?
>


Yes, gzip is executable..


>
> Regards,
> Bojun
>
>
>
> On Tue, May 22, 2012 at 4:36 AM, Shankar Ganesh 
> <[email protected]>wrote:
>
>>
>>  One thing I am not clear is where should I put the compiled benchmark
>>> binaries and input set? And how to add path to it.
>>>
>>>
>> You can specify the absolute path  to the command like :
>> ./build/ARM_SE/gem5.opt --outdir=mcf --trace-file=mcf.trace
>> --trace-start=200 configs/example/se.py -d --caches --cmd
>> /home/linux/GEM5/gzip --options="/home/linux/GEM5/input.program
>>
>>
>>
>>> Thanks,
>>> Bojun
>>>
>>>
>>> On Tue, May 22, 2012 at 3:32 AM, Mahmood Naderan 
>>> <[email protected]>wrote:
>>>
>>>> If native execution takes 5 minutes and  you set the frequency to 1GHz
>>>> (in the simulator) and CPI is 1 then:
>>>>
>>>> 5*1B = 5B instructions.
>>>>
>>>> Depending on the speed of your host computer and the binary you use
>>>> (m5.debug or m5.fast) if the simulator speed is 1M instructions per second
>>>> then simulation of a 5 minute application  will take 5B/1M=5000 seconds.
>>>>
>>>> I think this has been discussed before.
>>>>
>>>> // Naderan *Mahmood;
>>>>
>>>>
>>>>
>>>>  On Tue, May 22, 2012 at 11:52 AM, Bojun Ma <[email protected]> wrote:
>>>>
>>>>>  Hi, all
>>>>>    I cross-compiled SPEC benchmark and got the ARM binaries of CPU2000.
>>>>>    I'd like to run it in ARM SE mode.
>>>>>    ( I didn't use cpu2000.py)
>>>>>
>>>>>    Take gzip as an example, I put both the binary of gzip and one of
>>>>> its input( input.random) in the directory of gem5.
>>>>>
>>>>> I used the command line like this: ( I didn't use cpu2000.py)
>>>>>
>>>>>    command line: build/ARM/gem5.opt configs/example/se.py --cmd=gzip
>>>>> --input=input.random
>>>>>
>>>>>    The simulation seems stops but there is no error information,like
>>>>> this:
>>>>>
>>>>>    Global frequency set at 1000000000000 ticks per second
>>>>> 0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
>>>>> **** REAL SIMULATION ****
>>>>> info: Entering event queue @ 0.  Starting simulation...
>>>>> spec_init
>>>>> Loading Input Data
>>>>> Duplicating 3121844 bytes
>>>>> Duplicating 6243688 bytes
>>>>> Duplicating 12487376 bytes
>>>>> Duplicating 24974752 bytes
>>>>> Duplicating 17159360 bytes
>>>>> Input data 67108864 bytes in length
>>>>> Compressing Input Data, level 1
>>>>>
>>>>>
>>>>> -----------------------------------------------------------------------------------------------------------
>>>>> It just stayed at this stage.
>>>>> I am not sure if the simulation is continuing.
>>>>> I guess the problem is I didn't put the input file in the correct
>>>>> place and didn't add a path of it, is that?
>>>>> Can anyone give some suggestion for me?
>>>>>
>>>>> Any suggestion of how to run SPEC CPU2000 benchmark in SE mode is
>>>>> appreciated.
>>>>>
>>>>> Thanks in advance.
>>>>>
>>>>> Regards,
>>>>> Bojun Ma
>>>>>
>>>>> ----------------------------------------------------------------------------------------------------------------
>>>>> M.S Candidate
>>>>> Department of Electrical and Computer Engineering
>>>>> Michigan Technological University
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>
>
> _______________________________________________
> 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