Shutdown vs Suspend

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
shom_ronnie
Level 2
Level 2
Posts: 96
Joined: Tue Jun 12, 2018 1:33 pm
Location: India

Shutdown vs Suspend

Post by shom_ronnie » Tue Sep 03, 2019 8:42 am

Just out of curiosity,
Do you shut down your PC between uses? Or just leave it running all the time? Or maybe restart every few days?

I know there is a long standing debate on this topic, but just wanted to get the views of the Linux Mint community, as there seems to be no specific need to restart the computer, even after updates.

Rocky Bennett
Level 5
Level 5
Posts: 530
Joined: Tue May 12, 2015 6:22 pm

Re: Shutdown vs Suspend

Post by Rocky Bennett » Tue Sep 03, 2019 8:50 am

I wish that Linux Mint would automatically put the computer to sleep like other Linux distros. It hasn't worked since Linux Mint 17.x.

shom_ronnie
Level 2
Level 2
Posts: 96
Joined: Tue Jun 12, 2018 1:33 pm
Location: India

Re: Shutdown vs Suspend

Post by shom_ronnie » Tue Sep 03, 2019 8:55 am

On my laptop, closing the lid does it, but no harm in having an option.

gm10
Level 19
Level 19
Posts: 9643
Joined: Thu Jun 21, 2018 5:11 pm

Re: Shutdown vs Suspend

Post by gm10 » Tue Sep 03, 2019 9:23 am

My Windows box I restart maybe once a month for patch day, and even then only if necessary. Linux I restart weekly at least, both for kernel updates and because something always leaks memory.
Rocky Bennett wrote:
Tue Sep 03, 2019 8:50 am
I wish that Linux Mint would automatically put the computer to sleep like other Linux distros. It hasn't worked since Linux Mint 17.x.
Works fine here, always has.
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

User avatar
Pierre
Level 19
Level 19
Posts: 9147
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Shutdown vs Suspend

Post by Pierre » Tue Sep 03, 2019 9:29 am

just let it's power saving goto an suspend, if just walking away, for a while,
& otherwise do use the shut-down / power off, when going out / end of evening time.
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.

User avatar
I2k4
Level 5
Level 5
Posts: 600
Joined: Thu Feb 02, 2012 8:33 pm

Re: Shutdown vs Suspend

Post by I2k4 » Tue Sep 03, 2019 9:43 am

Having used PCs since the 1980s and Ubuntu / Mint since 10.04, and read up about it, frequent shutting down and rebooting is a) healthy refreshment for any operating system, especially after system or large software updates, and b) does no harm to hardware. All my current PCs have lasted nearly a decade through hundreds of restarts.

That said (with Mint startups taking longer than ever) it's obviously inconvenient when the machine is in active use. My Dell laptop has had problems with "Suspend" for several Mint versions. Since the main object is to spare the screen I create a custom keyboard shortcut:

sh -c 'sleep 0.3 && xset dpms force off'

set to Super+Z key combo - switches the screen off while letting the system idle. Any mouse / trackpad movement activates the screen.
TRUST BUT VERIFY any advice from anybody, including me. M18.3 XFCE (Dell 1520) 64 bit. Dual booting M19.1 XFCE / W7 (Acer netbook) and M19.1 Cinnamon / W7 (Lenovo desktop) 64 bit. Persistent live USB pretesting M19.2 Cinnamon and XFCE.

shom_ronnie
Level 2
Level 2
Posts: 96
Joined: Tue Jun 12, 2018 1:33 pm
Location: India

Re: Shutdown vs Suspend

Post by shom_ronnie » Tue Sep 03, 2019 10:07 am

Having used PCs since the 1980s and Ubuntu / Mint since 10.04, and read up about it, frequent shutting down and rebooting is a) healthy refreshment for any operating system, especially after system or large software updates, and b) does no harm to hardware. All my current PCs have lasted nearly a decade through hundreds of restarts
Yes I am of the same opinion, but as some suggest its just fine to keep it running. Also i have noticed a certain lag in apps trying to open up after a fresh reboot, using up a considerable amount of cpu, while it runs smoothly after a suspend. Its definitely a tricky question to answer, but i guess its all about personal habits, but no harm in taking opinions from experts here.

shom_ronnie
Level 2
Level 2
Posts: 96
Joined: Tue Jun 12, 2018 1:33 pm
Location: India

