Re: [PATCH v1 12/18] tests/vm: allow us to take advantage of MTTCG

2020-06-29 Thread Philippe Mathieu-Daudé
On 6/29/20 4:41 PM, Alex Bennée wrote: > > Richard Henderson writes: > >> On 6/22/20 7:31 AM, Alex Bennée wrote: >>> if kvm_available(vmcls.arch): >>> return multiprocessing.cpu_count() // 2 >>> +elif os.uname().machine == "x86_64" and \ >>> + vmcls.arch

Re: [PATCH v1 12/18] tests/vm: allow us to take advantage of MTTCG

2020-06-29 Thread Alex Bennée
Richard Henderson writes: > On 6/22/20 7:31 AM, Alex Bennée wrote: >> if kvm_available(vmcls.arch): >> return multiprocessing.cpu_count() // 2 >> +elif os.uname().machine == "x86_64" and \ >> + vmcls.arch in ["aarch64", "x86_64", "i386"]: >> +

Re: [PATCH v1 12/18] tests/vm: allow us to take advantage of MTTCG

2020-06-26 Thread Alex Bennée
Richard Henderson writes: > On 6/22/20 7:31 AM, Alex Bennée wrote: >> if kvm_available(vmcls.arch): >> return multiprocessing.cpu_count() // 2 >> +elif os.uname().machine == "x86_64" and \ >> + vmcls.arch in ["aarch64", "x86_64", "i386"]: >> +

Re: [PATCH v1 12/18] tests/vm: allow us to take advantage of MTTCG

2020-06-26 Thread Richard Henderson
On 6/22/20 7:31 AM, Alex Bennée wrote: > if kvm_available(vmcls.arch): > return multiprocessing.cpu_count() // 2 > +elif os.uname().machine == "x86_64" and \ > + vmcls.arch in ["aarch64", "x86_64", "i386"]: > +# MTTCG is available on these arche

Re: [PATCH v1 12/18] tests/vm: allow us to take advantage of MTTCG

2020-06-22 Thread Robert Foley
Reviewed-by: Robert Foley On Mon, 22 Jun 2020 at 10:38, Alex Bennée wrote: > > We currently limit TCG guests to -smp 1 but now we have added some > aarch64 guests we can do better when running on x86_64 hardware. > Raise the limit for TCG guests when it is safe to do so. > > Signed-off-by: Alex

[PATCH v1 12/18] tests/vm: allow us to take advantage of MTTCG

2020-06-22 Thread Alex Bennée
We currently limit TCG guests to -smp 1 but now we have added some aarch64 guests we can do better when running on x86_64 hardware. Raise the limit for TCG guests when it is safe to do so. Signed-off-by: Alex Bennée --- tests/vm/basevm.py | 6 ++ 1 file changed, 6 insertions(+) diff --git a