-
Notifications
You must be signed in to change notification settings - Fork 931
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance regression with lvm
(non-thin) on latest/edge
snap
#14341
Comments
@simondeziel please can you try building LXD from main (on an ubuntu 22.04 system) and then sideloading it into the 5.21/edge snap and repeating the tests. This will help us rule out LXD itself and hopefully narrow it down to something in the latest/edge snap packaging (with the most likely candidate being the core24 base snap I expect). |
However, the mangling likely needs to be updated as many of the altered lines are kept as comments in the resulting |
The performance is still wildly different between I found another interesting difference between
From the above, |
So that's apparently not a regression in LXD itself. |
It's unclear if the
But at least, the
I'll check on the next scheduled run on |
It's been a while since we noticed that
tests/storage-vm lvm
from lxd-ci is much slower withlatest/edge
than it is with5.21/edge
.Here are some logs taken from CI runs comparing the 2 snap channels.
storage-vm lvm (latest/edge - 24.04)
taking ~44 minutes to complete:storage-vm lvm (5.21/edge - 24.04)
taking ~24 minutes to complete:In both cases, we see that transferring
v2/snap0
is much slower than transferringv2
itself. However, in thelatest/edge
case, the snapshot transfer is noticeably slower than that of5.21/edge
.In those 2 CI runs, the GHA runners are using the exact same
24.04
image. This means only LXD's snap and itscore2X
base differ.5.21/edge
usescore22
whilelatest/edge
usescore24
. To rule out alvm2
version issue, I usedlvm.external=true
in canonical/lxd-ci#328 and got identical results which seems to indicate a potential regression introduced in LXD betweenstable-5.21
andmain
.One way to compare CI logs is to download raw logs from storage-vm lvm (latest/edge - 24.04) and storage-vm lvm (5.21/edge - 24.04). Once downloaded, they can be stripped of their datestamp prefix with
sed
:And then
meld
allows to compare them line by line (meld lvm-latest.txt lvm-521.txt
). This is with this method that I extracted the log snippets from above. Both the.raw
and.txt
files are included in the attached tarball. Due to GH policy,.tgz
files cannot be attached so I added a.txt
placeholder.The text was updated successfully, but these errors were encountered: