zlacker

[return to "We replaced Firecracker with QEMU"]
1. rgbren+ig[view] [source] 2023-07-10 15:25:21
>>hugodu+(OP)
"Firecracker's RAM footprint starts low, but once a workload inside allocates RAM, Firecracker will never return it to the host system."

Firecracker has a balloon device you can inflate (ie: acquire as much memory inside the VM as possible) and then deflate... returning the memory to the host. You can do this while the VM is running.

https://github.com/firecracker-microvm/firecracker/blob/main...

◧◩
2. paulv+Xk[view] [source] 2023-07-10 15:45:17
>>rgbren+ig
The first footnote says If you squint hard enough, you'll find that Firecracker does support dynamic memory management with a technique called ballooning. However, in practice, it's not usable. To reclaim memory, you need to make sure that the guest OS isn't using it, which, for a general-purpose workload, is nearly impossible
◧◩◪
3. flamin+Mc2[view] [source] 2023-07-11 01:06:02
>>paulv+Xk
A bit disingenuous to make a broad sweeping claim, then have a footnote which contradicts that claim, and upon closer inspection even that claim is incorrect.

It's absolutely usable in practice, it just makes oversubscription more challenging.

[go to top]