Re: Shutdown vs Suspend

Post by shom_ronnie » Tue Sep 03, 2019 10:11 am

Pierre wrote:
Tue Sep 03, 2019 9:29 am
just let it's power saving goto an suspend, if just walking away, for a while,
& otherwise do use the shut-down / power off, when going out / end of evening time.
Thank you for the suggestion :)

KBD47
Level 7
Level 7
Posts: 1808
Joined: Fri Jul 29, 2011 12:03 am

Re: Shutdown vs Suspend

Post by KBD47 » Tue Sep 03, 2019 4:40 pm

Rocky Bennett wrote:
Tue Sep 03, 2019 8:50 am
I wish that Linux Mint would automatically put the computer to sleep like other Linux distros. It hasn't worked since Linux Mint 17.x.
Maybe this can help:
https://wiki.debian.org/SystemdSuspendSedation

KBD47
Level 7
Level 7
Posts: 1808
Joined: Fri Jul 29, 2011 12:03 am

Re: Shutdown vs Suspend

Post by KBD47 » Tue Sep 03, 2019 4:44 pm

With Debian I go for days without a restart and just suspend. Mint tends to have a few more updates so restarts are more often.
For those who are having issues with suspend maybe check this out:
https://wiki.debian.org/SystemdSuspendSedation

Rocky Bennett
Level 5
Level 5
Posts: 530
Joined: Tue May 12, 2015 6:22 pm

Re: Shutdown vs Suspend

Post by Rocky Bennett » Tue Sep 03, 2019 5:05 pm

KBD47 wrote:
Tue Sep 03, 2019 4:40 pm
Rocky Bennett wrote:
Tue Sep 03, 2019 8:50 am
I wish that Linux Mint would automatically put the computer to sleep like other Linux distros. It hasn't worked since Linux Mint 17.x.
Maybe this can help:
https://wiki.debian.org/SystemdSuspendSedation


Thank you for that link but I have a desktop computer.

Minux1
Level 3
Level 3
Posts: 118
Joined: Tue Aug 06, 2019 1:49 am

Re: Shutdown vs Suspend

Post by Minux1 » Tue Sep 03, 2019 5:40 pm

I leave a Linux computer shut down for a coupla weeks and the update manager laundry list looks like the want add section of the Toronto Star when I boot up.
But it beats being force fed from Redmond any day. :mrgreen:

Neil Edmond
Level 6
Level 6
Posts: 1060
Joined: Thu Dec 26, 2013 10:19 am
Location: N.E. AR USA

Re: Shutdown vs Suspend

Post by Neil Edmond » Tue Sep 03, 2019 6:31 pm

My desktop is kept running 24/7 for convenience sake, and so I can easily remote into it when I'm away if need be. However, we just returned from a 5 day trip, during which time I had shut down other my desktop and NAS. Something I almost never do, but knew I would not be able to log in while away, so why not?

My daily use laptop generally is suspended when not in use and only reboots for kernel updates and such. All other machines are shut down when not in use.

User avatar
Peter Linu
Level 4
Level 4
Posts: 385
Joined: Sun Nov 11, 2018 8:24 pm
Location: Sydney, Australia

Re: Shutdown vs Suspend

Post by Peter Linu » Tue Sep 03, 2019 8:01 pm

Shame on you, people.
Please consider our earth and its dwindling resources and keep your computers off when not being used.
EVERYDAY-Mate 19.2 Lenovo Y5-70-16G RAM, 500G HDD Dual-boot Win7+Cinnamon 19.2 Thinkpad T440p#2 i5,8Gb RAM, 500Gb SSD, 1Tb HDD 19.2 Cinnamon+(VB Win7) Thinkpad T440p#1 i7-4712 16Gb RAM, 1Tb SSD, 2Tb HDD, 275Gb M.2 SSD.

User avatar
lsemmens
Level 9
Level 9
Posts: 2559
Joined: Wed Sep 10, 2014 9:07 pm
Location: Rural South Australia

Re: Shutdown vs Suspend

Post by lsemmens » Tue Sep 03, 2019 8:55 pm

