From owner-freebsd-virtualization@freebsd.org Sun Dec 18 21:00:02 2016 Return-Path: Delivered-To: freebsd-virtualization@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 17E42C87C1C for ; Sun, 18 Dec 2016 21:00:02 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E38251782 for ; Sun, 18 Dec 2016 21:00:01 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uBIL01g2091064 for ; Sun, 18 Dec 2016 21:00:01 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201612182100.uBIL01g2091064@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-virtualization@FreeBSD.org Subject: Problem reports for freebsd-virtualization@FreeBSD.org that need special attention Date: Sun, 18 Dec 2016 21:00:01 +0000 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2016 21:00:02 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- New | 212711 | [typo] bhyve: virtio-rnd PCI ID doesn't match vio New | 212820 | FreeBSD 10-STABLE from latest HEAD and 11-RELEASE Open | 212721 | FreeBSD 11.0-RC2/RC3/RELEASE fails on Hyper-V 201 3 problems total for which you should take action. From owner-freebsd-virtualization@freebsd.org Mon Dec 19 06:44:16 2016 Return-Path: Delivered-To: freebsd-virtualization@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 7D90BC87286 for ; Mon, 19 Dec 2016 06:44:16 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 3343491F for ; Mon, 19 Dec 2016 06:44:15 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id E0F66201168C for ; Mon, 19 Dec 2016 16:43:49 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id DBE35280910 for ; Mon, 19 Dec 2016 16:43:49 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id M0nGuYdgtYEF for ; Mon, 19 Dec 2016 16:43:49 +1000 (AEST) Received: from Peters-MacBook-Pro-2.local (c-67-180-92-13.hsd1.ca.comcast.net [67.180.92.13]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 675C82809E1 for ; Mon, 19 Dec 2016 16:43:47 +1000 (AEST) To: "freebsd-virtualization@freebsd.org" From: Peter Grehan Subject: Intel xed x86 encode/decode tool open sourced Message-ID: Date: Sun, 18 Dec 2016 22:44:04 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.2 cv=YJDv8VOx c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=5eVCmCvhg37cu/pjidAGzw==:17 a=IkcTkHD0fZMA:10 a=n5n_aSjo0skA:10 a=NEAV23lmAAAA:8 a=gRdYvNEv7zhvtO4ijGwA:9 a=QEXdDO2ut3YA:10 a=ZCDEKQYLRNsA:10 a=ogfnygxCg2sA:10 a=VlZU0XKO32wA:10 a=Bn2pgwyD2vrAyMmN8A2t:22 wl=host:3 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2016 06:44:16 -0000 https://github.com/intelxed (Apache v2 license) I've looked at this a bit in the past when it wasn't open-source. It might be a bit overblown to replace the decoding portion of bhyve's instruction emulation, but it could certainly be used as a verification tool. later, Peter. From owner-freebsd-virtualization@freebsd.org Wed Dec 21 15:24:40 2016 Return-Path: Delivered-To: freebsd-virtualization@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 44E4CC8AD9F for ; Wed, 21 Dec 2016 15:24:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 33AA01AD5 for ; Wed, 21 Dec 2016 15:24:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uBLFOd5F078962 for ; Wed, 21 Dec 2016 15:24:40 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 215471] Using bsnmpd with the snmp_hostres module on a vmware ESXi guest with a disconnected CD drive uses 100% CPU Date: Wed, 21 Dec 2016 15:24:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2016 15:24:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215471 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-virtualization@Free | |BSD.org CC|freebsd-amd64@FreeBSD.org | --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Dec 21 16:08:39 2016 Return-Path: Delivered-To: freebsd-virtualization@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 A90D3C8A0DC for ; Wed, 21 Dec 2016 16:08:39 +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 30C151C30 for ; Wed, 21 Dec 2016 16:08:39 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (ezra.dcm1.omnilan.net [78.138.80.135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id uBLG8ZFK041806 for ; Wed, 21 Dec 2016 17:08:35 +0100 (CET) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (titan.inop.mo1.omnilan.net [IPv6:2001:a60:f0bb:1::3:1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 6A5193ED; Wed, 21 Dec 2016 17:08:35 +0100 (CET) Message-ID: <585AA902.50907@omnilan.de> Date: Wed, 21 Dec 2016 17:08:34 +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: freebsd-virtualization@freebsd.org Subject: Jumbo frames truncated at 4084 bytes by virtio-net? (using if_bridge(4) and vtnet(4) with mtu 9000) Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Greylist: ACL 119 matched, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [78.138.80.130]); Wed, 21 Dec 2016 17:08:35 +0100 (CET) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: 78.138.80.135; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2016 16:08:39 -0000 Hello, I'm having guest connectivity problems with jumbo frames. Since if_bridge(4) requires all interfaces to have the same MTU (and the uplink interface also handles iscsi traffic, which greatly benefits from jumbo frames), I 'ifconfig create vmnet0 mtu 9000' Afert adding it to the bridge 'ifconfig bregn addm vmnet0' and setting guest mtu to 9000 (which vtnet(4) claims to support), I can transceive frames larger than 1500, which this flow from the guest's vtnet(4) interface demonstrates: 16:54:36.672709 00:a0:98:73:9f:42 > 96:07:e9:78:c6:ac, ethertype IPv4 (0x0800), length 4084: 172.21.35.1 > 172.21.35.32: ICMP echo request, id 56840, seq 0, length 4050 16:54:36.672791 96:07:e9:78:c6:ac > 00:a0:98:73:9f:42, ethertype IPv4 (0x0800), length 4084: 172.21.35.32 > 172.21.35.1: ICMP echo reply, id 56840, seq 0, length 4050 On the host this looks similar. Now with a payload size of 4043 instead of 4042 bytes, the reply never makes it through virtio-net: Host flow: 16:57:06.641382 00:a0:98:73:9f:42 > 96:07:e9:78:c6:ac, ethertype IPv4 (0x0800), length 4085: 172.21.35.1 > 172.21.35.32: ICMP echo request, id 27401, seq 0, length 4051 16:57:06.641399 96:07:e9:78:c6:ac > 00:a0:98:73:9f:42, ethertype IPv4 (0x0800), length 4085: 172.21.35.32 > 172.21.35.1: ICMP echo reply, id 27401, seq 0, length 4051 Guest flow: 16:57:06.642073 00:a0:98:73:9f:42 > 96:07:e9:78:c6:ac, ethertype IPv4 (0x0800), length 4085: 172.21.35.1 > 172.21.35.32: ICMP echo request, id 27401, seq 0, length 4051 16:57:06.642233 96:07:e9:78:c6:ac > 00:a0:98:73:9f:42, ethertype IPv4 (0x0800), length 4084: truncated-ip - 1 bytes missing! 172.21.35.32 > 172.21.35.1: ICMP echo reply, id 27401, seq 0, length 405 Now my problem is that I can't simply keep guest's mtu at 1500, since the host will send jumbo frames as answer wich never get through virtio-net. Does anybody have an idea how to fix/work arround? Thanks, -harry From owner-freebsd-virtualization@freebsd.org Wed Dec 21 16:40:30 2016 Return-Path: Delivered-To: freebsd-virtualization@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 BA76FC8A74B for ; Wed, 21 Dec 2016 16:40:30 +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 5B5B41871 for ; Wed, 21 Dec 2016 16:40:30 +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 uBLGeSmh042177 for ; Wed, 21 Dec 2016 17:40:28 +0100 (CET) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (titan.inop.mo1.omnilan.net [IPv6:2001:a60:f0bb:1::3:1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 7B8A63F5; Wed, 21 Dec 2016 17:40:28 +0100 (CET) Message-ID: <585AB07C.6010604@omnilan.de> Date: Wed, 21 Dec 2016 17:40:28 +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: freebsd-virtualization@freebsd.org Subject: Re: Jumbo frames truncated at 4084 bytes by virtio-net? (using if_bridge(4) and vtnet(4) with mtu 9000) References: <585AA902.50907@omnilan.de> In-Reply-To: <585AA902.50907@omnilan.de> Content-Type: text/plain; charset=windows-1252 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]); Wed, 21 Dec 2016 17:40:28 +0100 (CET) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2016 16:40:30 -0000 Bezüglich Harry Schmalzbauer's Nachricht vom 21.12.2016 17:08 (localtime): … > Guest flow: > 16:57:06.642073 00:a0:98:73:9f:42 > 96:07:e9:78:c6:ac, ethertype IPv4 > (0x0800), length 4085: 172.21.35.1 > 172.21.35.32: ICMP echo request, id > 27401, seq 0, length 4051 > 16:57:06.642233 96:07:e9:78:c6:ac > 00:a0:98:73:9f:42, ethertype IPv4 > (0x0800), length 4084: truncated-ip - 1 bytes missing! 172.21.35.32 > > 172.21.35.1: ICMP echo reply, id 27401, seq 0, length 405 > > Now my problem is that I can't simply keep guest's mtu at 1500, since > the host will send jumbo frames as answer wich never get through virtio-net. > > Does anybody have an idea how to fix/work arround? For the records, replacing virtio-net with e1000 (as bhyve PCI-slot-resident) solves the jumbo frame issue! It seems 82545EM is fully emulated (not 82545GM which doesn't support jumbo frames) :-) Thank you very much for this nice work! mav's commit (r302504) mentions heavy performance penalties (factor 2). Has anyone tried the influence of disabling/keeping offload functions in the guest? Thanks, -Harry From owner-freebsd-virtualization@freebsd.org Thu Dec 22 10:14:05 2016 Return-Path: Delivered-To: freebsd-virtualization@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 C7659C8A75D for ; Thu, 22 Dec 2016 10:14:05 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward3o.cmail.yandex.net (forward3o.cmail.yandex.net [IPv6:2a02:6b8:0:1a72::288]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7FE29184B for ; Thu, 22 Dec 2016 10:14:05 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [IPv6:2a02:6b8:0:801::ab]) by forward3o.cmail.yandex.net (Yandex) with ESMTP id 56FED20FAF; Thu, 22 Dec 2016 13:14:01 +0300 (MSK) Received: from smtp1j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1j.mail.yandex.net (Yandex) with ESMTP id 9CD7A3C80F60; Thu, 22 Dec 2016 13:14:00 +0300 (MSK) Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id mRDgGARMF5-Dx7OekE9; Thu, 22 Dec 2016 13:13:59 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1482401639; bh=daygi69Qp0dF9zZRISc08pQS3FV5+TaATmO1hgROPtk=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=Yfic3v50a2xSxTVLMcyZxX2ILj9BPxRsWPx4U4144dhqSWNrOWtawtFD4LfigmR85 FlloJVLjPWPrIMp2GExn++y5Zl1eVtRUkwa2I5K5YFb+xkSnT4dPK17SjxEpBIWFzs BIT9P+uaIkX2ZXggQzwpBVBuA+ZMieXFi875bPIc= Authentication-Results: smtp1j.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0 Subject: Re: Jumbo frames truncated at 4084 bytes by virtio-net? (using if_bridge(4) and vtnet(4) with mtu 9000) To: Harry Schmalzbauer , freebsd-virtualization@freebsd.org References: <585AA902.50907@omnilan.de> From: "Andrey V. Elsukov" Message-ID: <9b7951c0-9466-2b89-84de-c1026ee8f1c0@yandex.ru> Date: Thu, 22 Dec 2016 13:13:33 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <585AA902.50907@omnilan.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2016 10:14:05 -0000 On 21.12.2016 19:08, Harry Schmalzbauer wrote: > Hello, > > I'm having guest connectivity problems with jumbo frames. > > Since if_bridge(4) requires all interfaces to have the same MTU (and the > uplink interface also handles iscsi traffic, which greatly benefits from > jumbo frames), I > 'ifconfig create vmnet0 mtu 9000' > > Now my problem is that I can't simply keep guest's mtu at 1500, since > the host will send jumbo frames as answer wich never get through virtio-net. > > Does anybody have an idea how to fix/work arround? This looks like the problem with mbufs bigger than PAGE_SIZE. Do you see some denied requests in the `netstat -m` output? -- WBR, Andrey V. Elsukov From owner-freebsd-virtualization@freebsd.org Thu Dec 22 11:25:24 2016 Return-Path: Delivered-To: freebsd-virtualization@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 F311AC8BEA9 for ; Thu, 22 Dec 2016 11:25:24 +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 7AFF71DD8 for ; Thu, 22 Dec 2016 11:25:24 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (mh0.gentlemail.de [78.138.80.135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id uBMBPKW6056764; Thu, 22 Dec 2016 12:25:20 +0100 (CET) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (titan.inop.mo1.omnilan.net [IPv6:2001:a60:f0bb:1::3:1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 42FC855C; Thu, 22 Dec 2016 12:25:20 +0100 (CET) Message-ID: <585BB81F.2020001@omnilan.de> Date: Thu, 22 Dec 2016 12:25:19 +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: "Andrey V. Elsukov" CC: freebsd-virtualization@freebsd.org Subject: Re: Jumbo frames truncated at 4084 bytes by virtio-net? (using if_bridge(4) and vtnet(4) with mtu 9000) References: <585AA902.50907@omnilan.de> <9b7951c0-9466-2b89-84de-c1026ee8f1c0@yandex.ru> In-Reply-To: <9b7951c0-9466-2b89-84de-c1026ee8f1c0@yandex.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Greylist: ACL 119 matched, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [78.138.80.130]); Thu, 22 Dec 2016 12:25:20 +0100 (CET) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: 78.138.80.135; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2016 11:25:25 -0000 Bezüglich Andrey V. Elsukov's Nachricht vom 22.12.2016 11:13 (localtime): > On 21.12.2016 19:08, Harry Schmalzbauer wrote: >> Hello, >> >> I'm having guest connectivity problems with jumbo frames. >> >> Since if_bridge(4) requires all interfaces to have the same MTU (and the >> uplink interface also handles iscsi traffic, which greatly benefits from >> jumbo frames), I >> 'ifconfig create vmnet0 mtu 9000' >> >> Now my problem is that I can't simply keep guest's mtu at 1500, since >> the host will send jumbo frames as answer wich never get through >> virtio-net. >> >> Does anybody have an idea how to fix/work arround? > > This looks like the problem with mbufs bigger than PAGE_SIZE. > Do you see some denied requests in the `netstat -m` output? Thanks for your attention! Nope, there are no denied mbuf requests after sending icmp echo-request through virtio-net with all participants' MTU set to 9000: 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0 requests for sfbufs denied The icmp echo-reply just doesn't make it through virtio-net (the echo-request reaches the destination host, and the echo-reply reaches vmnet0!). Keeping everything untouched, just replacing '-s 5,virtio-net,vmnet0' with '-s 5,e1000,vmnet0', I get the reply into the guest: ping -D -s 8972 mirashare PING mirashare.egn.mo1.omnilan.net (172.21.34.11): 8972 data bytes 8980 bytes from 172.21.34.11: icmp_seq=0 ttl=64 time=1.590 ms Thanks, -harry