On 4/16/08, Alan Jenkins <alan-jenkins@tuffmail.co.uk> wrote:This list is awesome. After I read up on this kexec-based hibernation thing: http://kerneltrap.org/node/11756 I realized it is about the same idea. Some differences though: My original starting point was VMWare's snapshot idea. Drawing an analogy from there, the idea is to freeze and restore back entire kernel + userspace application. For integrity reason, filesystem should be included in the frozen image as well. Currently, what we are doing now is to have a bank of Norton Ghost-based images of the entire OS and just selectively restoring back the OS we want to work on. Very fast - less than 30secs the entire OS can be restored back. But problem is that it need to be boot up - which is very slow. And there userspace state cannot be frozen and restored back. VMWare images is slow, and cannot meet bare-metal CPU/direct hardware access requirements. There goes Xen's virtualization approach as well. Another approach is this (from an email by Scott Lovenberg) - using RELOCATABLE kernel (or may be not?????I really don't know, but idea is below): a. Assuming we have 32G (64bit hardware can do that) of memory, but we want to have 7 32-bit OS running (not concurrently) - so then memory is partition into 8 x 4GB each - the lowest 4GB reserved for the current running OS. Each OS will be housed into each 4G of memory. When each OS is running, it will access its own partition on the harddisk/memory, security concerns put aside. Switching from one OS to another OS is VOLUNTARILY done by the user - equivalent to that of "desktop" feature in Solaris CDE. Restoring back essentially is just copying from each of the 4GB into the lowest 4GB memory range. Because only the lowest 4gb is used, only 32 bit instruction is needed, 64bit is needed only when copying from one 4GB memory partition into the lowest 4GB region, and vice versa. And together with using partitioning of harddisk for each OS, switching among the different OS kernel should be in seconds, much less than 1 minute, correct? Technically, does the above sound feasible? -- Regards, Peter Teoh --
| Linus Torvalds | Linux 2.6.27-rc5 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Eric Paris | [RFC 0/5] [TALPA] Intro to a linux interface for on access scanning |
git: | |
| Johannes Sixt | [PATCH 02/40] Compile some programs only conditionally. |
| Linus Torvalds | [PATCH 0/6] Initial subproject support (RFC?) |
| Jon Smirl | Figured out how to get Mozilla into git |
| Linus Torvalds | irc usage.. |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Richard Stallman | Real men don't attack straw men |
| Marcos Laufer | dmesg IBM x3650 OpenBSD 4.3 |
| Tony Bruguier | [newbie] ssh and sftp timing out |
| Jim Winstead Jr. | Re: Root Disk/Book Disk Compatibility |
| Doug Evans | Re: Stabilizing Linux |
| Joseph R. Pannon | Re: Ctrl-Alt-Del |
| Pat Rankin | Re: Nethack + Linux, Please Help! |
| Problem in Inserting a module | 36 minutes ago | Linux kernel |
| usb mic not detected | 1 hour ago | Applications and Utilities |
| Treason Uncloaked | 6 hours ago | Linux kernel |
| Shared swap partition | 17 hours ago | Linux general |
| high memory | 2 days ago | Linux kernel |
| semaphore access speed | 2 days ago | Applications and Utilities |
| the kernel how to power off the machine | 2 days ago | Linux kernel |
| Easter Eggs in windows XP | 2 days ago | Windows |
| Root password | 2 days ago | Linux general |
| Where/when DNOTIFY is used? | 2 days ago | Linux kernel |
