-
Notifications
You must be signed in to change notification settings - Fork 92
Is there any value in introducing dynamically loadable kernel modules? #223
Comments
Related: #222. |
I suspect currently the That is, unless somebody knows differently :-) |
Oooh - so all the /cc @alicefr, @Weichen81 as s390 in particular looks to have a lot of potentially missing functionality then. |
@jodh-intel if we don't include the kernel modules into the image, all the config options =m will be ignored. I don't think that by default our kernel configs should include any module. |
Right, so we need to remove those
|
I think convert to |
I agree @grahamwhaley |
osbuilder does support kernel module dir when building rootfs, see https://github.com/kata-containers/osbuilder/tree/master/rootfs-builder#creating-a-rootfs-with-kernel-modules |
@jodh-intel @grahamwhaley @sboeuf I agree to switch these |
@Weichen81 NFS are configured as modules to follow runv to support NFS storage types -- both rootfs and volume can be NFS based. It is a useful feature when users want to share volumes in a cloud CaaS deployment. Although we haven't got that far in kata containers yet, I think we still want to enable NFS volumes in future. |
@bergwolf So, we should set NFS |
@Weichen81 yes, I agree. But that is not because kernel modules are not supported in kata containers osbuilder. Each kernel module takes some time and resources to initialize. If we make them all builtin, it might have unnecessary performance impact, -- to answer the very initial question from @jodh-intel in the top message, I'm voting |
Ok, I understand and agree with you : ) |
agree to mark as For the rest of build in modules we should see if mark them as modules inproves the memory and boot time. If yes we should work in a solution to add not boot needed modules to the VM as a share directory. qemu -9pfs /usr/share/katacontainers/kernel-${version}/modules Then when the agent start mount this share directory to load modules as needed |
Currently, the kernel config files are supposed to set all
CONFIG_*
options toy
(to make the features "builtins").However, that doesn't seem to be the case exactly:
We need to decide what to do here:
Before we can decide this, we'd need to know the impact of all of the options above:
/cc @bergwolf, @egernst, @grahamwhaley, @jcvenegas, @sboeuf.
[1] - 🎸 👨🎤 🎤 😄
The text was updated successfully, but these errors were encountered: