With negle disabled it works 17/15 times slower, which is much less then
two. Similary with UNIX domain sockets.
> >I found it during work with client/server program that worked horribly slow
> >just becouse of this. (of course I fixed it, but that's not the point).
>
> THAT IS THE POINT. The problem wasn't in the kernel, it was in the program,
> and you fixed it. If you do smart buffering, TCP can behave efficiently. If
> you don't, it has to guess when to send packets, and it can't possibly
> predict the future and behave in the way you think is optimum.
Ok, *now* I know that ;)
Thank you all for pointers.
--
: Michal ``,/\/\, '' Moskal | | : GCS {C,UL}++++$
: | |alekith @ |)|(| . org . pl : {E--, W, w-,M}-
: Linux: We are dot in .ORG. | : {b,e>+}++ !tv h
: CurProj: ftp://ftp.pld.org.pl/people/malekith/ksi : PLD Team member
-
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/