Bug#1033643: debvm: consider using cpu=cortex-a57 instead of cpu=max on arm64

2023-03-29 Thread Arnd Bergmann
On Wed, Mar 29, 2023, at 18:55, Helmut Grohne wrote: > -cpu max > Startup finished in 23.590s (kernel) + 18.210s (userspace) = 41.800s > -cpu cortex-a57 > Startup finished in 6.090s (kernel) + 8.460s (userspace) = 14.551s > -cpu max,pauth=off > Startup finished in 4.756s (kernel) + 5.678s

Bug#1033643: debvm: consider using cpu=cortex-a57 instead of cpu=max on arm64

2023-03-29 Thread Emanuele Rocca
On 2023-03-29 06:55, Helmut Grohne wrote: > At this point, my preference is max,pauth-impdef=on. Agreed. > Would someone confirm that this also speeds up on arm64? Confirmed. Thanks! ema

Bug#1033643: debvm: consider using cpu=cortex-a57 instead of cpu=max on arm64

2023-03-29 Thread Helmut Grohne
Hi Arnd, On Wed, Mar 29, 2023 at 01:12:45PM +0200, Arnd Bergmann wrote: > The machine I use has KVM support for 64-bit guests, so > I think you have this the wrong way around: If you run > the arm64 guest with TCG, I would expect to see the > same effect on an arm64 host and an x86 host. Thanks

Bug#1033643: debvm: consider using cpu=cortex-a57 instead of cpu=max on arm64

2023-03-29 Thread Emanuele Rocca
Hi, On 2023-03-29 01:12, Arnd Bergmann wrote: > a) try to reproduce the behavior on an x86-64 host Good point. Also on a x86-64 host cpu=cortex-a57 is significantly faster: max: [ 30.086331] systemd[1]: Hostname set to . cortex-a57: [ 13.870771] systemd[1]: Hostname set to .

Bug#1033643: debvm: consider using cpu=cortex-a57 instead of cpu=max on arm64

2023-03-29 Thread Arnd Bergmann
On Wed, Mar 29, 2023, at 12:41, Helmut Grohne wrote: > On Wed, Mar 29, 2023 at 11:58:24AM +0200, Emanuele Rocca wrote: > > Thanks for the report. Since I mainly use it on amd64, I am not affected > by this change and seek feedback from Arnd and Johannes as they will be > affected. The machine I

Bug#1033643: debvm: consider using cpu=cortex-a57 instead of cpu=max on arm64

2023-03-29 Thread Helmut Grohne
Hi Emanuele, On Wed, Mar 29, 2023 at 11:58:24AM +0200, Emanuele Rocca wrote: > some arm64 hosts unfortunately do not have KVM support: > > kvm [1]: HYP mode not available > > On those systems, running qemu with -cpu=cortex-a57 results in > significantly improved performance compared to

Bug#1033643: debvm: consider using cpu=cortex-a57 instead of cpu=max on arm64

2023-03-29 Thread Emanuele Rocca
Package: debvm Version: 0.2.9 Hi, some arm64 hosts unfortunately do not have KVM support: kvm [1]: HYP mode not available On those systems, running qemu with -cpu=cortex-a57 results in significantly improved performance compared to -cpu=max. For example: here is how long it takes debvm-run