Re: Resuming from a crashdump

From: Steven Smith (sos22_at_cantab.net)
Date: 01/25/05

  • Next message: Julian Elischer: "Re: seg fault on kse_release () (fwd)"
    Date: Tue, 25 Jan 2005 21:45:43 +0000
    To: Matthew Dillon <dillon@apollo.backplane.com>
    
    
    

    > You basically would either have to make all device drivers support a new
    > hibernation/restore API (because it is not really possible to restore
    > a device driver based on a dump),
    How much overlap is there likely to be between this and the sorts of
    things you need in order to resume from power management modes?

    > Also, if the machine has a lot of memory it could take longer to save
    > and restore then to reboot from scratch. A typical laptop HD is
    > ~30 MB/sec. If your laptop has 512MB then it would take 16 seconds
    > to go into hibernation mode, and 16 seconds to come out of, plus BIOS
    > and loader overhead.
    *shrug* If the image you're saving is just sitting at a login prompt,
    it probably doesn't buy you much, but once you've got a couple of dozen
    xterms open it could easily take more than 30 seconds to restore all
    of the state by hand.

    Also, have you ever looked at the live migration stuff Xen uses? The
    aim here is to move a running operating system from one machine to
    another with minimal downtime. Essentially, you just start copying
    pages across willy nilly, keeping track of pages which get dirtied.
    After every page has been copied, you go back over the list of dirty
    pages, and just migrate them, and so on, until you stop making any
    progress. At that point, you stop the guest operating system and copy
    everything that's left in one big go, and start it going on the new
    machine.

    If you just send pages to disk rather than to another machine on the
    network, then you should be able to suspend-to-disk an entire
    operating system with minimal user-perceived downtime. One
    possibility here would be to e.g. live suspend the machine every five
    minutes or so, and guarantee the user never loses more than five
    minutes of work.

    > I think it would probably be more realistic to persue a process
    > save/restore rather then a kernel save/restore. The overhead is going
    > to be the disk I/O anyway and that seems to be about the same either
    > way (maybe less for a process restore), plus you can at least demand-load
    > the process restore.
    The problem with a process checkpoint is that it's then rather
    difficult to get all of the inter-process stuff right. If you
    checkpoint an entire OS, that comes for free.

    Steven Smith.

    -- 
    'Double-entry bookkeeping ....simple to adapt to modern computer
    methods by using positive or negative electric charges to signal
    whether an account should be debited or credited.'
      -- Accounting Theory and Practice, Glautier M.W.E
    
    



  • Next message: Julian Elischer: "Re: seg fault on kse_release () (fwd)"

    Relevant Pages

    • Re: replacing the OEM version WinXP Home Edition
      ... I was advised by Emachines Support that the 'Restore CD' is provided by the ... bundled software and the device drivers ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: System restore removed input drivers!
      ... How the heck can there be a restore point ... >> device drivers? ... >> you can't login without an input device. ...
      (microsoft.public.windowsxp.general)
    • Re: Resuming from a crashdump
      ... seriously underestimating the effort required to restore device state. ... hibernation/restore API (because it is not really possible to restore ... way (maybe less for a process restore), plus you can at least demand-load ...
      (freebsd-hackers)
    • More restore CD questions- Oh noooo!!!
      ... One is marked " Device Drivers Already Installed On Your Computer" and the other is marked " Operating System Reinstallation DVD Already Installed On Your Computer". ... OK so I also understand there is also a way one can press F1 or F12 or something during start-up to get to a restore area. ...
      (microsoft.public.windows.vista.general)
    • System restore removed input drivers!
      ... Why would returning to a restore point remove keyboard ... How the heck can there be a restore point that has no input ... you can't login without an input device. ...
      (microsoft.public.windowsxp.general)