From owner-freebsd-net@freebsd.org Tue Nov 21 20:48: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 5EFEFD94370 for ; Tue, 21 Nov 2017 20:48:15 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D611C7F6CF for ; Tue, 21 Nov 2017 20:48:14 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (mh0.gentlemail.de [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id vALKmBqk076238; Tue, 21 Nov 2017 21:48:11 +0100 (CET) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (s1.omnilan.de [217.91.127.234]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 1114E9C2; Tue, 21 Nov 2017 21:48:11 +0100 (CET) Message-ID: <5A149107.9060507@omnilan.de> Date: Tue, 21 Nov 2017 21:48:07 +0100 From: Harry Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: Vincenzo Maffione CC: "freebsd-net@freebsd.org" , Giuseppe Lettieri Subject: Re: netmap/vale periodic deadlock References: <5A0F14CD.3040407@omnilan.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Tue, 21 Nov 2017 21:48:11 +0100 (CET) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) 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: Tue, 21 Nov 2017 20:48:15 -0000 Bezüglich Vincenzo Maffione's Nachricht vom 21.11.2017 09:39 (localtime): … > > If this is the case, although you are allowed to do that, I don't think > it's a convenient way to use netmap. > Since VLAN interfaces like vlan0 do not have (and cannot have) native > netmap support, you are falling back to emulated netmap adapters (which > are probably buggy on FreeBSD, specially when combined with VALE). > Apart from bugs I think that with this setup you can't get decent > performance that would justify using netmap rather than the standard > kernel bridge and TAP devices. Hello, lockup happened earlier than expected. This time 'vale-ctl' still reported (-l) the configuration. One guest, using if_vtnet(4)-virtio-net#vale2:korso, showed: dmz: watchdog timeout on queue 0 (dmz is the renamed if_vtnet(4)) I could attach tcpdump to the uplink interface and also to all vlan children. Complete silence everywhere. So it seems the nic stopped processing anything. Do you think that symptom could be caused by my special vale integration, so that bugs in netmap emulation could crash the NIC? Or is it unlikely that this is related. I hadn't prepared a debug kernel for the host, so the machine rebooted without again. I think I'll have to start with replacing vale first, to narrow down possible causes. Today I was lucky, the lockup happend after business hours, but I won't rely on that. At least I know if I really need to look for a debug netmap kernel, or possibly there's something else... Thanks, -harry