From owner-freebsd-amd64@freebsd.org Tue Jan 24 11:40:18 2017 Return-Path: Delivered-To: freebsd-amd64@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 25CE1CBF5B0 for ; Tue, 24 Jan 2017 11:40:18 +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 F122AE7 for ; Tue, 24 Jan 2017 11:40:17 +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 v0OBeH3X031537 for ; Tue, 24 Jan 2017 11:40:17 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-amd64@FreeBSD.org Subject: [Bug 216425] When transfer large files, NFS hangs when VM network card is if_vmx or if_vxn, ok for e1000 Date: Tue, 24 Jan 2017 11:40:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: patrick_dkt@yahoo.com.hk X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: 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-amd64@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jan 2017 11:40:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216425 Bug ID: 216425 Summary: When transfer large files, NFS hangs when VM network card is if_vmx or if_vxn, ok for e1000 Product: Base System Version: 11.0-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: patrick_dkt@yahoo.com.hk CC: freebsd-amd64@FreeBSD.org CC: freebsd-amd64@FreeBSD.org Setup: FreeBSD VM guest as NFS server. The physical host running VMware workstation. FreeBSD version: FreeBSD 11.0-STABLE #0 r309850: Sun Dec 11 19:30:14 One disk is ZFS, de-duplication and compression is enabled for the ZFS data= set. It is shared out for NFS to another client (The host is Linux) When the NIC setting of the VM is vmxnet3 (if_vmx) or vmxnet (if_vxn): After the client had mount the NFS, the client side would hang if there are large file operations such as 'dd if=3D/dev/zero of=3D/nfs_mount_point/file= bs=3D100M count=3D1' or copy large files to the NFS mount point. When it had problem. The CPU usage in FreeBSD is normal. There would be ser= ious packet loss for all the NICs in the FreeBSD VM guest. Besides packet loss, = for the other NFS Linux clients, they will see these error message: [ 5843.755544] nfs: server FreeBSD_SERVER_IP not responding, timed out After changing the emulated ethernet card to e1000. It is fine but the spee= d is slower (10 gigabit vs 1 gigabit). I have tested with other Linux guests, they do not have such problem. --=20 You are receiving this mail because: You are on the CC list for the bug.=