On Tue, 2020-07-28 at 19:28 -0700, Khem Raj wrote: > Few years ago we switched to using mips32r2 tunings for qemumips however > the default CPU emulation still remained 24Kf which is not optimal for > mips32r2 ISA for qemu [1], therefore switch to recommended 32Kf for CPU > emulation when running qemu in system mode > > Boot time to console is ~1s faster with this setting, hopefully this > should speed up qemumips in general > > [1] > https://www.qemu.org/docs/master/system/target-mips.html#preferred-cpu-models-for-mips-hosts > > Signed-off-by: Khem Raj <[email protected]> > --- > meta/conf/machine/qemumips.conf | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/meta/conf/machine/qemumips.conf b/meta/conf/machine/qemumips.conf > index 31ad754483..4617c3c7b6 100644 > --- a/meta/conf/machine/qemumips.conf > +++ b/meta/conf/machine/qemumips.conf > @@ -12,3 +12,5 @@ KERNEL_ALT_IMAGETYPE = "vmlinux.bin" > SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1" > > QB_SYSTEM_NAME = "qemu-system-mips" > + > +QB_CPU = "-cpu 34Kf"
Thanks! I did run some tests locally, timing core-image-sato -c testimage before and after this change. It took 999s before, 1018s after but the difference looks like noise rather than any speedup or slowdown. Its certainly worth a try to see if it helps the intermittent failures though. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#141081): https://lists.openembedded.org/g/openembedded-core/message/141081 Mute This Topic: https://lists.openembedded.org/mt/75857901/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
