Where are my Eggos?

I think this is "firetrucking my system." Remove the iretr to get the foul language version. :slight_smile:

My system is taking 30 plus seconds from return from a suspend state.

I am thankful that it runs my Backup script so I get my files backed up,
but Jeez, I need a little less stress.

I would appreciate any help.

Thanks.

#!/bin/sh
# Backup files to maxtor drive before the computer has been suspended
# Put this in /lib/systemd/system-sleep/

case "$1" in
    pre) 
        logger Files being backed up to Maxtor drive.
        /home/andy/bin/Backup_Ubuntu_Mate.sh
        logger done with backup, going to sleep.
        ;;
    post)
        logger waking up from sleep.
        ;;
esac



#!/bin/sh
# Backup files to maxtor drive before the computer has been suspended
# Put this in /lib/systemd/system-sleep/

case "$1" in
    pre) 
        logger Files being backed up to Maxtor drive.
        /home/andy/bin/Backup_Ubuntu_Mate.sh
        logger done with backup, going to sleep.
        ;;
    post)
        logger waking up from sleep.
        ;;
esac

Yes, because it has to load everything from disk, and I mean literally everything.
It's the limitation of physics.

Returning from suspend (a.k.a. hibernate) can often take almost as long as a cold boot.

This is what it's all about:

Sleep mode keeps your computer in a low-power state while maintaining the current session in RAM, allowing for quick wake-up. Hibernate saves your session to the hard drive and completely powers off the computer, which takes longer to resume but uses less power.

If you need everything to respond faster, you might want the system to go to sleep instead of going to hibernate.

On the other hand, you might want to just do a shutdown instead and optimize your boot sequence. Both ny main rig and my el cheapo Pentium N6000 laptop boot within 20 seconds, almost faster than the mainboard POST .

2 Likes