4 ms·
Would it? Read in small amount of code (or execute directly from flash) & use that to initialize hardware, might just be faster than read memory dump of alread
by RetroTechie 3y ago
Would it?
Read in small amount of code (or execute directly from flash) & use that to initialize hardware, might just be faster than read memory dump of already-initialized system.
Also the "read memory dump" method would include code & data structures which were used on a previous run, but may not be needed for the next run (or only much later). And not re-initialize hardware which may have gone flaky, or changed configuration in the meanwhile (like USB port with different device plugged vs. state that memory dump reflects).
Rebooting is just an all around cleaner method to return system to a known state. But of course it all depends on hardware specifics & what type(s) of initialization is done.
- im3w1l 3y agoThe context here is starting a vm really fast on aws firecracker, so those concerns about hardware don't apply.