I guess it is supposed that the "configs/common/CacheConfig.py" should 
set these parameters for the processor at the first place, right ??



On the other hand, such info exists on the following path (for my host 
machine) :

/sys/devices/system/cpu/cpu0/cache/index1



However, the "/sys" directory is empty on the x86 disk image downlowaded 
from gem5 website, even after booting up the system





another strange note is that it even ignores the default values found in 
configs/common/Options which are

    parser.add_option("--l1d_size", type="string", default="64kB")

    parser.add_option("--l1i_size", type="string", default="32kB")

    parser.add_option("--l2_size", type="string", default="2MB")



Thanks alot for your time and effort



Regards,

Mostafa


> Date: Thu, 3 Jan 2013 12:08:02 -0600
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> Subject: Re: [gem5-users] X86 FS + ruby command line options are ignored
> 
> On Mon, 31 Dec 2012, Mostafa Mahmoud Hassan wrote:
> 
> >
> >
> >
> >
> >
> >
> > Dear All,
> >
> > I am trying to run GEM5 FS mode for X86 ISA with ruby. I am using this 
> > command
> >
> > ./build/X86_MESI_CMP_directory/gem5.opt -d 
> > /home/mostafa/GEM5/temp_sim_results/16P_FBV_x86_fft 
> > ./configs/example/ruby_fs.py --cpu-type=timing -n 4 --clock='2GHz' 
> > --l1i_size=128kB --l1d_size=128kB --l2_size=8MB --num-l2caches=4 
> > --num-dirs=1 --cacheline_size=16 --caches --ruby --topology=Crossbar 
> > --script=configs/boot/fft_only.rcS
> >
> > but it seems that it ignores my chioces for cache sizes, the system 
> > terminal shows the follwing
> >
> > Mount-cache hash table entries: 256
> > CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
> > CPU: L2 Cache: 1024K (64 bytes/line)
> >
> >
> > it is even different from the default values that can be found in 
> > "Options.py" which are
> > parser.add_option("--l1d_size", type="string", default="64kB")
> >    parser.add_option("--l1i_size", type="string", default="32kB")
> >    parser.add_option("--l2_size", type="string", default="2MB")
> >
> > which totally different from my chosen values for these options. can any 
> > one explain ??
> >
> 
> Try to figure out how the linux kernel obtains these values from an X86 
> processor.
> 
> --
> Nilay
                                          
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to