From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 316C7A0471 for ; Mon, 15 Jul 2019 21:58:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D91102C60; Mon, 15 Jul 2019 21:57:59 +0200 (CEST) Received: from smtp-gw.pt.net (smtp-gw.pt.net [206.210.194.15]) by dpdk.org (Postfix) with ESMTP id A0B032C5E for ; Mon, 15 Jul 2019 21:57:58 +0200 (CEST) X-ASG-Debug-ID: 1563220677-09411a12bd6078a0001-TfluYd Received: from mail.pt.net (mail.pt.net [206.210.194.11]) by smtp-gw.pt.net with ESMTP id SieuvRJdlIvY2YjG (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 15 Jul 2019 14:57:57 -0500 (CDT) X-Barracuda-Envelope-From: mit@perftech.com X-Barracuda-Effective-Source-IP: mail.pt.net[206.210.194.11] X-Barracuda-Apparent-Source-IP: 206.210.194.11 Received: from localhost (localhost [IPv6:::1]) by mail.pt.net (Postfix) with ESMTP id 4810A8406EA for ; Mon, 15 Jul 2019 14:57:57 -0500 (CDT) Received: from mail.pt.net ([IPv6:::1]) by localhost (mail.pt.net [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id QOyfIQ6IunUx for ; Mon, 15 Jul 2019 14:57:56 -0500 (CDT) Received: from localhost (localhost [IPv6:::1]) by mail.pt.net (Postfix) with ESMTP id DAB62840575 for ; Mon, 15 Jul 2019 14:57:56 -0500 (CDT) X-Virus-Scanned: amavisd-new at pt.net Received: from mail.pt.net ([IPv6:::1]) by localhost (mail.pt.net [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id 1N2vofbWR412 for ; Mon, 15 Jul 2019 14:57:56 -0500 (CDT) Received: from mail.pt.net (mail.pt.net [206.210.194.11]) by mail.pt.net (Postfix) with ESMTP id C4B738405DA for ; Mon, 15 Jul 2019 14:57:56 -0500 (CDT) Date: Mon, 15 Jul 2019 14:57:56 -0500 (CDT) From: Mit Matelske To: dev Message-ID: <814135881.10773916.1563220676740.JavaMail.zimbra@perftech.com> MIME-Version: 1.0 X-ASG-Orig-Subj: i40e FreeBSD bug X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - GC75 (Linux)/8.8.12_GA_3809) Thread-Index: 0Lp2teSR9SbFTcASomwqTSd6WAQi/g== Thread-Topic: i40e FreeBSD bug X-Barracuda-Connect: mail.pt.net[206.210.194.11] X-Barracuda-Start-Time: 1563220677 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://smtp-gw.pt.net:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at pt.net X-Barracuda-Scan-Msg-Size: 11038 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests=HTML_MESSAGE X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.73996 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 HTML_MESSAGE BODY: HTML included in message Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] i40e FreeBSD bug X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Since the "eal-intr-thread" was introduced in versions >18.05 there seems t= o be a memory leak and processor utilization issue with the i40e driver.=20 Just running testpmd and watching the threads in top shows the issue:=20 =E2=80=8B 2075 root 99 0 4110M 3063M CPU0 0 0:20 99.87% testpmd{eal-intr-th= read}=20 2075 root 103 0 8453M 7409M CPU0 0 1:49 100.00% testpmd{eal-intr-thread}=20 2075 root 103 0 10G 9352M CPU0 0 2:28 100.00% testpmd{eal-intr-thread}=20 It will run until it crashes when the machine runs out of memory.=20 This is a box configured with only one port of a i40e enabled for DPDK and = using the latest 19.05 release. testpmd output is below.=20 Any ideas?=20 Thanks in advance,=20 Mit Matelske=20 root@fbl:~ # ./testpmd=20 EAL: Sysctl reports 8 cpus=20 EAL: Detected 8 lcore(s)=20 EAL: Detected 1 NUMA nodes=20 EAL: Multi-process socket /var/run/dpdk/rte/mp_socket=20 EAL: Contigmem driver has 2 buffers, each of size 1GB=20 EAL: WARNING! Base virtual address hint (0x100005000 !=3D 0x8015b7000) not = respected!=20 EAL: This may cause issues with mapping memory into secondary processes=20 EAL: WARNING! Base virtual address hint (0x10000b000 !=3D 0x800960000) not = respected!=20 EAL: This may cause issues with mapping memory into secondary processes=20 EAL: WARNING! Base virtual address hint (0x24000c000 !=3D 0x840000000) not = respected!=20 EAL: This may cause issues with mapping memory into secondary processes=20 EAL: Mapped memory segment 0 @ 0x840000000: physaddr:0x140000000, len 10737= 41824=20 EAL: Mapped memory segment 1 @ 0x880000000: physaddr:0x180000000, len 10737= 41824=20 EAL: PCI device 0000:01:00.0 on NUMA socket 0=20 EAL: probe driver: 8086:10fb net_ixgbe=20 EAL: 0000:01:00.0 not managed by UIO driver, skipping=20 EAL: PCI device 0000:01:00.1 on NUMA socket 0=20 EAL: probe driver: 8086:10fb net_ixgbe=20 EAL: 0000:01:00.1 not managed by UIO driver, skipping=20 EAL: PCI device 0000:02:00.0 on NUMA socket 0=20 EAL: probe driver: 8086:1572 net_i40e=20 EAL: 0000:02:00.0 not managed by UIO driver, skipping=20 EAL: PCI device 0000:02:00.1 on NUMA socket 0=20 EAL: probe driver: 8086:1572 net_i40e=20 EAL: 0000:02:00.1 not managed by UIO driver, skipping=20 EAL: PCI device 0000:02:00.2 on NUMA socket 0=20 EAL: probe driver: 8086:1572 net_i40e=20 EAL: 0000:02:00.2 not managed by UIO driver, skipping=20 EAL: PCI device 0000:02:00.3 on NUMA socket 0=20 EAL: probe driver: 8086:1572 net_i40e=20 i40e_GLQF_reg_init(): i40e device 0000:02:00.3 changed global register [0x0= 02689a0]. original: 0x00000000, new: 0x00000029=20 i40e_GLQF_reg_init(): i40e device 0000:02:00.3 changed global register [0x0= 0268ca4]. original: 0x00001840, new: 0x00009420=20 i40e_aq_debug_write_global_register(): i40e device 0000:02:00.3 changed glo= bal register [0x0026c7a0]. original: 0xa8, after: 0x28=20 EAL: PCI device 0000:03:00.0 on NUMA socket 0=20 EAL: probe driver: 8086:150e net_e1000_igb=20 EAL: 0000:03:00.0 not managed by UIO driver, skipping=20 EAL: PCI device 0000:03:00.1 on NUMA socket 0=20 EAL: probe driver: 8086:150e net_e1000_igb=20 EAL: 0000:03:00.1 not managed by UIO driver, skipping=20 EAL: PCI device 0000:04:00.0 on NUMA socket 0=20 EAL: probe driver: 8086:150e net_e1000_igb=20 EAL: 0000:04:00.0 not managed by UIO driver, skipping=20 EAL: PCI device 0000:04:00.1 on NUMA socket 0=20 EAL: probe driver: 8086:150e net_e1000_igb=20 EAL: 0000:04:00.1 not managed by UIO driver, skipping=20 testpmd: create a new mbuf pool : n=3D203456, size=3D21= 76, socket=3D0=20 testpmd: preferred mempool ops selected: ring_mp_mc=20 Warning! port-topology=3Dpaired and odd forward ports number, the last port= will pair with itself.=20 Configuring Port 0 (socket 0)=20 Port 0: 00:90:0B:45:F7:C1=20 Checking link statuses...=20 Done=20 No commandline core given, start packet forwarding=20 io packet forwarding - ports=3D1 - cores=3D1 - streams=3D1 - NUMA support e= nabled, MP allocation mode: native=20 Logical Core 1 (socket 0) forwards packets on 1 streams:=20 RX P=3D0/Q=3D0 (socket 0) -> TX P=3D0/Q=3D0 (socket 0) peer=3D02:00:00:00:0= 0:00=20 io packet forwarding packets/burst=3D32=20 nb forwarding cores=3D1 - nb forwarding ports=3D1=20 port 0: RX queue number: 1 Tx queue number: 1=20 Rx offloads=3D0x0 Tx offloads=3D0x10000=20 RX queue: 0=20 RX desc=3D256 - RX free threshold=3D32=20 RX threshold registers: pthresh=3D8 hthresh=3D8 wthresh=3D0=20 RX Offloads=3D0x0=20 TX queue: 0=20 TX desc=3D256 - TX free threshold=3D32=20 TX threshold registers: pthresh=3D32 hthresh=3D0 wthresh=3D0=20 TX offloads=3D0x10000 - TX RS bit threshold=3D32=20 Press enter to exit=20