From owner-freebsd-current@freebsd.org Wed Feb 24 02:38:21 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ADF97AB2A65 for ; Wed, 24 Feb 2016 02:38:21 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8BCA9C43 for ; Wed, 24 Feb 2016 02:38:21 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from julian-mbp3.pixel8networks.com (50-196-156-133-static.hfc.comcastbusiness.net [50.196.156.133]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id u1O2cJJZ011094 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 23 Feb 2016 18:38:20 -0800 (PST) (envelope-from julian@freebsd.org) Subject: Re: ng_ether(4) performance implications To: freebsd-current@freebsd.org References: <68CCCC44-B14D-4CD5-ACC6-FB8A7F8E6FB9@lastsummer.de> From: Julian Elischer Message-ID: <56CD1796.30002@freebsd.org> Date: Tue, 23 Feb 2016 18:38:14 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <68CCCC44-B14D-4CD5-ACC6-FB8A7F8E6FB9@lastsummer.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Wed, 24 Feb 2016 02:38:21 -0000 On 23/02/2016 7:09 AM, Franco Fichtner wrote: > Hi all, > > I'm working on FreeBSD-based configuration code dating back more > than 5 years. Although this code uses NETGRAPH compiled into the > kernel, it also makes use of NGM_ETHER_DETACH and a self-rolled > NGM_ETHER_ATTACH to avoid having netgraph-attached interfaces when > mpd isn't needed. > > In 2016, how is the state of ng_ether(4) performance to assert > whether this approach is actually useful or not. the performance is much as it always was.. ng_ether passes packets to the next ng module as fast as they come. netgraph does sacrifice some speed for generality, but I think it's not too much. > > Seeing that NGM_ETHER_ATTACH is not available and should usefulness > be implicated, would code for NGM_ETHER_ATTACH be merged into > FreeBSD? sure.. diffs always appreciated. > > > Thanks, > Franco > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >