Messages in this thread | | | Date | Wed, 15 Jun 2005 16:41:15 -0700 (PDT) | Subject | Re: TCP prequeue performance | From | "David S. Miller" <> |
| |
From: Andi Kleen <ak@muc.de> Subject: Re: TCP prequeue performance Date: Thu, 16 Jun 2005 01:34:48 +0200
> Chase Douglas <cndougla@purdue.edu> writes: > > > > I then disabled the prequeue mechanism by changing net/ipv4/tcp.c:1347 of > > 2.6.11: > > > > if (tp->ucopy.task == user_recv) { > > to > > if (0 && tp->ucopy.task == user_recv) { > > You actually didn't disable it completely - it would still be filled.
Not true, if this check does not pass, tp->ucopy.task is never set, therefore prequeue processing is never performed.
This test must pass the first time, when both tp->ucopy.task and user_recv are both NULL, in order for prequeue processing to occur at all.
So his change did totally disable prequeue. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |