From owner-freebsd-net@freebsd.org Fri Jan 8 07:58:16 2016 Return-Path: Delivered-To: freebsd-net@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 BEE52A66E38 for ; Fri, 8 Jan 2016 07:58:16 +0000 (UTC) (envelope-from c2h@romeo.emu.st) Received: from f5.bushwire.net (f5.bushwire.net [IPv6:2607:fc50:1000:5b00::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9C59A1823 for ; Fri, 8 Jan 2016 07:58:16 +0000 (UTC) (envelope-from c2h@romeo.emu.st) Received: by f5.bushwire.net (Postfix, from userid 1001) id 4CF35AC909; Thu, 7 Jan 2016 23:58:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; d=emu.st; s=2015; t=1452239895; bh=IcLWCpMHi4cwNa2MJYWzhlqkIy8=; h=Comments:Received:Date:Message-ID:From:To:Subject:References: MIME-Version:Content-Type:Content-Disposition:In-Reply-To; b=iZfgQqBFqrt/+na1p13ZkVOOdCHNGugPlNMyTMwnRlqUO/l1rzBjjbfKqv+iStAfF C1FJiSRzDT5OhdyXX70rN8LpLzl4rMMit7RJzMrK/zeDZHCjfN5AZmtsIshq1kla+2 LvQSY+gi5QIe1CZUkKVL68XyJi6V9qTRCamWNfr0=WNfr0= Comments: QMDA 0.3 Received: (qmail 3244 invoked by uid 1001); 8 Jan 2016 07:58:15 -0000 Date: 8 Jan 2016 07:58:15 +0000 Message-ID: <20160108075815.3243.qmail@f5-external.bushwire.net> From: "Mark Delany" To: freebsd-net@freebsd.org Subject: Re: Does FreeBSD have sendmmsg or recvmmsg system calls? References: <20160104101747.58347.qmail@f5-external.bushwire.net> <20160104194044.GD3625@kib.kiev.ua> <20160104210741.32812.qmail@f5-external.bushwire.net> <20160107161213.GZ3625@kib.kiev.ua> <20160107192840.GF3625@kib.kiev.ua> <20160108172323.W1815@besplex.bde.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20160108172323.W1815@besplex.bde.org> X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2016 07:58:16 -0000 On 08Jan16, Bruce Evans allegedly wrote: > If the NIC can't reach line rate > Network stack overheads are also enormous. Bruce makes some excellent points. I challenge anyone to get line rate UDP out of FBSD (or Linux) for a 1G NIC yet alone a 10G NIC listening to a single port. It was exactly my frustration with UDP performance that led me down the path of *mmsg() and netmap. Frankly this is an opportunity for FBSD as UDP performance appears to be a neglected area. Mark.