From owner-freebsd-net@freebsd.org Sat Dec 2 12:21:15 2017 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 38E3EDFD6BA for ; Sat, 2 Dec 2017 12:21:15 +0000 (UTC) (envelope-from aspam@cox.net) Received: from fed1rmfepi107.cox.net (fed1rmfepi107.cox.net [68.230.241.138]) by mx1.freebsd.org (Postfix) with ESMTP id 139A06C9D2 for ; Sat, 2 Dec 2017 12:21:14 +0000 (UTC) (envelope-from aspam@cox.net) Received: from eastrmimpo305.cox.net ([68.230.241.237]) by eastrmfepo201.cox.net (InterMail vM.8.01.05.28 201-2260-151-171-20160122) with ESMTP id <20171202122100.UHDV4103.eastrmfepo201.cox.net@eastrmimpo305.cox.net> for ; Sat, 2 Dec 2017 07:21:00 -0500 Received: from thunder.sweets ([68.100.138.62]) by eastrmimpo305.cox.net with cox id h0Lz1w00Q1LxgH8010LzFn; Sat, 02 Dec 2017 07:20:59 -0500 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020204.5A229AAB.0103, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=2.2 cv=eqmv9shX c=1 sm=1 tr=0 a=3mkzfl4ircflX6G+lDqBYw==:117 a=3mkzfl4ircflX6G+lDqBYw==:17 a=IkcTkHD0fZMA:10 a=x7bEGLp0ZPQA:10 a=ocR9PWop10UA:10 a=9axD0TMVbtiKC6hRN-kA:9 a=QEXdDO2ut3YA:10 X-CM-Score: 0.00 Authentication-Results: cox.net; none Received: from [10.10.10.15] (thunder.sweets [10.10.10.15]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by thunder.sweets (Postfix) with ESMTP id E33F610E7B; Sat, 2 Dec 2017 07:20:57 -0500 (EST) Message-ID: <5A229AA8.3070002@cox.net> Date: Sat, 02 Dec 2017 07:20:56 -0500 From: Joe Buehler User-Agent: Thunderbird 1.5.0.12 (X11/20120201) MIME-Version: 1.0 To: "K. Macy" CC: "freebsd-net@freebsd.org" Subject: Re: netmap / LINUX realtime / ixgbevf: huge RX latencies References: <5A206FB9.3010106@cox.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Dec 2017 12:21:15 -0000 K. Macy wrote: > HEAD or 11? I'm not quite sure what the question means but there is this in the netmap code: ./net/netmap.h:42:#define NETMAP_API 11 /* current API version */ LINUX kernels nowadays can timestamp frames when they arrive from the NIC. I made a trivial patch to the netmap driver to turn this on and also pass the timestamp to user space, and will pass on the changes. I am doing frame latency measurements and this simple change eliminated a *whole* lot of noise in the measurements. Joe Buehler