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
Optimal linux kernel configuration (version 6.1 and higher) #811
Comments
I went ahead and created one: https://bugs.debian.org/1033176 |
Unfortunately I have no answer to this question. You may try asking yourself the same question: "Which Kconfig options should be enabled to run debian's userspace?". The reality is that Android's userspace is too large for me to know which options are required. The Android team at Google maintains a base kernel config that android vendors can expand on, documented here, so the android linux-6.1 base config might be what you are looking for. However, experimentally we find that many GNU/Linux distributions' kernels already include enough options to run Waydroid functionally (I wouldn't know about optimally), debian included. One crucial Kconfig to run Android's userspace that may not always be found in GNU/Linux kernels, is As for TL;DR: Keep building the |
One of the reasons I opened this issue is that it appears to me that everyone follows what is described in the arch wiki, which suggests to either use Thanks for your response :-) |
So if you use For mainline linux, |
Feel free to ask more questions here! Debian removing binder would be quite damaging to this community... Users would have to be instructed to download and compile the binder DKMS fork |
Once I realized that Waydroid could benefit from it, I reverted the above mentioned removal. Thanks for your explanation, now I can make an informed case to possibly change that for Trixie. |
As in... for the whole lifetime of bookworm? |
Yes. We're now in the hard-freeze of Bookworm, so what can be changed now is very limited. |
It's been tested for the whole time before your change...? |
I have reverted my proposed change, which was for Trixie anyway. |
That caught me by surprise because I knew Waydroid worked on bullseye already, and it has the same CONFIGs. |
Is your feature request related to a problem? Please describe.
I can see what Debian/Mobian have enabled in their kernel for anbox/waydroid support and on https://wiki.archlinux.org/title/Waydroid#Building_a_kernel I can see different ways one can do it on Arch.
What I haven't found is which modules you should enable and why (and under what circumstance).
Describe the solution you'd like
A clear description of the ideal linux kernel configuration from waydroid's perspective, from the people who should know it best: the waydroid developers.
IOW: Which Kconfig options should be enabled and/or which string value should they have for optimal performance of waydroid. When there is a trade-off involved, I would like to see the pro's and con's of each possible solution and what you'd recommend and why.
That way, distro's can make an informed decision on how to configure their kernel.
It would also be useful to know if things would be different for say
amd64
andarm64
orarmhf
platforms (and how).Additional context
In https://salsa.debian.org/kernel-team/linux/-/merge_requests/651/diffs?commit_id=e9d7885619fd108fba3889e321afa5b583eb6d4d I wrote the following:
So I wanted (to propose) to remove those patches in a 6.3+ kernel (Bookworm will have 6.1, so after that).
I didn't know if waydroid would need/benefit from them and figured they should file a bug in Debian's BTS, just like happened with anbox.
Then I heard that waydroid likely would benefit from it (and changed the MR status to Draft), but I couldn't find a proper/definitive answer as to which options should be enabled, just some suggestions which one could.
So thus issue.
FTR: A bug report in Debian's BTS (against
src:linux
) would be useful, especially if a dialog is needed/wanted with the Debian kernel maintainers (which I am not, I'm 'just' a contributor).The text was updated successfully, but these errors were encountered: