From owner-freebsd-bugs@freebsd.org Thu Jan 17 20:59:43 2019 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A384714A6A89 for ; Thu, 17 Jan 2019 20:59:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2F012840A9 for ; Thu, 17 Jan 2019 20:59:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E671214A6A88; Thu, 17 Jan 2019 20:59:42 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C11D914A6A87 for ; Thu, 17 Jan 2019 20:59:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 56744840A8 for ; Thu, 17 Jan 2019 20:59:42 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 7F3DF17040 for ; Thu, 17 Jan 2019 20:59:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x0HKxfI5048012 for ; Thu, 17 Jan 2019 20:59:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x0HKxfse048011 for bugs@FreeBSD.org; Thu, 17 Jan 2019 20:59:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 235031] [em] em0: poor NFS performance, strange behavior Date: Thu, 17 Jan 2019 20:59:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: d8zNeCFG@aon.at X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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 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-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jan 2019 20:59:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235031 Bug ID: 235031 Summary: [em] em0: poor NFS performance, strange behavior Product: Base System Version: 12.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: d8zNeCFG@aon.at Scenario =3D=3D=3D=3D=3D=3D=3D=3D I have a laptop with the following for em0 in /var/run/dmesg.boot: em0: port 0x6040-0x605f mem 0xd5300000-0xd531ffff,0xd532b000-0xd532bfff irq 20 at device 25.0 on pci0 em0: attach_pre capping queues at 1 em0: using 1024 tx descriptors and 1024 rx descriptors em0: msix_init qsets capped at 1 em0: Unable to map MSIX table=20 em0: Using an MSI interrupt em0: allocated for 1 tx_queues em0: allocated for 1 rx_queues [0]# ifconfig em0 em0: flags=3D8843 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3D81249b ether f0:de:f1:98:86:a9 inet 192.168.1.19 netmask 0xffffff00 broadcast 192.168.1.255=20 inet6 fe80::f2de:f1ff:fe98:86a9%em0 prefixlen 64 scopeid 0x1=20 inet6 fec0:0:0:4d42::13 prefixlen 64=20 inet6 fec0::4d42:f2de:f1ff:fe98:86a9 prefixlen 64 autoconf=20 inet6 2002:5875:4c34:4d42:f2de:f1ff:fe98:86a9 prefixlen 64 autoconf= =20 media: Ethernet autoselect (1000baseT ) status: active nd6 options=3D23 [0]#=20 This laptop exports a filesystem via NFS to a second machine running a 100 = Mbit interface. The second machine performs read requests via NFS. Result =3D=3D=3D=3D=3D=3D The result is that the NFS performance is very poor, on the order of 500 kB= ps to 1 MBps (5..10% of the 100 Mbps of the second machine). Scenario (continued) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D There is a third machine with a gigabit interface. Result =3D=3D=3D=3D=3D=3D If I run iperf between the laptop and the third machine, the read performan= ce for the second machine increases (!) to several MB/s (20..40% of the 100 Mb= ps of the second machine). The iperf performance itself is close to wire speed (914 Mbps). Note =3D=3D=3D=3D Maybe this problem is the one which underlies the issue I reported in bug #234520; machine B in that scenario is the laptop, machine A is the third machine. --=20 You are receiving this mail because: You are the assignee for the bug.=