From owner-freebsd-hackers Wed Mar 5 12:48:52 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA11234 for hackers-outgoing; Wed, 5 Mar 1997 12:48:52 -0800 (PST) Received: from caipfs.rutgers.edu (root@caipfs.rutgers.edu [128.6.37.100]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA11229 for ; Wed, 5 Mar 1997 12:48:48 -0800 (PST) Received: from jenolan.caipgeneral (jenolan.rutgers.edu [128.6.111.5]) by caipfs.rutgers.edu (8.8.5/8.8.5) with SMTP id PAA13802; Wed, 5 Mar 1997 15:44:04 -0500 (EST) Received: by jenolan.caipgeneral (SMI-8.6/SMI-SVR4) id PAA14523; Wed, 5 Mar 1997 15:43:51 -0500 Date: Wed, 5 Mar 1997 15:43:51 -0500 Message-Id: <199703052043.PAA14523@jenolan.caipgeneral> From: "David S. Miller" To: jj@sunsite.ms.mff.cuni.cz CC: avalon@coombs.anu.edu.au, mingo@pc5829.hil.siemens.at, wong@rogerswave.ca, alan@cymru.net, imb@scgt.oz.au, dg@root.com, netdev@roxanne.nuclecu.unam.mx, hackers@freebsd.org In-reply-to: <199703052045.VAA00601@sunsite.ms.mff.cuni.cz> (message from Jakub Jelinek on Wed, 5 Mar 1997 21:45:07 +0100 (MET)) Subject: Re: ok, final sockhash changes, new diff Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk From: Jakub Jelinek Date: Wed, 5 Mar 1997 21:45:07 +0100 (MET) On the other side you can put there three four different routines for different hash table sizes and thus avoid that dead cycle. Or we can use code patching (as we already do on the sparc for other stuff). I'm seriously considering making the lookup routines for TCP be per-architecture so you do it all in assembly for maximum performance. The lookup code is so hot in the profiling logs that only the csum_partial_copy() and memcpy() code dwarf it. ---------------------------------------------//// Yow! 11.26 MB/s remote host TCP bandwidth & //// 199 usec remote TCP latency over 100Mb/s //// ethernet. Beat that! //// -----------------------------------------////__________ o David S. Miller, davem@caip.rutgers.edu /_____________/ / // /_/ ><