![]() |
APMD-List: |
to APMD Home
|
Index:
[thread]
[date]
[subject]
[author]
From: <yves@vlaanderen.net> To : Adam Spiers <adam@spiers.net> Date: Wed, 26 May 1999 09:36:13 +0200 (CEST) Re: CPU slows to a crawl after resume from suspend
Hello,
I have a Thinkpad 560 and a tip that might help you. First I Compiled the
Floppy driver as a module. When I want to suspend or hybernate, i have
to unload the floppy driver. I don't know why but this fixes the problem
for me. I have added this to all my other suspend actions.
Hope this helps,
-Yves
On Tue, 25 May 1999, Adam Spiers wrote:
> 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/
>
>
>
=================================================================
"Programming today is a race between software engineers striving
to build bigger and better idiot-proof programs, and the Universe
trying to produce bigger and better idiots. So far, the Universe
is winning." -- Rich Cook
Index: [thread] [date] [subject] [author] |