Re:Kata Containers: Virtual Machines that feel and perform l...
by rwmj on Monday July 17, 2023 @04:28PM
(#36763607)
No idea about Java, but any C program will request memory using mmap, and may give it back using munmap. This doesn't work when the program is running inside a VM, but does work for containers (which are basically just regular processes).
[ Parent
| on HN ]
Re:Kata Containers: Virtual Machines that feel and perform l...
by fragmede on Monday July 17, 2023 @04:59PM
(#36763990)
With VM balloning, VMs are also able to claim and release memory to the hypervisor/host OS.
Re:Kata Containers: Virtual Machines that feel and perform l...
by rwmj on Tuesday July 18, 2023 @04:00AM
(#36769252)
Not driven by the guest application they don't. It's frustrating that I actually work in this area and know what I'm talking about. I worked on Katacontainers back when it was Intel's Clear Containers in the late 2010s. So many people in this thread do not have a clue.
Re:Kata Containers: Virtual Machines that feel and perform l...
by spockz on Wednesday July 19, 2023 @12:11AM
(#36782040)
How does this work in practice? If the application didn’t need this memory anymore because it is done with the work/data, shouldn’t it already have freed or munmapped it? Is there a signal that can be send to a process to free up and return memory?