[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87y7ldhlpj.wl%takeuchi_satoru@jp.fujitsu.com>
Date: Sat, 31 Mar 2007 17:16:24 +0900
From: Satoru Takeuchi <takeuchi_satoru@...fujitsu.com>
To: Ingo Molnar <mingo@...e.hu>
Cc: Satoru Takeuchi <takeuchi_satoru@...fujitsu.com>,
Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: [BUG] scheduler: strange behavor with massive interactive processes
Hi Ingo,
> > > Hi Ingo and all,
> > >
> > > When I was executing massive interactive processes, I found that some
> > > of them occupy CPU time and the others hardly run.
> >
> > yeah.
> >
> > > I also attach the test program which easily recreates this problem.
> >
> > thanks, this is really helpful - does the patch below improve the
> > situation?
I tested your patch and it seems to work well.
Test environment
================
- kernel: 2.6.21-rc5 with or without Ingo's patch
- others: same as my initial mail except for omitting nice 19 cases
Result (without Ingo's patch)
=============================
+---------+-----------+------+------+------+--------+
| # of | # of | avg | max | min | stdev |
| CPUs | processes | (*1) | (*2) | (*3) | (*4) |
+---------+-----------+------+------+------+--------+
| 1(i386) | 200 | 162 | 8258 | 1 | 1113 |
+---------+-----------+------+------+------+--------+
| | | 378 | 9314 | 2 | 1421 |
| 2(ia64) | 400 +------+------+------+--------+
| | | 189 |12544 | 1 | 1443 |
+---------+-----------+------+------+------+--------+
*1) average number of loops among all processes
*2) maximum number of loops among all processes
*3) minimum number of loops among all processes
*4) standard deviation
Result (with Ingo's patch)
==========================
+---------+-----------+------+------+------+--------+
| # of | # of | avg | max | min | stdev |
| CPUs | processes | | | | |
+---------+-----------+------+------+------+--------+
| 1(i386) | 200 | 153 | 232 | 128 | 7.67 |
+---------+-----------+------+------+------+--------+
| | | 376 | 451 | 291 | 17.6 |
| 2(ia64) | 400 +------+------+------+--------+
| | | 188 | 236 | 137 | 14.5 |
+---------+-----------+------+------+------+--------+
Although it is not perfectly fair, it is certain that this patch really improve
the situation in dramatic form. Thank you very much!
Satoru
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists