Checking kernels:

1. This already uses linux-image-virtual, it is not the even bigger 
linux-image-generic.
2. The change of the image build sadly combined it all
  a) new image build/seeding by CPC
  b) different kernel type -kvm -> -virtual that uses generic
  c) switch of kernel versions

We did not yet think about 2c here afaics.

This is not just -kvm -> -generic.
But instead 6.2.0-1003-kvm -> 6.3.0-7-generic

6.3.0-7-kvm does not exist (not built anymore), so to check which of the
changes broke this we might need to look at.

The closest comparison I'd find is
- https://launchpad.net/ubuntu/+source/linux/6.2.0-21.21
- https://launchpad.net/ubuntu/+source/linux-signed/6.2.0-21.21

Installing that on my system

The new system with the high memory consumption has:
  linux-image-6.3.0-7-generic     6.3.0-7.7+1
  linux-modules-6.3.0-7-generic   6.3.0-7.7

I'm comparing for:
https://launchpad.net/~canonical-kernel-team/+archive/ubuntu/bootstrap/+build/25980736/+files/linux-modules-6.2.0-21-generic_6.2.0-21.21_amd64.deb
https://launchpad.net/~canonical-signing/+archive/ubuntu/primary-2022v1/+build/25984194/+files/linux-image-6.2.0-21-generic_6.2.0-21.21_amd64.deb

root@m-old:~# cat /proc/meminfo 
MemTotal:         955692 kB
MemFree:          630128 kB
MemAvailable:     653536 kB

So that lets us assume, that the move 6.2->6.3 was not what broke it (actually 
6.3 is even a little bit better).
The cause really seems to be more the move -kvm -> -generic.

I'm sure some change was expected, but so much?
Adding Linux bug tasks for them to chime in.


** Also affects: linux (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu)
       Status: New => Confirmed

** Changed in: cloud-images
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2032933

Title:
  Mantic (23.10) minimal images increase in memory consumption, port
  usage and processes running

Status in cloud-images:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  The Mantic (Ubuntu 23.10) images are undergoing some big changes prior
  to 23.10 release in October.

  This is a devel release so this is the perfect time to be making these
  changes but we are noticing some changes that were not expected.

  This bug is to track the unexpected changes and discuss/resolve these.

  The changes that have been made to mantic minimal:

  * Move to the linux-generic kernel from the linux-kvm kernel
    * This also involved removal of the virtio-blk driver, which is the default 
for QEMU and OpenStack, but this is being restored in an upcoming 6.5 mantic 
kernel and is being trakced @ 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2030745
  * Move to using minimal-cloud seed - see 
https://ubuntu-archive-team.ubuntu.com/seeds/ubuntu.mantic/cloud-minimal
  * No longer installing Recommends packages
  * No initramfs fallback for boot - only initramfsless boot

  The latest mantic minimal images are available @ http://cloud-
  images.ubuntu.com/minimal/daily/mantic/ and are also available in the
  public clouds.

  A package name manifest diff can be seen @
  https://pastebin.ubuntu.com/p/rRd6STnNmK/

  We have had reports of higher memory usage on an idle system, higher
  number of ports open on an idle system and higher number of process
  running on a idle system.

  To help with debugging I have built and uploaded the following images
  and package manifests to
  https://people.canonical.com/~philroche/20230824-manticl-minimal-
  LP2032933/

  * 
20230618-before-kernel-change-before-seed-change-mantic-minimal-cloudimg-amd64
    * Before kernel change and before seed change
  * 
20230824-after-kernel-change-before-seed-change-mantic-minimal-cloudimg-amd64
    * After kernel change and before seed change
  * 
20230821.1-after-kernel-change-after-seed-change-mantic-minimal-cloudimg-amd64
    * After kernel change and after seed change

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/2032933/+subscriptions


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

Reply via email to