Skip to contentSkip to conversation

No significant diff b/w qemux86 and qemuarm poky build of core-image-minimal

DISCUSSION Randy MacLeod 3 participants 5 messages Mar 30, 2021 – Apr 8, 2021

lore
Share & tools
lore
#0 lore raw

Khem was asking if anyone had seen a >30% difference in build time for qemuarm compared to other machines. I don't when building on my system:

rmacleod@yow-rmacleod-lx3 b/c-i-m-x86 $ cat x86

real    43m29.142s
user    0m19.887s
sys     0m4.110s

rmacleod@yow-rmacleod-lx3 b/c-i-m-x86 $ cat arm

real    42m58.185s
user    0m19.546s
sys     0m3.867s

This machine is relatively isolated in that there are no other users. The arm build was done second and I didn't pre-populate the downloads but so that may account for the 30 second difference.
I wasn't using sstate for either build.

Signature · 2 lines
# Randy MacLeod
# Wind River Linux
#1 lore raw
Quoted 13 lines · Randy MacLeod

Khem  was asking if anyone had seen a >30% difference in build time for qemuarm compared to other machines. I don't when building on my system:

rmacleod@yow-rmacleod-lx3 b/c-i-m-x86 $ cat x86
real    43m29.142s
user    0m19.887s
sys     0m4.110s

rmacleod@yow-rmacleod-lx3 b/c-i-m-x86 $ cat arm
real    42m58.185s
user    0m19.546s
sys     0m3.867s

Quoted 4 lines

This machine is relatively isolated in that there are no other users. The arm build was done second and I didn't pre-populate the downloads but so that may account for the 30 second difference.
I wasn't using sstate for either build.

Thanks for this infor Randy, really appreciated, I think I will also look at the h/w angle.

#2 lore raw
Quoted 2 lines · Khem Raj

Thanks for this infor Randy, really appreciated, I think I will also look at the h/w angle.

Khem: if you can reproduce this on demand with a clean build (ie oe-init-build-env with a clean build directory, just set DL_DIR) then enabling buildstats would give some interesting metrics. buildstats-diff can compare two build runs and tell you what the differences are.

Ross

#3 lore raw
Quoted 10 lines · Ross Burton
Quoted 2 lines · Khem Raj

Thanks for this infor Randy, really appreciated, I think I will also look at the h/w angle.

Khem: if you can reproduce this on demand with a clean build (ie oe-init-build-env with a clean build directory, just set DL_DIR) then enabling buildstats would give some interesting metrics. buildstats-diff can compare two build runs and tell you what the differences are.

yeah this is doing world build of not only core but several other layers included a usual build takes around 10 hrs for this machine config, I am planning to

1. Collect build stats
2. buiid another qemu machine on this VM

it could very well be rotting hardware underneath the VM.

Quoted 2 lines

Ross

#4 lore raw
Quoted 15 lines · Khem Raj
Quoted 10 lines · Ross Burton
Quoted 2 lines · Khem Raj

Thanks for this infor Randy, really appreciated, I think I will also look at the h/w angle.

Khem: if you can reproduce this on demand with a clean build (ie oe-init-build-env with a clean build directory, just set DL_DIR) then enabling buildstats would give some interesting metrics. buildstats-diff can compare two build runs and tell you what the differences are.

Quoted 9 lines

yeah this is doing world build of not only core but several other layers included a usual build takes around 10 hrs for this machine config, I am planning to

1. Collect build stats
2. buiid another qemu machine on this VM

it could very well be rotting hardware underneath the VM.

To close the loop, it turned out to be the case that CPU performance on VM has deteriorated
which stress-ng showed. The VM has been rebuilt and everything seems to be holding fine now.
Thanks for your help and chiming in.

Quoted 2 lines
Quoted 2 lines

Ross