/srv/irclogs.ubuntu.com/2023/04/12/#ubuntu-kernel.txt

=== chris14_ is now known as chris14
* alkisg rolls up sleeves, grabs ubuntu-23.04-beta-live-server-amd64.iso, and decides to spend the morning on this... wish me luck :)05:25
arighialkisg, thanks, I'll also investigate a bit more on this today, let me know if you find anything.. and good luck!05:37
alkisgComparing jammy server with lunar server, with init=/bin/bash.05:45
alkisgOriginal: jammy=91M, lunar=145M. So smaller diff than the desktop versions, but still significant.05:45
alkisgWith MODULES=dep, the initramfs size shrinked from 126M to 63M. Still lunar=145M, so it's not related to the initramfs size.05:45
alkisgPurging the following packages shrinked the initrd to just 18M but made no difference to used RAM: linux-modules-extra-6.2.0-20-generic, amd64-microcode, intel-microcode05:51
=== lifeless_ is now known as lifeless
alkisgSwapping the kernels (6.2 on 22.04 and 5.15 on 23.04) made no difference06:26
arighialkisg, have you created a bug in launchpad for this issue already?06:40
alkisgarighi: no, I don't know where to file it yet!06:40
arighiarighi, ok, just wanted to double check, I'll create one later06:41
alkisgCurrently I'm completely puzzled. I copied the whole /boot, and the difference is still there! I see an "unsupported ext4 FEATURE_C12", checking if it's related to the ext4 module and file system...06:41
alkisgI added `copy_exec /bin/free /bin` in /usr/share/initramfs-tools/hooks, to copy the `free` command to the initramfs.07:11
alkisgNow I'm testing with `break=top`, even before udev runs. There, jammy=35M, lunar=340M used RAM.07:11
alkisgIf I wasn't seeing this with my own eyes, I wouldn't believe the bug reporter... :)07:11
alkisgarighi: I think I found the major difference, it's in what `free` reports.08:07
alkisgWith `break=bottom`, if I mount a jammy disk and `chroot /root free`, it says 65M, while with a lunar disk at that exact point, it says 500M.08:07
alkisgSo the "used" column is different, yet the "available" column is the same.08:07
arighialkisg, hm.. interesting, how does /proc/meminfo look like?08:23
arighithis would tell us if the difference is actually in free showing a different result, because theoretically it should read all the mem info from /proc/meminfo08:23
alkisgI have to do something urgent, back later on :/08:35
arighialkisg, ack, no problem, take your time08:37
alkisgarighi: https://termbin.com/4mjk09:17
arighialkisg, I see only one /proc/meminfo, that is in lunar I assume, it'd be nice to see /proc/meminfo also in the jammy case09:27
alkisgarighi: that test was: "boot jammy with break=bottom; so only the initramfs is loaded; then chroot to jammy and run free, or chroot to lunar and run free"09:29
alkisgSo it's a different interpretation of the SAME /proc/meminfo file09:29
arighialkisg, moreover I'm wondering if this is related to: https://gitlab.com/procps-ng/procps/-/commit/2184e90d2e7cdb582f9a5b706b47015e56707e4d09:29
-ubottu:#ubuntu-kernel- Commit 2184e90 in procps-ng/procps "library: modify calculation of 'MEMINFO_MEM_USED' item"09:29
arighialkisg, ahh ok got it! thanks for the clarification09:29
alkisgThat's probably it. So I think it's a false alarm. I did read the procps news and changelog, that commit didn't stand out, thanks for pointing me to it09:29
arighiyeah I'm pretty sure jammy's procps doesn't have that commit09:30
alkisgBased on my tests so far, I think 22.10 doesn't have it either09:31
arighialkisg, according to the git log the commit has been introduced in procps v4.0.109:31
arighi22.10 is using a 3.3.1709:32
alkisgOK everything matches; that's it; thanks a lot for your help on this :)09:32
arighiand lunar 4.0.3-1ubuntu109:32
arighiso yeah, I think it all makes sense now :)09:32
arighithank you for reporting this alkisg 09:33
alkisg👍️09:33
LocutusOfBorgarighi, its autopkgtests.ubuntu.com not having them10:53
arighiLocutusOfBorg, hm... it doesn't have EFI?10:56
LocutusOfBorgwho knows? :)10:56
arighiso the kernel is right at complaining :)10:57
LocutusOfBorgmeh, who can know this?11:12
LocutusOfBorgin Debian autopkgtests are EFI enabled I would say11:12

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!