Hi Giacomo,

I tried your suggestion of using ( ";"), without SMT and trying
multi-programmed workload simulation.
I thought to test it using the hello world example, and I found some
problems with se.py file

My command line is
*./build/X86/gem5.fast configs/example/se.py -c
"tests/test-progs/hello/bin/x86/linux/hello;tests/test-progs/hello/bin/x86/linux/hello"
--caches --l2cache --l1d_size=32kB --l1i_size=32kB --l2_size=2MB
--l1d_assoc=8 --l1i_assoc=8 --l2_assoc=16 --cacheline_size=64
--cpu-type=DerivO3CPU --mem-type=DDR4_2400_8x8 --mem-size=8GB
--sys-clock='2.6GHz' --cpu-clock='2.6GHz' -n 2*

When I run this command the simulation prints "Hello World" twice but do
not exit simulation, the longest it ran was 59 minutes in fast mode and
there was no exit statement printed and no m5out file generated. Is there
anything else I am missing?


Jason, as you pointed this can be a problem with se.py file, can you
double-check it by testing, if that's the case then either a quick fix else
a comment line specifying limitation of se.py file should be included
within se.py file.
Carlos Escuin, there was no "Switch.cpu", thanks for your reply

Best regards,

Abhishek


On Wed, Feb 5, 2020 at 11:40 AM Giacomo Travaglini <
[email protected]> wrote:

> This is a nasty thing:
>
> get_processes(options) in se.py is manually parsing the workload list.
>
> This shouldn't happen; we should explicitly enable argument lists without
> coming up with a custom made ";" separeted synthax.
>
> Giacomo
> ------------------------------
> *From:* gem5-users <[email protected]> on behalf of Giacomo
> Travaglini <[email protected]>
> *Sent:* 05 February 2020 16:36
> *To:* gem5 users mailing list <[email protected]>
> *Subject:* Re: [gem5-users] MultiProgrammed Workload X86 O3CPU error
> using SMT
>
> ./build/X86/gem5.opt configs/example/se.py -c
> *tests/test-progs/hello/bin/x86/linux/hello;tests/test-progs/hello/bin/x86/linux/hello*
> --caches --l2cache --l1d_size=32kB --l1i_size=32kB --l2_size=2MB
> --l1d_assoc=8 --l1i_assoc=8 --l2_assoc=16 --cacheline_size=64
> --cpu-type=DerivO3CPU --mem-type=DDR4_2400_8x8 --mem-size=8GB
> --sys-clock='2.6GHz' --cpu-clock='2.6GHz' --smt
>
> The bolded argument (more specifically the ";") is confusing the OptParser.
> You should quote it
>
> ./build/X86/gem5.opt configs/example/se.py -c* "*
> tests/test-progs/hello/bin/x86/linux/hello;tests/test-progs/hello/bin/x86/linux/hello
> *"* --caches --l2cache --l1d_size=32kB --l1i_size=32kB --l2_size=2MB
> --l1d_assoc=8 --l1i_assoc=8 --l2_assoc=16 --cacheline_size=64
> --cpu-type=DerivO3CPU --mem-type=DDR4_2400_8x8 --mem-size=8GB
> --sys-clock='2.6GHz' --cpu-clock='2.6GHz' --smt
> ------------------------------
> *From:* gem5-users <[email protected]> on behalf of Abhishek
> Singh <[email protected]>
> *Sent:* 05 February 2020 16:14
> *To:* gem5 users mailing list <[email protected]>
> *Subject:* [gem5-users] MultiProgrammed Workload X86 O3CPU error using SMT
>
> Hello Everyone,
>
> I am using X86 ISA, Out of order CPU. I wanted to run a multi-programmed
> workload using SMT
>
> My command line 1 is:
>
> ./build/X86/gem5.opt configs/example/se.py -c
> tests/test-progs/hello/bin/x86/linux/hello;tests/test-progs/hello/bin/x86/linux/hello
> --caches --l2cache --l1d_size=32kB --l1i_size=32kB --l2_size=2MB
> --l1d_assoc=8 --l1i_assoc=8 --l2_assoc=16 --cacheline_size=64
> --cpu-type=DerivO3CPU --mem-type=DDR4_2400_8x8 --mem-size=8GB
> --sys-clock='2.6GHz' --cpu-clock='2.6GHz' --smt
>
>
> I am using commit *82f6d6e90.*
>
> When I run the command and check *m5out/config.ini, *the *system.cpu*
> parameter is AtomicSimpleCPU instead of DerivO3CPU.
>
> I tried the command without smt and using "-n" to run on different cores
>
> My command line 2 is:
> ./build/X86/gem5.opt configs/example/se.py -c
> tests/test-progs/hello/bin/x86/linux/hello;tests/test-progs/hello/bin/x86/linux/hello
> --caches --l2cache --l1d_size=32kB --l1i_size=32kB --l2_size=2MB
> --l1d_assoc=8 --l1i_assoc=8 --l2_assoc=16 --cacheline_size=64
> --cpu-type=DerivO3CPU --mem-type=DDR4_2400_8x8 --mem-size=8GB
> --sys-clock='2.6GHz' --cpu-clock='2.6GHz' -n 2
>
> The cpu being used is AtomicSimpleCPU instead O3CPU indicated by
> m5out/config.ini, is there any problem with my command or is there an error?
>
> Best regards,
>
> Abhishek
> 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.
> 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
> [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