DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH] platform-v7a: vexpress: run qemu with CPU 4 cores
@ 2019-05-19  9:40 Michael Olbrich
  2019-05-19 10:35 ` Robert Schwebel
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Olbrich @ 2019-05-19  9:40 UTC (permalink / raw)
  To: distrokit

Newer versions of qemu can use multiple threads to emulate the CPU cores.
This can speed up booting significantly: 22 seconds instead of 34 seconds
for multi-user.target on on test machine.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
---
 configs/platform-v7a/run | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/platform-v7a/run b/configs/platform-v7a/run
index 7f46140e80bc..7ff747fba4d4 100755
--- a/configs/platform-v7a/run
+++ b/configs/platform-v7a/run
@@ -68,7 +68,7 @@ fi
 BASE_CMDLINE="console=ttyAMA0,115200 loglevel=5 systemd.log_level=warning systemd.show_status=auto"
 
 # Machine to emulate
-QEMU_ARGS=( -machine vexpress-a9 -cpu cortex-a9 -m 1024M )
+QEMU_ARGS=( -machine vexpress-a9 -cpu cortex-a9 -smp 4 -m 1024M )
 # disable graphics output
 QEMU_ARGS[${#QEMU_ARGS[@]}]="-nographic"
 # Exit qemu on reboot
-- 
2.20.1


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-19 10:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-19  9:40 [DistroKit] [PATCH] platform-v7a: vexpress: run qemu with CPU 4 cores Michael Olbrich
2019-05-19 10:35 ` Robert Schwebel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox