[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070926112137.GA13876@elte.hu>
Date: Wed, 26 Sep 2007 13:21:37 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Martin Michlmayr <tbm@...ius.com>
Cc: Mike Galbraith <efault@....de>,
Srivatsa Vaddagiri <vatsa@...ux.vnet.ibm.com>,
linux-kernel@...r.kernel.org
Subject: Re: Network slowdown due to CFS
* Martin Michlmayr <tbm@...ius.com> wrote:
> * Mike Galbraith <efault@....de> [2007-09-26 12:23]:
> > I noticed on the iperf website a patch which contains sched_yield().
> > http://dast.nlanr.net/Projects/Iperf2.0/patch-iperf-linux-2.6.21.txt
> >
> > Do you have that patch applied by any chance? If so, it might be a
> > worth while to try it without it.
>
> Yes, this patch was applied. When I revert it, I get the same (high)
> performance with both kernels.
great! Could you try this too:
echo 1 > /proc/sys/kernel/sched_compat_yield
does it fix iperf performance too (with the yield patch applied to
iperf)?
I think the real fix would be for iperf to use blocking network IO
though, or maybe to use a POSIX mutex or POSIX semaphores.
Ingo
-
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