Date: Tue, 23 Aug 2016 14:09:51 -0700 From: Conrad Meyer <cem@freebsd.org> To: Eric McCorkle <eric@metricspace.net> Cc: Warner Losh <imp@bsdimp.com>, "freebsd-hackers@freebsd.org" <hackers@freebsd.org> Subject: Re: Info about suspend-to-disk Message-ID: <CAG6CVpWuK2T=1wQRM6QYCUWNLtZJHiJStHMxCG=r2ZPfTFr6cA@mail.gmail.com> In-Reply-To: <60cd4f2c-13a8-3fc1-5f5d-c442cafc6e80@metricspace.net> References: <141b1050-8fb5-e8c7-0e0f-50607f2f28b9@metricspace.net> <CAG6CVpXxsbOQqOiytcrFSp486Cdzu9ny8HQmG=nzq_r-fhce0Q@mail.gmail.com> <CANCZdfpUc_14oLthrSVPX%2BQvoOKOhEB=CgHXCAzkiMT=kcn-bA@mail.gmail.com> <60cd4f2c-13a8-3fc1-5f5d-c442cafc6e80@metricspace.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 23, 2016 at 4:41 AM, Eric McCorkle <eric@metricspace.net> wrote: > My only reservation about loader is that users will likely want the > system to come back up quickly, as if resuming. Dropping them into the > loader menu might not be what they want/expect. If it ends up being > done in loader, it might be worth having a "fast-path" option that skips > the usual menu. > > Actually, the "fast-path" loader option might be a worthwhile feature > generally, for people who just want fast boot times. That exists: autoboot_delay="-1" > Does suspend-to-swap wipe out what's already stored there? Since you > plan on coming back online, you'd want to preserve all contents of swap. > In any case, I could see it failing if there's not enough free space in > swap (which I guess would also be a possibility with suspend-to-file) > > If dump to swap does preserve the contents of swap, it might be better > to do it that way first to work out all the other issues. It wouldn't have to be to an *active* swap partition; the point is, it's just a raw disk device (partition) that supports polled IO. Best, Conrad
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG6CVpWuK2T=1wQRM6QYCUWNLtZJHiJStHMxCG=r2ZPfTFr6cA>