Lets assume that you're running something with a CPI of 1 and a CPU running at 
2 GHz:

50 minutes * 2 B instructions/sec =     600 B instructions

Lets say you're getting 1M instruction/second simulating x86 (I don't know 
exactly how fast it is, but that is the ballpark). In that case it would take 
~7 days to simulate the entire execution.

There are plenty of papers that describe ways to reduce the input set, use 
sampling, etc.

Ali


On Feb 12, 2012, at 5:16 PM, [email protected] wrote:

> Thanks for the reply Ali, but how do I reduce the input set? I am new to all 
> of this, sorry if it seem like a trivial question.
> 
> Also I doubt it takes that long to run. When I just execute the binary by 
> itself in the command line, it takes less than 5 minutes to finish executing. 
> Would it really take that long to run such a small program in gem5?
> 
> Quoting Ali Saidi <[email protected]>:
> 
>> It's probably still running. Depending on what input  set you're using it 
>> could take a very long time to simulate a spec 2006 benchmark. You'll need 
>> to reduce your input set, do or do some kind of sampling.
>> 
>> Ali
>> 
>> On Feb 12, 2012, at 4:18 PM, [email protected] wrote:
>> 
>>> Hi everyone,
>>> 
>>> I am trying to run some SPEC06 benchmarks, specifically the bzip2 benchmark 
>>> in gem5. I used the following command:
>>> 
>>> build/X86_SE/gem5.opt configs/example/se.py -c bzip2 --caches --l2cache
>>> 
>>> Notice I put the binary executable in the m5 root directory and all the 
>>> data files in the same directory as well. When I run the simulation, the 
>>> simulator seem to be stuck, I been running it over night and I get the 
>>> following output.
>>> 
>>> Any advice is greatly appreciated. I really need some help right now!
>>> 
>>> --------------------------------------------------------------------------
>>> Global frequency set at 1000000000000 ticks per second
>>> 0: system.remote_gdb.listener: listening for remote gdb #0 on port 7001
>>> **** REAL SIMULATION ****
>>> info: Entering event queue @ 0.  Starting simulation...
>>> warn: instruction 'fnstcw_Mw' unimplemented
>>> warn: instruction 'fldcw_Mw' unimplemented
>>> spec_init
>>> Loading Input Data
>>> Duplicating 13329296 bytes
>>> warn: instruction 'prefetch_nta' unimplemented
>>> warn: instruction 'prefetch_nta' unimplemented
>>> Input data 67108864 bytes in length
>>> Compressing Input Data, level 5
>>> info: Increasing stack size by one page.
>>> info: Increasing stack size by one page.
>>> 
>>> ----------------------------------------------------------------------------
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> 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