2011-03-23 12:53:35

by Ortwin Glück

[permalink] [raw]
Subject: High latency in wine after suspend

Hi,

After a suspend/resume cycle I see intermittent high latency in
poll_schedule_timeout (latencytop). This leads to the mouse cursor
freezing for several seconds sometimes when switching to/from a window
of a wine process. The problem never occurs before suspend, but always
occurs after. Any ideas what could cause such behaviour? Kernel is
vanilla 2.6.38 x86_64 running on a recent HP laptop with Intel chipset.

Ortwin


2011-04-15 05:40:49

by Pavel Machek

[permalink] [raw]
Subject: Re: High latency in wine after suspend

Hi!

> After a suspend/resume cycle I see intermittent high latency in
> poll_schedule_timeout (latencytop). This leads to the mouse cursor
> freezing for several seconds sometimes when switching to/from a window
> of a wine process. The problem never occurs before suspend, but always
> occurs after. Any ideas what could cause such behaviour? Kernel is
> vanilla 2.6.38 x86_64 running on a recent HP laptop with Intel chipset.

Was this solved somehow? Can you try to find "smaller" testcase --
anything less complex than wine? What about hibernation?

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

2011-04-15 06:57:18

by Ortwin Glück

[permalink] [raw]
Subject: Re: High latency in wine after suspend

>> After a suspend/resume cycle I see intermittent high latency in
>> poll_schedule_timeout (latencytop). This leads to the mouse cursor
>> freezing for several seconds sometimes when switching to/from a window
>> of a wine process. The problem never occurs before suspend, but always
>> occurs after. Any ideas what could cause such behaviour? Kernel is
>> vanilla 2.6.38 x86_64 running on a recent HP laptop with Intel chipset.
>
> Was this solved somehow? Can you try to find "smaller" testcase --
> anything less complex than wine? What about hibernation?

Yes, I made an educated guess and applied

84ac7c
x86, mtrr, pat: Fix one cpu getting out of sync during resume

With that the problem is gone.