Wednesday, 2021-10-20

kata-irc-bot<fupan> Hi @shuo.chen  it seemed the guest kernel didn’t set CONFIG_TRANSPARENT_HUGE_PAGECACHE=y, you can rebuild a guest kernel with it set.02:51
kata-irc-bot<teawater> I reproduced this issue in my part.  I think maybe some config of the kata linux kernel need be open can handle this issue.02:57
kata-irc-bot<teawater> @shuo.chen Could you open an issue for this?02:57
kata-irc-bot<shuo.chen> Yeah I rebuild the kernel with CONFIG_TRANSPARENT_HUGE_PAGE and it works. I guess it is not a issue but a feature request?02:59
kata-irc-bot<teawater> commit 396bcc5299c281e9cf1737ad0efcd97be9f83845 Author: Matthew Wilcox (Oracle) <willy@infradead.org> Date:   Mon Apr 6 20:04:35 2020 -0700      mm: remove CONFIG_TRANSPARENT_HUGE_PAGECACHE      Commit e496cf3d7821 (“thp: introduce CONFIG_TRANSPARENT_HUGE_PAGECACHE”)     notes that it should be reverted when the PowerPC problem was fixed.  The     commit fixing the PowerPC problem (953c66c2b22a) did not revert the     commit;03:36
kata-irc-botinstead setting CONFIG_TRANSPARENT_HUGE_PAGECACHE to the same as     CONFIG_TRANSPARENT_HUGEPAGE.  Checking with Kirill and Aneesh, this was an     oversight, so remove the Kconfig symbol and undo the work of commit     e496cf3d7821.03:36
kata-irc-bot<teawater> CONFIG_TRANSPARENT_HUGE_PAGECACHE was removed in the Linux kernel upstream :exploding_head:03:37
kata-irc-bot<shuo.chen> @teawater yeah I also saw that to but with CONFIG_TRANSPARENT_HUGEPAGE , it should work. They just combine them03:41
kata-irc-bot<sebastian.hasler> Hi, I'm using kata containers with containerd. Is there a way to specify a drop-in config file, so that I don't have to edit/replace the default config?18:45
kata-irc-bot<eric.ernst> Yes, containerd allows for this18:48
kata-irc-bot<sebastian.hasler> How? I currently have `kata.options.ConfigPath` set to the default config file.18:58
kata-irc-bot<shuo.chen> ```[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.kata-qemu]  runtime_type = "io.containerd.kata-qemu.v2"  privileged_without_host_devices = true  pod_annotations = ["io.katacontainers.*"]  [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.kata-qemu.options]   ConfigPath = "/opt/kata/share/defaults/kata-containers/configuration-qemu.toml"``` We use the containerd config like this19:58
kata-irc-bot<sebastian.hasler> @shuo.chen in your example there's no drop-in config file. You only use a single config file which holds all of the configuration.22:49
kata-irc-bot<shuo.chen> oh you want to use a new config file that overwrite some of the field from default config?22:50

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!