From owner-freebsd-current@FreeBSD.ORG Fri Sep 29 21:32:56 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 8C47A16A415; Fri, 29 Sep 2006 21:32:56 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0467943D49; Fri, 29 Sep 2006 21:32:55 +0000 (GMT) (envelope-from rrs@cisco.com) Received: from sj-dkim-3.cisco.com ([171.71.179.195]) by sj-iport-6.cisco.com with ESMTP; 29 Sep 2006 14:32:56 -0700 Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237]) by sj-dkim-3.cisco.com (8.12.11.20060308/8.12.11) with ESMTP id k8TLWt85001369; Fri, 29 Sep 2006 14:32:55 -0700 Received: from xbh-sjc-221.amer.cisco.com (xbh-sjc-221.cisco.com [128.107.191.63]) by sj-core-1.cisco.com (8.12.10/8.12.6) with ESMTP id k8TLWtQV009745; Fri, 29 Sep 2006 14:32:55 -0700 (PDT) Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by xbh-sjc-221.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 29 Sep 2006 14:32:12 -0700 Received: from [127.0.0.1] ([171.68.225.134]) by xfe-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 29 Sep 2006 14:32:12 -0700 Message-ID: <451D90B8.8060202@cisco.com> Date: Fri, 29 Sep 2006 17:31:36 -0400 From: Randall Stewart User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050920 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mike Silbersack References: <451C4850.5030302@freebsd.org> <451D884F.1030807@cisco.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 29 Sep 2006 21:32:12.0168 (UTC) FILETIME=[B9A17880:01C6E40E] DKIM-Signature: a=rsa-sha1; q=dns; l=832; t=1159565575; x=1160429575; c=relaxed/simple; s=sjdkim3002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=rrs@cisco.com; z=From:Randall=20Stewart=20 |Subject:Re=3A=20Much=20improved=20sosend_*()=20functions; X=v=3Dcisco.com=3B=20h=3DVUE9hWftOvPULvUJ9EhsWe/RDnk=3D; b=jp58XQpYoGSn/hrJFXGDH1pe/l6EJL4OU6kK99w3v2ZBi0gAaaXOU2LoL1sWkb6PQ5Xt72mR 1lzszthHQmaSuygZPWTNB/SNH77RYN4vLwFKA41CgMebFuBGDTqTYRdt; Authentication-Results: sj-dkim-3.cisco.com; header.From=rrs@cisco.com; dkim=pass ( sig from cisco.com verified; ); Cc: freebsd-net@freebsd.org, freebsd-current@freebsd.org, Andre Oppermann , gallatin@cs.duke.edu 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 21:32:56 -0000 Mike Silbersack wrote: > On Fri, 29 Sep 2006, Randall Stewart wrote: > > >>Hmm.. I would think 512b and 1K will not show any >>improvement.. since they would probably end up either >>in an mbuf chain.. or a single 2k (or maybe 4k) cluster.. > > > I know, I just want to make sure that it doesn't somehow cause performance > loss for those cases! > > >>In fact I have always thought we should: >> >>a) have no data portion in an mbuf.. just pointers i.e. always >> an EXT >> >>b) Have a 256/512 and 1k cluster too.. Hmm.. I could do that.. maybe I will when my plate clears off a bit.. but then again.. that may be never :-0 R > > > Implement and benchmark it. :) > > Mike "Silby" Silbersack > -- Randall Stewart NSSTG - Cisco Systems Inc. 803-345-0369 815-342-5222 (cell)