mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 12:14:48 +00:00
runtime: cloud-hypervisor: reduce memory footprint
Cloud-hypervisor supports DAX, let's enable it to reduce its memory footprint. Before this patch: **19.96M** ``` 20448kB -- [/usr/share/kata-containers/kata.img] ``` With this patch: **10.83M** ``` 11100kB -- [/usr/share/kata-containers/kata.img] ``` fixes #1056 Signed-off-by: Julio Montes <julio.montes@intel.com>
This commit is contained in:
parent
196e8d81cf
commit
77b50969ea
@ -133,7 +133,7 @@ var clhKernelParams = []Param{
|
||||
{"panic", "1"}, // upon kernel panic wait 1 second before reboot
|
||||
{"no_timer_check", ""}, // do not check broken timer IRQ resources
|
||||
{"noreplace-smp", ""}, // do not replace SMP instructions
|
||||
{"rootflags", "data=ordered,errors=remount-ro ro"}, // mount the root filesystem as readonly
|
||||
{"rootflags", "dax,data=ordered,errors=remount-ro ro"}, // mount the root filesystem as readonly
|
||||
{"rootfstype", "ext4"},
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user