zlacker

[return to "We replaced Firecracker with QEMU"]
1. london+f4[view] [source] 2023-07-10 14:33:11
>>hugodu+(OP)
I really want VM's to integrate 'smarter' with the host.

For example, if I'm running 5 VM's, there is a good chance that many of the pages are identical. Not only do I want those pages to be deduplicated, but I want them to be zero-copy (ie. not deduplicated after-the-fact by some daemon).

To do that, the guest block cache needs to be integrated with the host block-cache, so that whenever some guest application tries to map data from disk, the host notices that another virtual machine has already caused this data to be loaded, so we can just map the same page of already loaded data into the VM that is asking.

◧◩
2. tjoff+C9[view] [source] 2023-07-10 14:56:16
>>london+f4
Doubt it is worth the hassle. How many do you really expect to be identical?

An OS isn't large. Your spotify/slack/browser instance is of comparable size. Says more about browser based apps but still.

◧◩◪
3. london+Ii[view] [source] 2023-07-10 15:34:50
>>tjoff+C9
Basically all code pages should be the same if some other VM has the same version of ubuntu and running the same version of spotify/slack.

And remember that as well as RAM savings, you also get 'instant loading' because there is no need to do slow SSD accesses to load hundreds of megabytes of a chromium binary to get slack running...

[go to top]