You are not logged in.

#1 2010-11-25 23:13:09

nachof
Member
Registered: 2008-01-18
Posts: 15

High load average when coming back from suspension to RAM

Hi!

I have an issue when coming back from RAM suspension: sometimes (not always, but enough times to be very annoying) the load average starts getting high (up to about 20, sometimes even more) and a lot of stuff starts going into swap (in htop I can see how the used ram goes down, while used swap goes up). Also, I don't see any processes with high CPU usage. The high load average seems to come from the very high disk IO only.

This has been happenning a lot, and it's really annoying. It can take ten minutes for the system to fully recover (in one extreme case, I left it there while I went to lunch, when I came back one hour later it was still doing stuff; I ended up having to forcefully turn my computer off).

I've tried disabling swap, but it didn't work. In fact, it seems to make it worse, since it never ends doing whatever it's trying to do until I reenable swap.

This seems to happen more when I have high memory usage (Firefox running for a few days, or, something that is sure to cause issues, VirtualBox running). Also, it seems to be more likely to happen the more I have my computer running: if I have just rebooted, then it won't happen.

Yesterday, after reading some posts in some Ubuntu forums where people had this issue and some had solved it by removing power management stuff, I removed laptop-mode-tools and unloaded the sony_laptop module (which I think does nothing in my current configuration anyway), and this seemed to solve the issue, for a couple of cycles: resumed this morning, suspended, went to the office, resumed, suspended; but when I came back home, again the same issue.

Anybody has any idea what might be causing this? Any help would be extremely appreciated, since I can't seem to find much people with the same issue googling (and certainly no solutions that I could find)

Some relevant info (or might be relevant): my laptop is a Sony VAIO VGN-FW465J. I am using the 64bit version of Arch.

uname -a says:
Linux harah 2.6.31-ARCH #1 SMP PREEMPT Tue Nov 10 19:01:40 CET 2009 x86_64 Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53GHz GenuineIntel GNU/Linux

I use wmii as my WM, and have a couple of KDE apps running.

Xorg is an older version (1.6.3.901) since when I first installed it I needed a somewhat older version for the video drivers (the one from ATI with acceleration).

There are also a few daemons running: httpd, mysql, postgres are the ones I imagine might cause some trouble.

This is my pm-suspend.log:

Initial commandline parameters: 
Thu Apr  8 19:30:46 UYT 2010: Running hooks for hibernate.
/usr/lib/pm-utils/sleep.d/00auto-quirk hibernate hibernate: Adding quirks from HAL: --quirk-s3-bios 
success.
/usr/lib/pm-utils/sleep.d/00logging hibernate hibernate: Linux harah 2.6.31-ARCH #1 SMP PREEMPT Tue Nov 10 19:01:40 CET 2009 x86_64 Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53GHz GenuineIntel GNU/Linux
Module                  Size  Used by
rfcomm                 46560  4 
sco                    13476  2 
bridge                 63008  0 
stp                     2852  1 bridge
llc                     7072  2 bridge,stp
bnep                   13888  2 
l2cap                  28064  16 rfcomm,bnep
ipv6                  338656  26 
fglrx                2249656  30 
btusb                  15540  2 
bluetooth              66852  9 rfcomm,sco,bnep,l2cap,btusb
snd_seq_dummy           3588  0 
snd_seq_oss            36320  0 
snd_seq_midi_event      8640  1 snd_seq_oss
snd_seq                64768  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          8372  3 snd_seq_dummy,snd_seq_oss,snd_seq
arc4                    2240  2 
uvcvideo               69100  0 
videodev               42752  1 uvcvideo
v4l1_compat            18276  2 uvcvideo,videodev
v4l2_compat_ioctl32    11040  1 videodev
snd_hda_codec_atihdmi     4864  1 
ecb                     3584  2 
sdhci_pci               9536  0 
sdhci                  20484  1 sdhci_pci
mmc_core               62368  1 sdhci
iwlagn                132576  0 
iwlcore               126496  1 iwlagn
snd_pcm_oss            47360  0 
ohci1394               34228  0 
joydev                 13376  0 
snd_mixer_oss          21024  1 snd_pcm_oss
snd_hda_codec_realtek   286788  1 
led_class               5160  2 sdhci,iwlcore
ieee1394               99264  1 ohci1394
sony_laptop            35256  0 
mac80211              179312  2 iwlagn,iwlcore
ac                      5640  0 
thermal                17760  0 
processor              42364  2 
battery                13896  0 
video                  24636  0 
output                  3872  1 video
button                  7264  0 
snd_hda_intel          32232  1 
snd_hda_codec          83200  3 snd_hda_codec_atihdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep              10056  1 snd_hda_codec
snd_pcm                91848  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer              25456  2 snd_seq,snd_pcm
snd                    77224  13 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore               8768  1 snd
snd_page_alloc         10832  2 snd_hda_intel,snd_pcm
cfg80211              104344  3 iwlagn,iwlcore,mac80211
rfkill                 24232  3 bluetooth,sony_laptop,cfg80211
uhci_hcd               27232  0 
i2c_i801               11584  0 
i2c_core               25664  2 videodev,i2c_i801
ehci_hcd               41776  0 
usbcore               183764  5 btusb,uvcvideo,uhci_hcd,ehci_hcd
psmouse                60708  0 
iTCO_wdt               13712  0 
iTCO_vendor_support     3940  1 iTCO_wdt
intel_agp              34384  0 
sky2                   57764  0 
evdev                  13024  7 
serio_raw               7268  0 
pcspkr                  3296  0 
sg                     33664  0 
vboxdrv              1770252  0 
rtc_cmos               13756  0 
rtc_core               22116  1 rtc_cmos
rtc_lib                 3168  1 rtc_core
ext4                  361960  2 
mbcache                 9028  1 ext4
jbd2                   97344  1 ext4
crc16                   2144  1 ext4
sd_mod                 31848  4 
sr_mod                 19556  0 
cdrom                  41320  1 sr_mod
ahci                   42960  3 
libata                193612  1 ahci
scsi_mod              133592  4 sg,sd_mod,sr_mod,libata
             total       used       free     shared    buffers     cached
Mem:       4024176    1309524    2714652          0     203628     434260
-/+ buffers/cache:     671636    3352540
Swap:      8000328          0    8000328
success.
/usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/01grub hibernate hibernate: not applicable.
/usr/lib/pm-utils/sleep.d/11netcfg hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate: not applicable.
/usr/lib/pm-utils/sleep.d/55NetworkManager hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/75modules hibernate hibernate: not applicable.
/usr/lib/pm-utils/sleep.d/90clock hibernate hibernate: not applicable.
/usr/lib/pm-utils/sleep.d/91wicd hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/95led hibernate hibernate: not applicable.
/usr/lib/pm-utils/sleep.d/98smart-kernel-video hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/99laptop-mode hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/99video hibernate hibernate: success.
Thu Apr  8 19:30:48 UYT 2010: performing hibernate

Offline

#2 2010-11-26 00:31:20

thestinger
Package Maintainer (PM)
From: Toronto, Canada
Registered: 2010-01-23
Posts: 478

Re: High load average when coming back from suspension to RAM

nachof wrote:

2.6.31-ARCH

You should probably upgrade to the newest kernel, xorg and the radeon driver. I'm sure a lot of bugs have been fixed since 2.6.31 (maybe this one).

Last edited by thestinger (2010-11-26 00:33:37)

Offline

Board footer

Powered by FluxBB