Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S271355AbTHMD3V (ORCPT ); Tue, 12 Aug 2003 23:29:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S271357AbTHMD3V (ORCPT ); Tue, 12 Aug 2003 23:29:21 -0400 Received: from c210-49-248-224.thoms1.vic.optusnet.com.au ([210.49.248.224]:31644 "EHLO mail.kolivas.org") by vger.kernel.org with ESMTP id S271355AbTHMD3R (ORCPT ); Tue, 12 Aug 2003 23:29:17 -0400 From: Con Kolivas To: Mike Galbraith Subject: Re: WINE + Galciv + 2.6.0-test3-mm1-O15 Date: Wed, 13 Aug 2003 13:34:54 +1000 User-Agent: KMail/1.5.3 Cc: gaxt , linux-kernel@vger.kernel.org References: <3F38FCBA.1000008@rogers.com> <5.2.1.1.2.20030812193758.0197b9c0@pop.gmx.net> In-Reply-To: <5.2.1.1.2.20030812193758.0197b9c0@pop.gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200308131334.54598.kernel@kolivas.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2633 Lines: 54 On Wed, 13 Aug 2003 04:24, Mike Galbraith wrote: > At 12:40 AM 8/13/2003 +1000, Con Kolivas wrote: > >On Wed, 13 Aug 2003 00:42, gaxt wrote: > > > Photoshop 6 (yes, legal owned version) in wine is flawless (as it was > > > with 2.6.0-test3) > > > > > > Galciv plays videos quite smoothly but as soon as I run it it will > > > freeze the cursor for 12-15 seconds every half-minute or so even within > > > the game itself which is turn-based strategy without a lot of whizbang > > > stuff. In the past, the videos would stutter but the game would not > > > suffer from more than short pauses now and then. > > > >Yes, herein lies one of those mysteries that still eludes me but I have > > been investigating it. I can now reproduce in other applications what > > appears to be the problem - Two cpu hogs, X and evolution for example are > > running and evolution is making X the cpu hog. The problem is that X gets > > demoted whereas evolution doesn't. Strangely, dropping evolution to nice > > +1 or making X -1 seems to change which one gets demoted, and X is now > > much smoother. I assume the same thing is happening here between wine and > > wineserver, which is why you've seen reversal of priorities in your > > previous posts. See if renicing one of them +1 helps for the time being. > > I will continue investigating to find out why the heck this happens and > > try and fix it. > > > >Con > > > >P.S. I've cc'ed MG because he has seen the scheduler do other forms of > >trickery and may have thoughts on why this happens. > > That sounds suspiciously similar to my scenario, but mine requires a third > element to trigger. > > > > What about this? In both your senario and mine, X is running low on cash > while doing work at the request of a client right? Charge for it. If X is > lower on cash than the guy he's working for, pick the client's pocket... > take the remainder of your slice from his sleep_avg for your trouble. If > you're not in_interrupt(), nothing's free. Similar to Robinhood, but you > take from the rich, and keep it :) He's probably going straight to the > bank after he wakes you anyway, so he likely won't even miss it. Instead > of backboost of overflow, which can cause nasty problems, you could try > backtheft. Not a bad idea at all. The working for someone else thing is killing me. Now, how to implement... Con - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/