From owner-freebsd-net@freebsd.org Tue Nov 7 17:25:36 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 45D68E5E9EA for ; Tue, 7 Nov 2017 17:25:36 +0000 (UTC) (envelope-from aspam@cox.net) Received: from fed1rmfepi206.cox.net (fed1rmfepi206.cox.net [68.230.241.151]) by mx1.freebsd.org (Postfix) with ESMTP id 25AF778B73 for ; Tue, 7 Nov 2017 17:25:35 +0000 (UTC) (envelope-from aspam@cox.net) Received: from eastrmimpo110.cox.net ([68.230.241.223]) by eastrmfepo102.cox.net (InterMail vM.8.01.05.28 201-2260-151-171-20160122) with ESMTP id <20171107172527.ZZPW14605.eastrmfepo102.cox.net@eastrmimpo110.cox.net> for ; Tue, 7 Nov 2017 12:25:27 -0500 Received: from thunder.sweets ([68.100.138.62]) by eastrmimpo110.cox.net with cox id X5RT1w00X1LxgH8015RTJR; Tue, 07 Nov 2017 12:25:27 -0500 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020202.5A01EC87.0301, 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=c/nbeV1l c=1 sm=1 tr=0 a=3mkzfl4ircflX6G+lDqBYw==:117 a=3mkzfl4ircflX6G+lDqBYw==:17 a=IkcTkHD0fZMA:10 a=x7bEGLp0ZPQA:10 a=sC3jslCIGhcA:10 a=e9ASbk4n0QUA:10 a=QtUZ_23dlM-TheJfbpMA: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 40EF811E36; Tue, 7 Nov 2017 12:25:26 -0500 (EST) Message-ID: <5A01EC84.80703@cox.net> Date: Tue, 07 Nov 2017 12:25:24 -0500 From: Joe Buehler User-Agent: Thunderbird 1.5.0.12 (X11/20120201) MIME-Version: 1.0 To: Vincenzo Maffione CC: FreeBSD Net Subject: Re: virtio_net / netmap RX dropping frames References: <59F0FBEE.6030008@cox.net> <59F1F1BA.3020608@cox.net> <59F214F6.9060905@cox.net> <59F223C3.5040907@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.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Nov 2017 17:25:36 -0000 I believe the frame drop is due to the nature of my KVM setup. There are large latencies in processing incoming frames due to the vagaries of the LINUX kernel. Moving to the RT kernel helped, host tuning is also needed to eliminate large latencies in processing frames. There is good information on real-time KVM on the net that explains how to achieve what I want. Joe Buehler