LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Ray Lee" <ray-lk@madrabbit.org>
To: "Carlos R. Mafra" <crmafra2@gmail.com>
Cc: linux-kernel@vger.kernel.org, "Ingo Molnar" <mingo@elte.hu>
Subject: Re: Interactivity issue in 2.6.25-rc3
Date: Thu, 28 Feb 2008 11:54:04 -0800	[thread overview]
Message-ID: <2c0942db0802281154y3176e847g8b9a4091df5cc8af@mail.gmail.com> (raw)
In-Reply-To: <20080228191824.GA20019@elte.hu>

On Thu, Feb 28, 2008 at 11:18 AM, Ingo Molnar <mingo@elte.hu> wrote:
>
>  * Carlos R. Mafra <crmafra2@gmail.com> wrote:
>
>  > I want to report a bad interactivity which happened in my desktop
>  > running the latest kernel (2.6.25-rc3-00081-g7704a8b).
>  >
>  > I tried to play 'flightgear' and the desktop became _very_ slow while
>  > flightgear was "loading scenery objects" (a task which never finished
>  > and I could not play it).
>  >
>  > The desktop is a P4 @ 3.0 GHz, 512MB, with the nv graphics driver.
>
>  yes, but this means you run the soft-3D driver under Xorg, right? That
>  is known to starve its clients. The stats you sent show no worse than a
>  few tens of msecs delays caused by CPU scheduling itself:
>
>   mrxvt (3730, #threads: 1)
>   se.wait_max                        :            18.679129
>
>  so the scheduler kept things within the ~40 msecs default latency
>  target:
>
>   .sysctl_sched_latency                    : 40.000000

[...]

>> As I have the group scheduler enabled, I tried to run flightgear as
>> root to see what happens

Also, please try disabling the group scheduler and run the test again.
The group scheduler has known bad interactivity issues. Also be on the
watch for any abnormally high disk activity, to rule out starvation
due to the kernel choosing poor candidates for swap-in/swap-out.
(Running a vmstat 1 in a console ahead of time and watching for high
IO Wait -- the last column printed -- will give you a good indicator
other than the drive LED.)

Ray

  reply	other threads:[~2008-02-28 19:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-28 18:44 Carlos R. Mafra
2008-02-28 19:18 ` Ingo Molnar
2008-02-28 19:54   ` Ray Lee [this message]
     [not found]     ` <20080228210627.GA4337@localhost.ift.unesp.br>
2008-02-28 21:28       ` Ray Lee
2008-02-29 15:57         ` Ingo Molnar
2008-02-29 18:33           ` Ray Lee
2008-02-29 16:04       ` Ingo Molnar
2008-02-29 17:14         ` Carlos R. Mafra
2008-02-29 18:36           ` Ingo Molnar
2008-02-28 21:21 Carlos R. Mafra

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=2c0942db0802281154y3176e847g8b9a4091df5cc8af@mail.gmail.com \
    --to=ray-lk@madrabbit.org \
    --cc=crmafra2@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --subject='Re: Interactivity issue in 2.6.25-rc3' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).