[lkml]   [2007]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Network slowdown due to CFS

* Martin Michlmayr <> wrote:

> * Mike Galbraith <> [2007-09-26 12:23]:
> > I noticed on the iperf website a patch which contains sched_yield().
> >
> >
> > 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

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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-09-26 13:25    [W:0.096 / U:2.780 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site