On Mon, Jul 10, 2006 at 05:23:21PM +0400, Evgeniy Polyakov ([EMAIL PROTECTED]) wrote: > After week vacations I'm pleased to announce following progress report. > > Numbers for small packets (80 bytes) bulk sending: > > * netchannel: 57 MB/sec, ~80% CPU usage > * socket: 22 MB/sec, ~90% CPU usage > > Receiving side is netcat server, which dumps received data into > /dev/null > > Actually it is not 100% correct to call that results correct, since > it uses hackish optimisations, which can lead to broken behaviour for > non-bulk transfers or transfers over bad lines. If some of them are > removed, speed drops to 54 MB/sec for 80 bytes packets, and if socket > analog for NODELAY flag is set, i.e. each packet is immediately being > sent when it has been written, speed drops down to 16 MB/sec (socket > with SO_NODELAY was not tested though).
I mean TCP_NODELAY. Socket code uses nonblocking mode and epoll. -- Evgeniy Polyakov - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html