Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Hibernation wake up speed in debian

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
alirezaimi
Posts: 144
Joined: 2011-01-12 16:25

Hibernation wake up speed in debian

#1 Post by alirezaimi »

Hi
I have 6GB memory and 6GB swap space.
hibernate worked well (about 10sec) but waking up from hibernate is very slow(5-10min).

How faster waking up from Hibernation in debian ?
===
debian testing
kernel : 3.2

Code: Select all

# cat /proc/swaps 
Filename				Type		Size	Used	Priority
/dev/sda8                               partition	6765564	1015812	-1

Code: Select all

# cat /proc/sys/vm/swappiness 
60

Code: Select all

# cat /etc/hibernate/hibernate.conf 
# hibernate.conf is split into separate configuration files.
# 
# Each file is tried in the order below, until an available suspend
# method is found.
# 
# Options specific to a particular suspend method should be placed in the
# appropriate configuration file (tuxonice.conf, ususpend.conf, disk.conf
# or ram.conf).
# Options common to all suspend methods should be placed in common.conf.
#
# See hibernate.conf(5) for help on the configuration items.

TryMethod tuxonice.conf
TryMethod disk.conf
TryMethod ram.conf
This is my logs after wake up:
Xorg : http://pastebin.com/DkkchCkG
messages : http://pastebin.com/gp1diru9
Last edited by alirezaimi on 2013-05-24 17:11, edited 1 time in total.

emariz
Posts: 2901
Joined: 2008-10-17 07:59

Re: Hibernation wake up speed in debian

#2 Post by emariz »

alirezaimi wrote:How faster waking up from Hibernation in debian ?
Less than ten seconds on my system (Intel Core i3 2310M, 4 GB of RAM.)

What program do you use for suspension? I ask you because I only use the scripts included in the package acpi-support and the directory /etc/hibernate/ does not exist in my system.

Anything relevant in /var/log/?

alirezaimi
Posts: 144
Joined: 2011-01-12 16:25

Re: Hibernation wake up speed in debian

#3 Post by alirezaimi »

emariz wrote:
alirezaimi wrote:How faster waking up from Hibernation in debian ?
Less than ten seconds on my system (Intel Core i3 2310M, 4 GB of RAM.)

What program do you use for suspension? I ask you because I only use the scripts included in the package acpi-support and the directory /etc/hibernate/ does not exist in my system.

Anything relevant in /var/log/?
Thanks for your answer,
i do not have acpi-support:

Code: Select all

# apt-cache policy acpi-support
acpi-support:
  Installed: (none)
  Candidate: 0.141-2
  Version table:
     0.141-2 0
        900 http://ftp.debian.org/debian/ testing/main amd64 Packages
        200 http://ftp.debian.org/debian/ sid/main amd64 Packages
but i hava /etc/hibernate/ dir with this elements:

Code: Select all

# lsa /etc/hibernate/
total 68
drwxr-xr-x   3 root root  4096 May 23 10:54 ./
drwxr-xr-x 181 root root 12288 May 24 13:46 ../
-rw-r--r--   1 root root  2237 May  3  2012 blacklisted-modules
-rw-r--r--   1 root root  4315 May  3  2012 common.conf
-rw-r--r--   1 root root   310 Jun  3  2010 disk.conf
-rw-r--r--   1 root root   518 Jun  3  2010 hibernate.conf
-rw-r--r--   1 root root   837 Jun  3  2010 ram.conf
drwxr-xr-x   2 root root  4096 May  3  2012 scriptlets.d/
-rw-r--r--   1 root root   345 Jun  3  2010 sysfs-disk.conf
-rw-r--r--   1 root root   289 Jun  3  2010 sysfs-ram.conf
-rw-r--r--   1 root root  1267 May  3  2012 tuxonice.conf
-rw-r--r--   1 root root   509 Jun  3  2010 ususpend-both.conf
-rw-r--r--   1 root root   501 Jun  3  2010 ususpend-disk.conf
-rw-r--r--   1 root root  1324 Jun  3  2010 ususpend-ram.conf

alirezaimi
Posts: 144
Joined: 2011-01-12 16:25

Re: Hibernation wake up speed in debian

#4 Post by alirezaimi »

This is my logs after wake up:
Xorg : http://pastebin.com/DkkchCkG
messages : http://pastebin.com/gp1diru9

Post Reply