[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200708122243.05191.a1426z@gawab.com>
Date: Sun, 12 Aug 2007 22:43:05 +0300
From: Al Boldi <a1426z@...ab.com>
To: Ingo Molnar <mingo@...e.hu>
Cc: Peter Zijlstra <peterz@...radead.org>,
Mike Galbraith <efault@....de>,
Roman Zippel <zippel@...ux-m68k.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: CFS review
Ingo Molnar wrote:
> * Al Boldi <a1426z@...ab.com> wrote:
> > The thing is, this unpredictability seems to exist even at nice level
> > 0, but the smaller granularity covers it all up. It occasionally
> > exhibits itself as hick-ups during transient heavy workload flux. But
> > it's not easily reproducible.
>
> In general, "hickups" can be due to many, many reasons. If a task got
> indeed delayed by scheduling jitter that is provable, even if the
> behavior is hard to reproduce, by enabling CONFIG_SCHED_DEBUG=y and
> CONFIG_SCHEDSTATS=y in your kernel. First clear all the stats:
>
> for N in /proc/*/task/*/sched; do echo 0 > $N; done
>
> then wait for the 'hickup' to happen, and once it happens capture the
> system state (after the hickup) via this script:
>
> http://people.redhat.com/mingo/cfs-scheduler/tools/cfs-debug-info.sh
>
> and tell me which specific task exhibited that 'hickup' and send me the
> debug output.
Ok.
> Also, could you try the patch below as well? Thanks,
Looks ok, but I'm not sure which workload this is supposed to improve.
There is one workload that still isn't performing well; it's a web-server
workload that spawns 1K+ client procs. It can be emulated by using this:
for i in `seq 1 to 3333`; do ping 10.1 -A > /dev/null & done
The problem is that consecutive runs don't give consistent results and
sometimes stalls. You may want to try that.
Thanks!
--
Al
-
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