public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Joe Peterson <joe@skyrush.com>
To: linux-kernel@vger.kernel.org
Cc: Ingo Molnar <mingo@elte.hu>, vatsa@linux.vnet.ibm.com
Subject: Interactivity degrades with CONFIG_[FAIR]_GROUP_SCHED set in 2.6.24 and later
Date: Mon, 17 Mar 2008 00:12:39 -0600	[thread overview]
Message-ID: <47DE0BD7.7020500@skyrush.com> (raw)

First of all, I am very excited to see the CFS in the kernel.
Interactivity is really great; much better than before.

When going from kernel 2.6.23 to 2.6.24, however, I noticed that
interactivity (namely the smoothness of mouse motion) was noticeably
less smooth under load.  The most obvious case was while pulling down a
Subversion repository; the mouse would freeze for quite long periods
while being moved (i.e. a large fraction of a second), which never
happens under 2.6.23.  I was using ZFS-FUSE on the partition I was
writing to, and it uses a lot of CPU at times, but 2.6.23 seems to
handle it better.

After reading many posts on similar sounding issues, I decided to try
getting later versions of the kernel: 2.6.25-rc5 and the latest 2.6.25
from the git archive (as of yesterday, 3/16) in case recent patches
addressed this.  They both still exibit the issue, however.

I then tried compiling without CONFIG_GROUP_SCHED (which also turned off
CONFIG_FAIR_GROUP_SCHED and a number of other options), and the behavior
seems to be back to the (better) 2.6.23 performance, at least has far as
what I can tell from my tests.

After playing around with the later kernels with CONFIG_GROUP_SCHED
enabled, I noticed a number of random times the mouse was not smooth and
seemed to not be getting an "interactive" amount of CPU time, but I have
a couple of tasks that repeat the problem reliably, so if there is any
debug information I can provide, please let me know, and I'll be glad to
help out in any way I can.

					Thanks, Joe

             reply	other threads:[~2008-03-17  6:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-17  6:12 Joe Peterson [this message]
2008-03-18 15:30 ` Interactivity degrades with CONFIG_[FAIR]_GROUP_SCHED set in 2.6.24 and later Joe Peterson

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=47DE0BD7.7020500@skyrush.com \
    --to=joe@skyrush.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=vatsa@linux.vnet.ibm.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