From: Pavel Machek <pavel@ucw.cz>
To: Luca Tettamanti <kronos.it@gmail.com>
Cc: Andreas Mohr <andi@rhlx01.fht-esslingen.de>,
vojtech@suse.cz, linux-kernel@vger.kernel.org,
Thomas Gleixner <tglx@linutronix.de>
Subject: Re: strange keyboard lag after suspend testing
Date: Wed, 21 Mar 2007 23:22:16 +0100 [thread overview]
Message-ID: <20070321222216.GG6057@elf.ucw.cz> (raw)
In-Reply-To: <20070321201256.GA11560@dreamland.darkstar.lan>
Hi!
> >> > >No, it is not keyboard rate. Keyboard lags during normal typing,
> >> > >sometimes letters come in groups of two or so...
> >> >
> >> > I might start looking at embedded controller changes and switches. If
> >> > ACPI misbehaves that could starve keyboard controller... But you
> >> > said
> >>
> >> Mouse _seems_ okay, but I'm not sure if I'd notice lag there.
> >>
> >> > that mouse is OK... Hmm, what happens if you load evbug and type while
> >> > watching syslog. Do you observe the same delays?
> >>
> >> Hmm, seems that it only happens in X... so maybe it is some strange
> >> scheduling artefact?
> >>
> >> Hmm, something is wrong here:
> >>
> >> On console, I get expected 4-5 ticks a second. In x in gnome-terminal,
> >> I get this:
> >
> > It gets weirder: I killed some tasks and now: (on unloaded system
> > running X, notice that top latency was ~1sec at 33:09).
> >
> > root@amd:~# while true ; do echo -n . ; sleep .2; date; done
> > .Tue Mar 20 17:33:07 CET 2007
> > .Tue Mar 20 17:33:07 CET 2007
> > .Tue Mar 20 17:33:08 CET 2007
> > .Tue Mar 20 17:33:08 CET 2007
> > .Tue Mar 20 17:33:08 CET 2007
> > .Tue Mar 20 17:33:08 CET 2007
> > .Tue Mar 20 17:33:09 CET 2007
> > .Tue Mar 20 17:33:10 CET 2007
> > .Tue Mar 20 17:33:10 CET 2007
> > .Tue Mar 20 17:33:10 CET 2007
> > .Tue Mar 20 17:33:10 CET 2007
> > .Tue Mar 20 17:33:10 CET 2007
> > .Tue Mar 20 17:33:11 CET 2007
> > .Tue Mar 20 17:33:11 CET 2007
> > .Tue Mar 20 17:33:11 CET 2007
> > .Tue Mar 20 17:33:12 CET 2007
> > .Tue Mar 20 17:33:12 CET 2007
> >
> > As soon as I load the cpu up with while1, machine starts to behave.
> >
> > When I turn on bluetooth (USB), ACPI can no longer use C3, and machine
> > starts to behave. Hmm?
>
> When the CPU is in C3 the TSC and LAPIC (IIRC) are stopped, sounds like
> the problem is here. Maybe after resume kernel fails to fall back to a
> "safe" clocksource.
Notice that problem is _not_ easily reproducible :-(. One suspend is
not enough to trigger it.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
prev parent reply other threads:[~2007-03-21 22:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-20 15:33 Pavel Machek
2007-03-20 16:00 ` Andreas Mohr
2007-03-20 16:03 ` Pavel Machek
2007-03-20 16:09 ` Dmitry Torokhov
2007-03-20 16:31 ` Pavel Machek
2007-03-20 16:38 ` Pavel Machek
2007-03-20 21:56 ` Rafael J. Wysocki
2007-03-21 20:12 ` Luca Tettamanti
2007-03-21 22:22 ` Pavel Machek [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070321222216.GG6057@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=andi@rhlx01.fht-esslingen.de \
--cc=kronos.it@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=vojtech@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®