Public bug reported:

Hi,

We're planning to share a new Cosmic minimal image for Azure including
the linux-azure custom kernel.

I have found boot speed increase from ~55s in non minimal image to over
6mins for minimal image.

I have gathered boot log, systemd logs and cloud-init logs for this
instance @ https://private-fileshare.canonical.com/~philroche/azure-
cosmic-20180927/minimal/. You can see the same logs for the non minimal
image @ https://private-fileshare.canonical.com/~philroche/azure-
cosmic-20180927/base

Most of the time seems to be spent in crng and "task swapper/0:1" (?)

[    5.774760] sd 3:0:0:0: [sdc] Attached SCSI disk
[   71.388989] random: crng init done
[  242.656057] INFO: task swapper/0:1 blocked for more than 120 seconds.
[  242.688434]       Not tainted 4.15.0-1018-azure #18-Ubuntu

Source: https://private-fileshare.canonical.com/~philroche/azure-
cosmic-20180927/minimal/iengal3seeSee-vm-imagedebug-boot.log

Please let me know if you need any more information or would like me to
launch an instance for testing.


I understand that minimal images are intended to boot without initramfs but I 
did install initramfs-tools in another test image which did result in much 
better boot times.

See https://private-fileshare.canonical.com/~philroche/azure-
cosmic-20180928/ for logs.

Minimal image boot time 48.784s

** Affects: linux-azure (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "cosmic minimal image with linux-azure boot log"
   
https://bugs.launchpad.net/bugs/1795017/+attachment/5194121/+files/iengal3seeSee-vm-imagedebug-boot.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1795017

Title:
  linux-azure on cosmic minimal image boot speed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-azure/+bug/1795017/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to