Hi,

In our tests logs we see that focal is slower than other systems like
bionic. I printed all the commands we run with the times and noticed the
main diff on times is when running different systemd commands. So I did
a very small script to compare basic calls that we use in our snapd test
suite.

Now I did a new comparison between focal and bionic but changed the
paramenters compared with the previous logs, now I am using the calls we
see in our tests which are slower on focal compared with bionic.


script used: https://paste.ubuntu.com/p/JG977dRXMy/
results bionic: https://paste.ubuntu.com/p/GDfnwMMTF2/
results focal: https://paste.ubuntu.com/p/GDfnwMMTF2/

All the results are in milliseconds. With these logs I think is more
clear the performance difference between both, i.e. "systemctl list-
unit-files --full" taks almost the double on bionic than focal.

Does it make sense? Do you need more info?

Thanks

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1869435

Title:
  Performance regression on ubuntu focal

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  Hello, I noticed that systmed is performin some tasks much faster in
  bionic than in focal,

  I created a script which iterates doing some operations and executed
  that on bionic and focal: https://paste.ubuntu.com/p/zWWQjndtXx/

  I see for example how systemctl daemon reload takes more time in focal
  even where there are less units than in bionic

  results:
  bionic: https://paste.ubuntu.com/p/z32WScydNk/
  eoan: https://paste.ubuntu.com/p/V98vd5CHwq/
  focal: https://paste.ubuntu.com/p/brNjKvC2gF/

  The tests was done in gce using clean instances type n1-standard-2.

  Please tell me if you need any extra info

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1869435/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to