Hello Saideepak,

Unfortunately, gem5 doesn't support x86+SMT right now. See
https://gem5.atlassian.net/browse/GEM5-332 for details.

Cheers,
Jason

On Sat, Jul 18, 2020 at 7:58 PM Saideepak Bejawada via gem5-users <
[email protected]> wrote:

> Hi all,
>
> I have a few questions regarding SMT in gem5.
> 1. I tried running SMT in SE mode. The option '--smt' says "Only used if
> multiple programs are specified. If true, then the number of threads per
> CPU is the same as the number of programs." Does this mean I don't have to
> set the no.of hardware contexts variable in cpu/BaseCPU.py? (I read in
> older posts that I have to set it)
>
> 2. I ran this command to run two hello world in SMT on a single O3 CPU,
>       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
> --cpu-type=DerivO3CPU --caches --l2cache --smt
> I separated two programs using ';'. I can see two Hello World getting
> printed but it always executes using 'AtomicSimpleCPU' and no caches even
> though I have given them in the command. I observed while running, gem5
> prints the command line
> 'build/X86/gem5.opt configs/example/se.py -c
> tests/test-progs/hello/bin/x86/linux/hello'
>  that means it didn't consider the command after ';'(that is why there is
> no timing CPU and no caches). But why it still prints two hello worlds?
>  Is ';(semi-colon)' not the correct way to specify multiple programs?
>
> 3. How do I run two programs in SMT in FS mode?(Assuming it is possible
> now in FS mode) There is an option --smt in FS mode too. But how should I
> give multiple programs as input?
>
> Any comments are welcome. Thanks for your time.
>
> Thanks,
> Saideepak.
> _______________________________________________
> gem5-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
>
_______________________________________________
gem5-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to