Re: [patch 1/4] - Potential performance bottleneck for Linxu TCP

From: Ingo Molnar
Date: Thu Nov 30 2006 - 15:21:34 EST



* Wenji Wu <wenji@xxxxxxxx> wrote:

> >The solution is really simple and needs no kernel change at all: if
> >you want the TCP receiver to get a larger share of timeslices then
> >either renice it to -20 or renice the other tasks to +19.
>
> Simply give a larger share of timeslices to the TCP receiver won't
> solve the problem. No matter what the timeslice is, if the TCP
> receiving process has packets within backlog, and the process is
> expired and moved to the expired array, RTO might happen in the TCP
> sender.

if you still have the test-setup, could you nevertheless try setting the
priority of the receiving TCP task to nice -20 and see what kind of
performance you get?

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/