Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debian-12 with in-VM kernel needs 80MB more memory than debian-11 #8790

Closed
3hhh opened this issue Dec 25, 2023 · 3 comments
Closed

debian-12 with in-VM kernel needs 80MB more memory than debian-11 #8790

3hhh opened this issue Dec 25, 2023 · 3 comments
Labels
P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. R: duplicate Resolution: Another issue exists that is very similar to or subsumes this one.

Comments

@3hhh
Copy link

3hhh commented Dec 25, 2023

How to file a helpful issue

Qubes OS release

4.1, probably 4.2 too

Brief summary

debian-12 with in-VM kernel needs 80MB more memory than debian-11

Steps to reproduce

  1. Apply salt states to have identical software stacks on debian-12 and debian-11.
  2. Attempt to run both with the same memory constraints (in my case 400 MB fixed memory).

Expected behavior

Boot.

Actual behavior

debian-11 boots. debian-12 will start to boot with 480 MB memory.

Since I run ~20 VMs in average, that means 1,6GB higher memory requirements, which I don't like.

Related

#8505

Likely root cause

I checked all running services and couldn't find any difference.
However the debian-12 compressed initrd is 70 MB in size, whereas the debian-11 initrd is ~40MB in size. I guess that's the root cause.

@3hhh 3hhh added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug labels Dec 25, 2023
@3hhh
Copy link
Author

3hhh commented Dec 25, 2023

Changing /etc/initramfs-tools/initramfs.conf MODULES from most to dep followed by an update-initramfs -uk all reduces the initrd size to 20MB and debian-12 boots with 400MB. debian-11 works with most.

EDIT: Doing the same change on debian-11 reduces its initrd size to 12 MB. So there's still 8MB less than on debian-12.

@3hhh
Copy link
Author

3hhh commented Dec 25, 2023

Ok. So this is a duplicate of #8277.

Apparently the fix wasn't ported to 4.1 debian-12.

@3hhh 3hhh closed this as completed Dec 25, 2023
@andrewdavidwong andrewdavidwong added the R: duplicate Resolution: Another issue exists that is very similar to or subsumes this one. label Dec 25, 2023
@andrewdavidwong andrewdavidwong closed this as not planned Won't fix, can't repro, duplicate, stale Dec 25, 2023
Copy link

This issue has been closed as a "duplicate." This means that another issue exists that is very similar to or subsumes this one. If any useful information on this issue is not already present on the other issue, please add it in a comment on the other issue. Here are some common cases of duplicate issues:

  • The other issue is closed. The other issue being closed does not prevent this issue from duplicating it. We will examine the closed issue and, if appropriate, reopen it.
  • The other issue is for a different Qubes release. We usually maintain only one issue for all affected Qubes releases.
  • The other issue is very old. The mere age of an issue is not, by itself, a relevant factor when determining duplicates.

By default, the newer issue will be closed in favor of the older issue. However, we make exceptions when we determine that it would be significantly more useful to keep the newer issue open instead of the older one.

We respect the time and effort you have taken to file this issue, and we understand that this outcome may be unsatisfying. Please accept our sincere apologies and know that we greatly value your participation and membership in the Qubes community.

If anyone reading this believes that this issue was closed in error or that the resolution of "duplicate" is not accurate, please leave a comment below saying so, and we will review this issue again. For more information, see How issues get closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. R: duplicate Resolution: Another issue exists that is very similar to or subsumes this one.
Projects
None yet
Development

No branches or pull requests

2 participants