7 ms·
If you have an immutable system partition I wonder if you could boot, and then take a snapshot of memory (excluding caches etc) and save that to disk. On a rebo
by bpye 5y ago
If you have an immutable system partition I wonder if you could boot, and then take a snapshot of memory (excluding caches etc) and save that to disk. On a reboot you would 'simply' load your RAM image from disk and everything would be immediately at steady state?
- kijiki 5y agoCaches aren't a problem, you can just persist memory. The problem is the non-RAM internal state of everything. You can preserve CPU register state and various operating modes, but persisting the state of every hardware device you use is a big, undocumented challenge. Virtualization systems like qemu-system or VMware support suspend/resume, which is essentially the same problem.
- bpye 5y agoI only mentioned caches to reduce the amount of storage that would be read as storage isn't always very fast. That said the internal state is a valid concern, you'd need the involvement of hardware drivers as it's essentially hibernation...
- joezydeco 5y agoWith what mass storage driver?