<div dir="auto"><div>Hi Andrew, I'd be inclined to add a smidgen more swap to be on the safe side.</div><div dir="auto"><br></div><div dir="auto">I take it `sudo pm-hibernate` doesn't work (correctly) either? Are the kernel parameters getting set at boot (I think dmesg should say which device will be used)? Is your swap partition on lvm, are you mounting it using the uuid?</div><div dir="auto"><br></div><div dir="auto">I'm in the middle of redecorating my home office or I'd give it a bash myself 😃</div><div dir="auto"><br></div><div dir="auto">Cheers,</div><div dir="auto">Colin</div><div dir="auto"><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Fri, 16 Sept 2022, 01:16 Andrew Smith, <<a href="mailto:asmith9983@gmail.com">asmith9983@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Colin<div>I have 32Gb of swap, with <i>htop</i> reporting none used in normal operation.</div><div>Suspend works OK. Given the minimal energy consumed overnight on suspend, I may just continue using that until I can investigate further how <i>suspend-then-hibernate</i> is meant to operate by reading the sourcecode of <i>systemctl. </i></div><div><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr">Andrew</div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 14 Sept 2022 at 20:07, Colin Shorts <<a href="mailto:colin.shorts@gmail.com" target="_blank" rel="noreferrer">colin.shorts@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">I'm no expert on hibernate (I use suspend myself), but iirc you'll need at least as much free swap as system ram +used swap. 64GB doesn't sound unreasonable as a starting point assuming you've got enough space and considering how much Chrome can chew up.<div dir="auto"><br></div><div dir="auto">-Colin</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 14 Sept 2022, 18:03 Andrew Smith, <<a href="mailto:asmith9983@gmail.com" target="_blank" rel="noreferrer">asmith9983@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Guys<div>For quite a while, I've been putting my system into suspend mode, which was successful , apart from an odd occassion. I now want to try saving more energy</div><div>I've tried powering down, but would like it to restart in the same state rather than with a new login, as I had with suspend.</div><div>I've tried "systemctl suspend-then-hibernate" from root CLI, but I get essentially a fresh boot. </div><div><br></div><div>Any suggestions ?</div><div>I'm running kernel 5.4.0-125-generic from Ubuntu, in 32Gb RAM, and typically have a around hundred tabs open on Chrome.<br></div><div><div><div dir="ltr"><div dir="ltr">Andrew</div></div></div></div></div>
-- <br>
EdLUG mailing list<br>
<a href="mailto:EdLUG@mailman.lug.org.uk" rel="noreferrer noreferrer" target="_blank">EdLUG@mailman.lug.org.uk</a><br>
<a href="https://lists.edlug.org.uk/mailman/listinfo/edlug" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.edlug.org.uk/mailman/listinfo/edlug</a><br>
</blockquote></div>
-- <br>
EdLUG mailing list<br>
<a href="mailto:EdLUG@mailman.lug.org.uk" target="_blank" rel="noreferrer">EdLUG@mailman.lug.org.uk</a><br>
<a href="https://lists.edlug.org.uk/mailman/listinfo/edlug" rel="noreferrer noreferrer" target="_blank">https://lists.edlug.org.uk/mailman/listinfo/edlug</a><br>
</blockquote></div>
-- <br>
EdLUG mailing list<br>
<a href="mailto:EdLUG@mailman.lug.org.uk" target="_blank" rel="noreferrer">EdLUG@mailman.lug.org.uk</a><br>
<a href="https://lists.edlug.org.uk/mailman/listinfo/edlug" rel="noreferrer noreferrer" target="_blank">https://lists.edlug.org.uk/mailman/listinfo/edlug</a><br>
</blockquote></div></div></div>