APMD-List:
Archives

  
Back

to

APMD

Home

      Index: [thread] [date] [subject] [author]
  From: Adam Spiers <adam@thelonious.new.ox.ac.uk>
  To  : apmd mailing list <apmd-list@worldvisions.ca>
linux-laptop mailing list <linux-laptop@vger.rutgers.edu> Date: Tue, 25 May 1999 13:25:41 +0100

CPU slows to a crawl after resume from suspend

Hi there,

I've just got a nice new IBM ThinkPad 390E (UK version) and am running
Redhat 6.0 and a 2.3.3 kernel:

% uname -a
Linux pulse.ram.ac.uk 2.3.3 #4 SMP Tue May 18 14:58:45 BST 1999 i686 unknown

Standby mode works fine, but when I suspend (or hibernate) the machine
and then resume, the CPU slows right down.  Using

% time perl -le 'for (1 .. 100000) { $i++; print $i if $i % 1000 == 0 }'

as a very primitive benchmark shows:

0.38s user 0.00s system 99% cpu 0.383 total

for the normal speed, and

36.38s user 0.19s system 43% cpu 1:23.95 total

for after a suspend and resume.

# apmd -V
apmd version 3.0beta4

# apm --debug
APM BIOS 1.2 (kernel driver 1.9)
AC off-line, battery status high: 73% (2:21)
Using device 0x0a86, 1.9: 1.2
APM Flags =      0x03; AC Line Status = 0x00
Battery Status = 0x00; Battery Flags =  0x01
Battery %age   =   73; Battery Time   =  141, use_mins=1

# grep APM /usr/src/linux/.config
CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
CONFIG_APM_DO_ENABLE=y
# CONFIG_APM_CPU_IDLE is not set
# CONFIG_APM_DISPLAY_BLANK is not set
CONFIG_APM_POWER_OFF=y
CONFIG_APM_IGNORE_MULTIPLE_SUSPEND=y
CONFIG_APM_IGNORE_SUSPEND_BOUNCE=y
CONFIG_APM_RTC_IS_GMT=y
CONFIG_APM_ALLOW_INTS=y

I've fiddled around with some of these kernel APM settings, but to no
avail.  Suggestions very welcome, as this is driving me mad!

-- 
     .         __                            ,
 _. _| _.._ _ /(]|  __._ * _ ._. __   ._  _ -+-       music student @ RAM.ac.uk
(_](_](_][ | )\__/ _) [_)|(/,[  _)  * [ )(/, |      part-time Perl/Linux hacker
                      |                          http://www.new.ox.ac.uk/~adam/


Index: [thread] [date] [subject] [author]


Write to me! apenwarr@worldvisions.ca