=== chris14_ is now known as chris14 | ||
alkisg | Boot 16.04 64bit with init=/bin/bash, then `free` => 49M used. For 22.04 => 86M. For 23.04 => 300M. | 09:45 |
---|---|---|
alkisg | How can I find out what in the kernel configuration takes 200+ more MB RAM in 23.04? I don't see anything weird in ps or in lsmod... | 09:45 |
arighi | alkisg, `slabtop -s c` maybe can tell if the kernel itself is using too much memory in some slab caches, moreover `free -m` would help to understand if most of the memory is page cache or actually allocated memory (I guess you already measured these values after dropping page cache, e.g., `echo 3 > /proc/sys/vm/drop_caches`?) | 09:51 |
alkisg | Output of `uname -a; free; lsmod; ps faux` for 22.10, i.e. 89M used: https://termbin.com/r5q8 | 09:54 |
alkisg | Output for 23.04, i.e. 344M used: https://termbin.com/ox2b | 09:54 |
alkisg | I'm looking at the "used" column, so caches are excluded; will check slabtop now | 09:54 |
alkisg | Output of slabtop -s c -o for 23.04: https://termbin.com/uwj8v | 10:03 |
alkisg | (dropping the caches makes no difference, it's too early in the boot process, no significant cache usage yet) | 10:04 |
alkisg | Output of slabtop -s c -o for 22.10: https://termbin.com/5v3s | 10:05 |
LocutusOfBorg | Hello, I tried to run dkms autopkgtests on official autopkgtest machines | 14:28 |
LocutusOfBorg | +EFI variables are not supported on this system | 14:28 |
LocutusOfBorg | +/sys/firmware/efi/efivars not found, aborting. | 14:28 |
LocutusOfBorg | I don't think "modprobe efivars" is sufficient to fix this, right? | 14:29 |
LocutusOfBorg | see https://autopkgtest.ubuntu.com/results/autopkgtest-lunar/lunar/amd64/d/dkms/20230403_183258_890fd@/log.gz | 14:29 |
LocutusOfBorg | on armhf I get a "better error" "Secure Boot not enabled on this system." | 14:30 |
LocutusOfBorg | ^^ this is on arm64, while on armhf I get "Binary update-secureboot-policy not found, modules won't be signed" | 14:30 |
=== cpaelzer_ is now known as cpaelzer | ||
LocutusOfBorg | (same armhf on ppc64el and s390x) | 14:31 |
LocutusOfBorg | and I don't think adding shim-signed will fix, right? | 14:31 |
arighi | LocutusOfBorg, from a kernel perspective /sys/firmware/evi/efivars should be populated when the efivars fs is mounted, like `mount -t efivarfs none /sys/firmware/efi/efivars`, not sure why it doesn't show up on this test system... | 14:46 |
arighi | I'm wondering what would happen if you try to mount that manually (not sure if it's possible) | 14:47 |
LocutusOfBorg | arighi, thanks | 15:12 |
LocutusOfBorg | the test has "needs-root" | 15:12 |
LocutusOfBorg | soooooo maaaaaaaaaybe :D | 15:12 |
LocutusOfBorg | testing on https://launchpad.net/~costamagnagianfranco/+archive/ubuntu/locutusofborg-ppa/+packages?field.name_filter=&field.status_filter=published&field.series_filter=lunar | 15:13 |
LocutusOfBorg | well, at least on arm64 it says "Secure Boot not enabled on this system" | 15:19 |
LocutusOfBorg | https://autopkgtest.ubuntu.com/results/autopkgtest-lunar-costamagnagianfranco-locutusofborg-ppa/lunar/arm64/d/dkms/20230411_151723_f2fca@/log.gz | 15:19 |
LocutusOfBorg | mount: /sys/firmware/efi/efivars: mount point does not exist. | 16:21 |
LocutusOfBorg | damn | 16:21 |
alkisg | Anything else I could try to see why the kernel needs 300+ MB RAM in 23.04, compared to 90- MB in 22.10? (see above for details and pastebins) | 17:34 |
sarnold | alkisg: it's a wild-guess shot in the dark, but check dmesg | grep -i crash on both? I have a very vague memory of the crashdump default being raised, or discussed to be raised?, or something similar anyway :) | 18:25 |
alkisg | sarnold: thanks; unfortunately there's nothing in `dmesg | grep -i crash` in 23.04 | 19:46 |
alkisg | (nor in 22.10) | 19:53 |
sarnold | alkisg: dang. well, not all my wild ass guesses work out :( | 20:12 |
sarnold | alkisg: how about /proc/meminfo on both? | 20:12 |
alkisg | Meh, it looks like it's an initramfs issue, not a kernel issue. I installed the 23.04 kernel in 22.04 and it doesn't have increased memory usage | 20:12 |
alkisg | I wonder if it's not freeing up the initrd memory. Looking more into it... | 20:13 |
alkisg | Heh. I put `break=bottom` and ran `mount --bind /proc /root/proc; chroot /root free`. 22.10 says 75M used, 23.04 says 730M used. | 20:47 |
alkisg | I think many 1GB cloud servers/VMs won't be able to boot at all anymore... | 20:47 |
arighi | LocutusOfBorg, hm.. don't you have /sys/firmware/efi and /sys/firmware/efivars? | 21:15 |
arighi | alkisg, I'm wondering if the initramfs is bigger because mkinitramfs started to put linux-modules-extra modules to the initramfs in 23.04... | 21:16 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!