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

Reply via email to