I have some computers that have run 24/7 for months, and others that get shut down when I finish with them, MY laptop gets the most use and does tend to be re-started once or twice a day, for no other reason than I am doing something that requires a re-start, otherwise the lid-close puts it to sleep. Whatever is most convenient, suitable, for your situation. I have no real preference. FWIW a cold boot on my lappy only takes about 15 seconds, Some of my other machines 30-60secs, hardly a time waster.
Kernel: 4.15.0-46-generic x86_64 bits
Desktop: Cinnamon 3.8.9
Distro: Linux Mint 19 Tara

Laptop HP-ProBook-470-G2 8Gb RAM SSD
Server AMD Phenom 9650 - GEForce 9400GT 6Gb RAM
+ three other Mint machines
Out of my mind - please leave a message

decrepit
Level 4
Level 4
Posts: 202
Joined: Mon Dec 03, 2018 4:07 am

Re: Shutdown vs Suspend

Post by decrepit » Tue Sep 03, 2019 10:35 pm

Peter Linu wrote:
Tue Sep 03, 2019 8:01 pm
Shame on you, people.
Please consider our earth and its dwindling resources and keep your computers off when not being used.
Spot on Peter!
Turn all electrical stuff off when not in use. Individually it may only be a few watts, but collectively it all adds up.

Neil Edmond
Level 6
Level 6
Posts: 1060
Joined: Thu Dec 26, 2013 10:19 am
Location: N.E. AR USA

Re: Shutdown vs Suspend

Post by Neil Edmond » Tue Sep 03, 2019 10:37 pm

It's a good rule to follow, but if stuff is in use 24/7... then what are you gonna do? Doesn't mean I have to be sitting in front of my computer for it to be doing something useful to me.

all41
Level 15
Level 15
Posts: 5691
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: Shutdown vs Suspend

Post by all41 » Tue Sep 03, 2019 11:29 pm

decrepit wrote:
Tue Sep 03, 2019 10:35 pm
Peter Linu wrote:
Tue Sep 03, 2019 8:01 pm
Shame on you, people.
Please consider our earth and its dwindling resources and keep your computers off when not being used.
Spot on Peter!
Turn all electrical stuff off when not in use. Individually it may only be a few watts, but collectively it all adds up.
+1 from eco standpoint.
First thing I noticed using Linux is how quickly it booted and shut down compared to Windows.
Definite energy savings on both ends.
If all Windows users converted to Linux you could multiply that power savings by a billion or so and that would add up to big gigawatts
of energy savings.

From a reliability standpoint power off/on cycles are difficult times for electronics, particularly hard drives.
Power cycle counts are recorded in the hdd SMART attributes.
Also the temperature stability inside an always on system increases electronic reliability.

decrepit
Level 4
Level 4
Posts: 202
Joined: Mon Dec 03, 2018 4:07 am

Re: Shutdown vs Suspend

Post by decrepit » Tue Sep 03, 2019 11:59 pm

Modern HDDs seem to cope with stopping starting.
When we bought our first PC over 20 years ago, we were told to leave it on. But we didn't take any notice of this advice, and turned on and off daily. In that time I haven't had a HDD failure, this current one is over 6 years old.

carum carvi
Level 6
Level 6
Posts: 1029
Joined: Sun Apr 16, 2017 11:44 pm

Re: Shutdown vs Suspend

Post by carum carvi » Wed Sep 04, 2019 2:43 am

Do I suspend? Yes I do and I like it! Windows has fast (1 - 5 min) suspend options for laptops. Linux (in general) has not. 5 minutes (for the entire system) is the fastest suspend setting I have found in a Linux OS, which happens to be LinuxMint. Often only 10 or 15 minutes is the fastest available suspend setting in other Linux OSes.

However nifty or unimportant this difference in fast suspend settings between Windows and Linux might seem, many small energy savings accumulate into a much bigger one. But there are great workarounds to be found in Linux. Linux is still king of tweaks!

I save up to half an hour extra battery power by automatically suspending LinuxMint Cinnamon within 2 minutes, by simply using dconf-editor to change the power management settings ( dconf-editor, notice the hyphen, is available in the software manager).

LinuxMint Mate or Xfce will save a user up to half an hour extra (or even more) battery power as well, compared to LinuxMint Cinnamon. If I combine LinuxMint Xfce with a fast 2 minute suspend setting, I will save over 1 hour of extra battery power on my laptop! I am one happy bunny! And that's without any additional complicated tweaks by Powertop or TLP, with which even further power reductions could be achieved.

Do I suspend? Yes I do and I like it!

Post Reply

Return to “Newbie Questions”