From owner-freebsd-net@FreeBSD.ORG Wed Feb 29 22:17:57 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D56CB1065670 for ; Wed, 29 Feb 2012 22:17:57 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 638378FC1C for ; Wed, 29 Feb 2012 22:17:57 +0000 (UTC) Received: by werl4 with SMTP id l4so2995126wer.13 for ; Wed, 29 Feb 2012 14:17:56 -0800 (PST) Received-SPF: pass (google.com: domain of jfvogel@gmail.com designates 10.180.93.232 as permitted sender) client-ip=10.180.93.232; Authentication-Results: mr.google.com; spf=pass (google.com: domain of jfvogel@gmail.com designates 10.180.93.232 as permitted sender) smtp.mail=jfvogel@gmail.com; dkim=pass header.i=jfvogel@gmail.com Received: from mr.google.com ([10.180.93.232]) by 10.180.93.232 with SMTP id cx8mr21454409wib.14.1330553876630 (num_hops = 1); Wed, 29 Feb 2012 14:17:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+qqurjLh/Qvk/cvoN5fCxmgA2GkSdfXV04e1zQ84eQM=; b=VB/vI6yzkOP/QKtj0pa7CYM8HDkAcY1vkpULyPkYwtGXXqyAtL6mHblSmb1JP0JLBB p6BkIOPnLxA2/Hgc6KQX8oJr4VNSch9LLWTUQO6ug1A4nhirhdSVf9X4B3DGCcgD4ImC 3kDk8tCe9nEc94Phfsafm5d6pSf/SNaLD0CLc= MIME-Version: 1.0 Received: by 10.180.93.232 with SMTP id cx8mr17195083wib.14.1330553876562; Wed, 29 Feb 2012 14:17:56 -0800 (PST) Received: by 10.180.102.97 with HTTP; Wed, 29 Feb 2012 14:17:56 -0800 (PST) In-Reply-To: References: Date: Wed, 29 Feb 2012 14:17:56 -0800 Message-ID: From: Jack Vogel To: Rafael Ganascim Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org Subject: Re: Igb driver - header split feature X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Feb 2012 22:17:58 -0000 It seems to help in some workloads, makes little difference in others, and can even be less performance in yet others. Its just not a feature that is a 100% win, that's why its not on by default. Try it and see. Cheers, Jack On Wed, Feb 29, 2012 at 5:10 AM, Rafael Ganascim wrote: > Hi list, > > I was looking in the igb driver that I use on some Intel nics > (dualport and quadport gigabit) and in the source code, the feature: > > /* > ** Header split causes the packet header to > ** be dma'd to a seperate mbuf from the payload. > ** this can have memory alignment benefits. But > ** another plus is that small packets often fit > ** into the header and thus use no cluster. Its > ** a very workload dependent type feature. > */ > > Somebody is using this feature? What's the results? > > I think that this feature can be helpfull to improve the performance, > allowing the processing of the packet headers more fastest (pfills, > routing, etc). Is this true? > > Thanks in advance. > > Rafael > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >