From owner-freebsd-current@FreeBSD.ORG Fri Sep 29 22:54:44 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0974116A403 for ; Fri, 29 Sep 2006 22:54:44 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6B2E43D94 for ; Fri, 29 Sep 2006 22:54:36 +0000 (GMT) (envelope-from jfvogel@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so1383539pye for ; Fri, 29 Sep 2006 15:54:36 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=f5ptTLcu8N51NGb5QMifqQmB9tvjPg7/sdvCRRDyhIWCKkoRCnjJHOFruK9ymtBZl/rVsELQtg1W+jXO18fNAHhmV9KkPIaCxFB5k0bCSt+SrZHSU0djReZWBAMFPAMLAjxqifTVJJJM+N4iXSd7eqxk0qDmF5rwH5Szevn7zcI= Received: by 10.35.103.1 with SMTP id f1mr1404059pym; Fri, 29 Sep 2006 15:54:35 -0700 (PDT) Received: by 10.35.119.14 with HTTP; Fri, 29 Sep 2006 15:54:35 -0700 (PDT) Message-ID: <2a41acea0609291554g528f83d1ofaf35f7a4ea5ac28@mail.gmail.com> Date: Fri, 29 Sep 2006 15:54:35 -0700 From: "Jack Vogel" To: "Andrew Gallatin" In-Reply-To: <17693.41475.778558.381395@grasshopper.cs.duke.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <451C4850.5030302@freebsd.org> <451D884F.1030807@cisco.com> <20060929213722.GR80527@funkthat.com> <451D9440.6060105@cisco.com> <17693.39106.950631.742167@grasshopper.cs.duke.edu> <451D9E59.9050000@freebsd.org> <17693.41475.778558.381395@grasshopper.cs.duke.edu> Cc: freebsd-net@freebsd.org, freebsd-current@freebsd.org, Andre Oppermann Subject: Re: Much improved sosend_*() functions X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Sep 2006 22:54:44 -0000 On 9/29/06, Andrew Gallatin wrote: > > Andre Oppermann writes: > > Andrew Gallatin wrote: > > > Andre, > > > > > > I meant to ask: Did you try 16KB jumbos? Did they perform > > > any better than page-sized jumbos? > > > > No, I didn't try 16K jumbos. The problem with anything larger than > > page size is that it may look contigous in kernel memory but isn't > > in physical memory. Thus you need the same number of descriptors > > for the network card as with page sized (4K) clusters. > > But it would allow you to do one copyin, rather than 4. I > don't know how much this would help, but it might be worth > looking at. There is another limitation, due to hardware FIFO size, TSO must never have more than 4K per descriptor. But as Andrew says, that needn't limit you up above, it will just get parceled up in the driver. Jack