From: Linus Torvalds <torvalds@osdl.org>
To: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Ingo Molnar <mingo@elte.hu>, Pekka Enberg <penberg@gmail.com>,
Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Machine Freezes while Running Crossover Office
Date: Tue, 31 May 2005 10:24:58 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.58.0505311010410.1876@ppc970.osdl.org> (raw)
In-Reply-To: <1117558435.9228.7.camel@localhost>
On Tue, 31 May 2005, Pekka Enberg wrote:
>
> On Tue, 2005-05-31 at 08:54 +0200, Ingo Molnar wrote:
> > - apply the patch below and check whether doing:
> >
> > echo 0 > /proc/sys/kernel/interactive
> >
> > makes the hang go away.
>
> It's actually /proc/sys/vm/interactive but yes, 0 makes the hang go away
> while 1 makes it come back.
Ok, it's a scheduler bug.
The pipe thing is probably implicated only because it ends up changing
some timing just enough to make the interactivity tester trigger (ie doing
reads/writes in bigger blocks makes the frequency of the ping-pong between
wineserver and wine different, and then it ends up hitting some harmonic
sweet spot with the timer that makes the scheduler believe it's
interactive).
In fact, I suspect it ends up marking things "interactive" because they do
sleep longer - both of the parties sleep longer because the other end ends
up spending more time handling the work, since the pipe buffers are bigger
(so they sleep longer because they are _awake_ longer).
Ingo, any ideas? This is bothersome, because it could hit any number of
people, and we'd never have realized because it's not usually repeatable
and not usually quite that extreme. But if it can trigger 15-second dead
periods in very specific circumstances, it can probably trigger
half-second dead periods much more easily. Things that people would assume
were due to disk IO or VM badness..
Linus
next prev parent reply other threads:[~2005-05-31 17:27 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-28 14:46 [PROBLEM] " Pekka Enberg
2005-05-29 18:12 ` Linus Torvalds
2005-05-29 18:20 ` Pekka Enberg
2005-05-29 18:49 ` Linus Torvalds
2005-05-29 20:49 ` Pekka Enberg
2005-05-29 22:59 ` Linus Torvalds
2005-05-29 23:06 ` Kyle Moffett
2005-05-30 15:23 ` Pekka Enberg
2005-05-30 17:31 ` Linus Torvalds
2005-05-30 18:07 ` Kyle Moffett
2005-05-30 18:22 ` Ingo Molnar
2005-05-30 18:22 ` Linus Torvalds
2005-05-30 18:25 ` Linus Torvalds
2005-05-30 19:12 ` Ingo Molnar
2005-05-31 13:54 ` Greg Stark
2005-05-31 6:15 ` Pekka J Enberg
2005-05-31 6:35 ` Pekka J Enberg
2005-05-31 6:54 ` Ingo Molnar
2005-05-31 16:53 ` Pekka Enberg
2005-05-31 17:24 ` Linus Torvalds [this message]
2005-05-31 18:41 ` Ingo Molnar
2005-05-31 21:20 ` Pekka Enberg
2005-06-01 0:07 ` Con Kolivas
2005-06-01 2:31 ` David Lang
2005-06-01 7:35 ` [patch] TASK_NONINTERACTIVE (was: Machine Freezes while Running Crossover Office) Ingo Molnar
2005-06-01 8:42 ` Pekka J Enberg
2005-06-01 8:55 ` [patch] " Con Kolivas
2005-06-01 10:26 ` Pekka J Enberg
2005-06-01 18:06 ` [patch] " Gene Heskett
2005-06-03 8:34 ` Pekka J Enberg
2005-06-03 10:57 ` Ingo Molnar
2005-06-07 13:14 ` Pekka Enberg
2005-10-17 15:10 ` [patch] " Pekka Enberg
2005-10-17 15:15 ` Ingo Molnar
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=Pine.LNX.4.58.0505311010410.1876@ppc970.osdl.org \
--to=torvalds@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=penberg@cs.helsinki.fi \
--cc=penberg@gmail.com \
/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®