From owner-freebsd-hackers Fri Oct 22 10:30:23 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from labinfo.iet.unipi.it (oldlabinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (Postfix) with SMTP id 63CEB14C58 for ; Fri, 22 Oct 1999 10:30:08 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id TAA02285; Fri, 22 Oct 1999 19:31:59 +0100 From: Luigi Rizzo Message-Id: <199910221831.TAA02285@labinfo.iet.unipi.it> Subject: Re: profile of tcp To: rminnich@lanl.gov (Ronald G. Minnich) Date: Fri, 22 Oct 1999 19:31:59 +0100 (MET) Cc: hackers@FreeBSD.ORG In-Reply-To: from "Ronald G. Minnich" at Oct 21, 99 02:53:47 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1689 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I'm wondering if anyone in this group has done or knows of a good profile > of a tcp send going from user mode to bits on the wire. Reason I'm asking > is the old "put TCP/IP on the NIC" is once again rearing its head, and I'm > hoping there are numbers I can point to (ones that aren't old, that is) > about why this may not be the best idea in the world. FreeBSD seems a good > choice since it has a pretty reasonable implementation. one of the main motivations for _not_ having TCP on the NIC is that you won't see the same progress in performance for NICs as you see for general purpose CPUs. Or, maybe it is more correct to say that you might see a more coarse-grained progress so the NIC speed might be 1-2 yrs behind the state of art in CPUs, thus any gain in having the protocol implemented in hardware (actually microcode, i think) is probably eaten by this lag. Also there is the usual lack of flexibility in having things done in hw/microcode vs. software. And finally, i think having the proto in the NIC may be useful for maybe a router or a box doing traffic switching, but for things like a web server or a cache you also have to look at optimizing the datapath between disk and the NIC. cheers luigi -----------------------------------+------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL/FAX: +39-050-568.533/522 . via Diotisalvi 2, 56126 PISA (Italy) http://www.iet.unipi.it/~luigi/ngc99/ ==== First International Workshop on Networked Group Communication ==== -----------------------------------+------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message