linux-mips
[Top] [All Lists]

Re: lmbench with new checksum code...

To: davem@caip.rutgers.edu (David S. Miller)
Subject: Re: lmbench with new checksum code...
From: Alan Cox <alan@cymru.net>
Date: Thu, 16 May 1996 10:35:04 +0100 (BST)
Cc: lmlinux@neteng.engr.sgi.com, torvalds@cs.helsinki.fi, sparclinux-cvs@caipfs.rutgers.edu, alan@cymru.net
In-reply-to: <199605160653.CAA12098@huahaga.rutgers.edu> from "David S. Miller" at May 16, 96 02:53:50 am
Sender: owner-linux@cthulhu.engr.sgi.com
> I doubt I can get 2mb/s more out of my code to beat solaris, sigh,
> where the heck could all this overhead possibly be???

What makes you think the Solaris loopback is even doing checksums or a memcpy
via kernel space ? They only way you'll beat solaris at the loopback network
game is to cheat as they do. Make tcp_connect spot a localhost connection
change the socket method to something akin to af_unix but streamlined a bit
(only special case is urgent data).

Alan


<Prev in Thread] Current Thread [Next in Thread>