All of lore.kernel.org
 help / color / mirror / Atom feed
From: davidsen@tmr.com (bill davidsen)
To: linux-kernel@vger.kernel.org
Subject: Re: 2.6.0-test6 scheduling(?) oddness
Date: 1 Oct 2003 21:47:29 GMT	[thread overview]
Message-ID: <blfi1h$jd0$1@gatekeeper.tmr.com> (raw)
In-Reply-To: 20031001051008.GD1416@Master

In article <20031001051008.GD1416@Master>,
Murray J. Root <murrayr@brain.org> wrote:
| On Tue, Sep 30, 2003 at 09:55:12PM -0700, Andrew Morton wrote:
| > "Murray J. Root" <murrayr@brain.org> wrote:
| > >
| > > The render finishes in the same 30 minutes, then oowriter starts.
| > >  oowriter takes about 3 seconds to load if no rendering is going on.
| > 
| > OpenOffice uses sched_yield() in strange ways which causes it to
| > get hopelessly starved on 2.6 kernels.  I think RH have a fixed version,
| > but I don't know if that has propagated into the upstream yet.
| > 
| > So...  Don't worry about OpenOffice too much.  Is the problem reproducible
| > with other applications?
| 
| Nope - even tried it with KDE apps.
| Write it off to OpenOffice, not test6.

I wish I could just write off programs like that, but if a program is
running, and doing legitimate system calls, and it stops running
(totally or usefully), I'd like to be sure that the kernel doesn't have
some unintended behaviour before I just pass on the program.

Particularly when OO is what allows lots of people to avoid running that
other operating system.

| 
| That doesn't explain the major time increase of the render, though.
| 200% for 2.5.65 vs 2.6.0-test6 or 150% for 2.6.0-test5 vs 2.6.0-test6 is a 
| bit extreme.

The vmstat sure didn't show a big increase in contenxt switches, but if
there's nothing elese wanting the CPU I would expect the render to be
what's running, and at the same speed as test5.

Suggestion: could you run 'top' in the text output mode to see if for
some reason the CPU is going to some odd process. The revised nice
handling can't make a user process lower priority than the idle loop or
something odd like that, can it?
-- 
bill davidsen <davidsen@tmr.com>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.

  reply	other threads:[~2003-10-01 21:57 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-01  3:22 2.6.0-test6 scheduling(?) oddness Murray J. Root
2003-10-01  4:08 ` Nick Piggin
2003-10-01  4:09   ` Nick Piggin
2003-10-01  4:35   ` Murray J. Root
2003-10-01  4:55 ` Andrew Morton
2003-10-01  5:04   ` Nick Piggin
2003-10-01  5:18     ` Murray J. Root
2003-10-01  6:53       ` Andrew Morton
2003-10-01  7:19         ` Murray J. Root
2003-10-01  5:10   ` Murray J. Root
2003-10-01 21:47     ` bill davidsen [this message]
2003-10-01 22:30       ` Ed Sweetman
2003-10-06  2:29         ` bill davidsen
2003-10-06 17:02           ` Murray J. Root

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='blfi1h$jd0$1@gatekeeper.tmr.com' \
    --to=davidsen@tmr.com \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.