LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-08-2020, 09:28 AM   #1
Thomastothuk
LQ Newbie
 
Registered: Sep 2020
Posts: 7

Rep: Reputation: Disabled
Extremely slow wake up from suspend?


Hi folks. I have a problem with my Lubuntu laptop. When I suspend the laptop it takes about 5 minutes to wake up again. Cold boot takes around 1. What could be the problem? I'm fairly new to Linux, so please tell me what code should I post, etc.
On Windows it woke up in seconds.
Thanks.
 
Old 10-08-2020, 12:23 PM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,141
Blog Entries: 6

Rep: Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828
When you say sleep do you mean suspend or hibernate? What command are you sleeping with? Are there any messages in the tty or terminal that say something is running?

If you suspend with
Code:
systemctl suspend
Does it wake up from that? if not what errors or messages does it post?

Also look in the journal

See:
man journalctl
man systemctl

You'll need to give more info.
 
Old 10-08-2020, 12:33 PM   #3
Thomastothuk
LQ Newbie
 
Registered: Sep 2020
Posts: 7

Original Poster
Rep: Reputation: Disabled
I just gave 'systemctl suspend' a try and it worked in a second. When I go on the start menu, and click suspend from there, it takes 5 minutes to wake. Is there a way to edit the command given out by the suspend button on the start menu?
 
Old 10-08-2020, 02:55 PM   #4
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Somewhere in the LXDE power management settings there should be an option to choose what to do when the suspend button is pressed (or that menu item is selected). Suspend just keeps the RAM refreshed. Hibernate writes all of RAM to disk, then sleeps. Reading many gigabytes of data from disk can take a long time, and that's probably the setting in use. Change that to suspend and you should have what you want. I'm not up to date on LXDE, so I don't remember the exact way to get into those settings, but the docs/help files should tell you.
 
Old 10-09-2020, 11:30 PM   #5
finalturismo
Member
 
Registered: May 2019
Posts: 120

Rep: Reputation: Disabled
Check the config files in /etc/

elogind, lightdm, systemd and more to name. All have their own power management settings inside their own config file. Sometimes when you install a package you can have more than 1 running because of a dependency. You just need edit the configure file.

Depending on your distro, they can be located in different areas.

nano /etc/elogind/logind.conf

nano /etc/lightdm/lightdm.conf

nano /etc/systemd/sleep.conf

You can also use the command

Code:
find . -iname "*systemd*"
to search for a file or folder containing that name in your current directory recursively.

To know Linux is to know the command line, because GUIs always change and it takes time to learn them, once you learn the command line. Its forever...

Id recommend to start Googling and practicing. You will freak out once you see all the things you can do with Linux that you could never do with Windows.

The entire OS is driven by text and terminal commands. Its a giant OS built on a web of commands that is always being added to.

Also Linux has a memory management system that is generations ahead of Windows. You can install 300 GB of software and still be at almost no CPU usage during operation as the much of the software all use the same dependencies. So programs share each other resources in a much more effective way than windows. There is really no need to worry about memory usage and CPU usage much like Windows. Unless your doing large tasks... Dont be to try new things.

also a pro tip: Dont reinstall to fix a problem, you can always fix it with the CLI. Its a good learning process. After you learn Linux you wont trade it for anything in the world. But if you come to this world to always use the GUI your in the wrong place, keep using the CLI. Your brain will pick it up fast if you got the will power.

Last edited by finalturismo; 10-09-2020 at 11:31 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I wake up a server in "standby" or "memory" mode using wake-on-lan? songweijia Linux - Server 2 03-03-2010 06:51 PM
IBM T42 "Extremely, EXTREMELY Slow" alwayslearning Linux - Laptop and Netbook 5 10-11-2009 03:34 AM
wake on lan magic packet does not wake. albean Linux - Networking 1 06-30-2007 03:57 PM
Suspend To Disk And Wake On Lan, Can you somehow combine Suspend2 and Soft off? Lake-end Linux - Hardware 1 04-19-2006 04:20 AM
sdl games are slow extremely slow linksocc Linux - Software 7 01-17-2004 03:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration