before set the configerations, you need to set the kernel then only it
will override the exiting configurations other wise it will give same
configuration whatever you will specify.

  these is happening in X86 , may it is applicable for ARM

> Hello,
>
>
> I'm new to gem5 and trying to establish simulation environment of three
> level caches with different cache line size using gem5.
> I have managed to modify some codes and configurations of gem5. However, I
> always got error messages below.
> I'm puzzled the relationships of between the cache line size of gem5
> system  and that of each level cache.
>
>
> I would appreciate if some one can shed some light on this.
>
>
> Best regards,
> Will
>
>
> =================================================================
> $ build/ARM/gem5.opt configs/example/BCse.py --caches --l1i_size=4kB
> --l1i_assoc=128 --l1i_block_size=32 --l1d_size=4kB --l1d_assoc=128
> --l1d_block_size=32 --l2cache --l2_size=32kB --l2_assoc=512
> --l2_block_size=64 --l3cache --l3_size=128kB --l3_assoc=32
> --l3_block_size=128 -c tests/test-progs/hello/bin/arm/linux/hello
> gem5 Simulator System.  http://gem5.org
> gem5 is copyrighted software; use the --copyright option for details.
>
>
> gem5 compiled Jun 25 2015 10:20:16
> gem5 started Jun 25 2015 10:38:32
> gem5 executing on Stormy
> command line: build/ARM/gem5.opt configs/example/BCse.py --caches
> --l1i_size=4kB --l1i_assoc=128 --l1i_block_size=32 --l1d_size=4kB
> --l1d_assoc=128 --l1d_block_size=32 --l2cache --l2_size=32kB
> --l2_assoc=512 --l2_block_size=64 --l3cache --l3_size=128kB --l3_assoc=32
> --l3_block_size=128 -c tests/test-progs/hello/bin/arm/linux/hello
> Global frequency set at 1000000000000 ticks per second
> warn: DRAM device capacity (8192 Mbytes) does not match the address range
> assigned (512 Mbytes)
>       0: system.cpu.isa: ISA system set to: 0 0x3ea7f10
> [BChip]Size: 4096, block_size: 64, assoc: 128, sets: 0
> fatal: # of sets must be non-zero and a power of 2
>  @ tick 0
> [BaseSetAssoc:build/ARM/mem/cache/tags/base_set_assoc.cc, line 70]
> Memory Usage: 795072 KBytes
> Program aborted at cycle 0
> Aborted (core dumped)
> =================================================================
> $ build/ARM/gem5.opt configs/example/BCse.py --caches --l1i_size=4kB
> --l1i_assoc=128 --l1i_block_size=32 --l1d_size=4kB --l1d_assoc=128
> --l1d_block_size=32 --l2cache --l2_size=32kB --l2_assoc=512
> --l2_block_size=64 --l3cache --l3_size=128kB --l3_assoc=32
> --l3_block_size=128 --cacheline_size=32 -c
> tests/test-progs/hello/bin/arm/linux/hello
> gem5 Simulator System.  http://gem5.org
> gem5 is copyrighted software; use the --copyright option for details.
>
>
> gem5 compiled Jun 25 2015 10:20:16
> gem5 started Jun 25 2015 10:42:28
> gem5 executing on Stormy
> command line: build/ARM/gem5.opt configs/example/BCse.py --caches
> --l1i_size=4kB --l1i_assoc=128 --l1i_block_size=32 --l1d_size=4kB
> --l1d_assoc=128 --l1d_block_size=32 --l2cache --l2_size=32kB
> --l2_assoc=512 --l2_block_size=64 --l3cache --l3_size=128kB --l3_assoc=32
> --l3_block_size=128 --cacheline_size=32 -c
> tests/test-progs/hello/bin/arm/linux/hello
> Global frequency set at 1000000000000 ticks per second
> warn: DRAM device capacity (8192 Mbytes) does not match the address range
> assigned (512 Mbytes)
>       0: system.cpu.isa: ISA system set to: 0 0x3de0090
> [BChip:create]Size: 4096, block_size: 32, assoc: 128, sets: 1
> warn: Consider using FALRU tags for a fully associative cache
> [BChip]block_size: 32
> [BChip:create]Size: 4096, block_size: 32, assoc: 128, sets: 1
> warn: Consider using FALRU tags for a fully associative cache
> [BChip]block_size: 32
> [BChip:create]Size: 32768, block_size: 64, assoc: 512, sets: 1
> warn: Consider using FALRU tags for a fully associative cache
> [BChip]block_size: 64
> [BChip:create]Size: 131072, block_size: 128, assoc: 32, sets: 32
> [BChip]block_size: 128
> 0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
> **** REAL SIMULATION ****
> info: Entering event queue @ 0.  Starting simulation...
> panic: Page table fault when accessing virtual address 0xe5108004
>  @ tick 50000
> [invoke:build/ARM/sim/faults.cc, line 69]
> Memory Usage: 798924 KBytes
> Program aborted at cycle 50000
> Aborted (core dumped)
> =================================================================
>
>
>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users


-- 
Regards,
Gopayya,
144101053,
1st year-M.Tech,
Computer Science Engineering.
Attachments:
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to