diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-05-19 11:40:36 +0200 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2019-05-20 10:00:15 +0200 |
commit | a280b3224f7230c2fcb62844fb462ac009bb26e0 (patch) | |
tree | 059c92b0a4def36f36694533d7522fd17a08ac69 /configs/platform-v7a/run | |
parent | 8f6438cf264f996aa9c63689e2524fe981da9f27 (diff) | |
download | DistroKit-a280b3224f7230c2fcb62844fb462ac009bb26e0.tar.gz DistroKit-a280b3224f7230c2fcb62844fb462ac009bb26e0.tar.xz |
platform-v7a: vexpress: run qemu with CPU 4 cores
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>
Diffstat (limited to 'configs/platform-v7a/run')
-rwxr-xr-x | configs/platform-v7a/run | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/platform-v7a/run b/configs/platform-v7a/run index 7f46140..7ff747f 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 |