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 BFFC9A04C3; Fri, 22 Nov 2019 14:06:59 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D6BFE23D; Fri, 22 Nov 2019 14:06:58 +0100 (CET) Received: from mail-io1-f53.google.com (mail-io1-f53.google.com [209.85.166.53]) by dpdk.org (Postfix) with ESMTP id 227DF235 for ; Fri, 22 Nov 2019 14:06:57 +0100 (CET) Received: by mail-io1-f53.google.com with SMTP id v17so7850110iol.12 for ; Fri, 22 Nov 2019 05:06:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wVnLYgJdr1Y/6A6Oeju32ZviBvVCXZYiU3eA5Kh+mAc=; b=F2DpU4JAnQ5RGX+YMDqLJKj4Cr0WREIQYLeNt3j1zfAxuvskGN6P2IOWwAPuKKEqmY mMUli3xv29gqNtsYm1u0Mmjv405PLyKXRXqfKiGZhgzsEmBWx168Rs/6KGp79I7J2tvJ f/MbuqJj37Fjjg+DRVex+wWqxFAsPRuJ6LsJqsRaMNe6YDp4ooHlgDCSLBvixlZW6g4R pFxRYC8CvO4cDhsi/XHeVG4pvR6BDhpkGo+bU85k/uOAKE65J8r0TkSZyB2ZCLH4Kl+z BL4GrZ/pAY18dWDOfaceHqPOIJC62CGDasZSKxIyNQcIN74X/wMtntXbxgP/i45neHDw VCJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wVnLYgJdr1Y/6A6Oeju32ZviBvVCXZYiU3eA5Kh+mAc=; b=k1I/cSUAbJWUv6QKTYB1Sn8c9ST1nMp2OxBz0xOLnXUbR+BS2mcqyx7w1Wjo38v0H/ 5KLb9pxq7duMqiTQCmrtB9qsbMitUm1lWWKYspuLxsx3hCDBFWy2+OuWrPhM4NzgXuQE KTuBnBIRtxWfHP139d8zR5PH3iJD41lYbik6rm4EBUauQEgOoJsSXWI2J22tu/POTHII 7b0OgZWJIwibXuFBN/2GzgdE7/F5rdB/Cnr4y1k9mBh+zcfJW8VsSpJpUWnsPu97uJj5 05f9uXCzdZyzWzqj0YAxNY852Oq7Fu8gUUcyz46dOZALPpsxl/ItjBcVvj6wCiH3c0nX D0Ew== X-Gm-Message-State: APjAAAU+lLO5n6xPNsBZiwW5inS6dthmxaK2ZsMNx8/Yt206AHTY7Q2G 6dpoMuiwlUc0wyw7qgU0qor2+5eXQjie2nKMGFm/vEWj X-Google-Smtp-Source: APXvYqxe95pkuOf5syC886JjRX8/MeMNal8/AkK+wurvvELzhe2ddzA/iUGm2gSfzMVfGuxOHaG9u8H+jUikrh2MOzc= X-Received: by 2002:a5d:8056:: with SMTP id b22mr11569074ior.60.1574428015929; Fri, 22 Nov 2019 05:06:55 -0800 (PST) MIME-Version: 1.0 References: <20191122095157.GG8680@platinum> In-Reply-To: <20191122095157.GG8680@platinum> From: Jerin Jacob Date: Fri, 22 Nov 2019 22:06:39 +0900 Message-ID: To: Olivier Matz Cc: Jerin Jacob Kollanukkaran , "dev@dpdk.org" Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] mbuf autotest fails with 19.11-rc3 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" On Fri, Nov 22, 2019 at 6:52 PM Olivier Matz wrote: > > Hi Jerin, Hi Olivier, > > On Thu, Nov 21, 2019 at 12:24:24PM +0000, Jerin Jacob Kollanukkaran wrote: > > mbuf autotest fails with 19.11-rc3 > > > > $ echo "mbuf_autotest" | sudo ./build/app/test/dpdk-test -c 0x3 > > > > EAL: Detected 56 lcore(s) > > EAL: Detected 2 NUMA nodes > > EAL: Multi-process socket /var/run/dpdk/rte/mp_socket > > EAL: Selected IOVA mode 'PA' > > EAL: No available hugepages reported in hugepages-1048576kB > > EAL: Probing VFIO support... > > EAL: PCI device 0000:01:00.0 on NUMA socket 0 > > EAL: probe driver: 8086:1521 net_e1000_igb > > EAL: PCI device 0000:01:00.1 on NUMA socket 0 > > EAL: probe driver: 8086:1521 net_e1000_igb > > APP: HPET is not enabled, using TSC as default timer > > RTE>>mbuf_autotest > > Test mbuf dynamic fields and flags > > Reserved fields: > > Reserved flags: > > Free space in mbuf (0 = free, value = zone alignment): > > 0000: 00 00 00 00 00 00 00 00 > > 0008: 00 00 00 00 00 00 00 00 > > 0010: 00 00 00 00 00 00 00 00 > > 0018: 00 00 00 00 00 00 00 00 > > 0020: 00 00 00 00 00 00 00 00 > > 0028: 00 00 00 00 00 00 00 00 > > 0030: 00 00 00 00 00 00 00 00 > > 0038: 00 00 00 00 00 00 00 00 > > 0040: 00 00 00 00 00 00 00 00 > > 0048: 00 00 00 00 00 00 00 00 > > 0050: 00 00 00 00 00 00 00 00 > > 0058: 00 00 00 00 00 00 00 00 > > 0060: 00 00 00 00 00 00 00 00 > > 0068: 00 00 00 00 00 00 00 00 > > 0070: 10 10 10 10 10 10 10 10 > > 0078: 10 10 10 10 10 10 10 10 > > dynfield: offset=112, offset2=114, offset3=120 > > dynflag: flag=23, flag2=24, flag3=40 > > Reserved fields: > > name=test-dynfield offset=112 size=1 align=1 flags=0 > > name=test-dynfield2 offset=114 size=2 align=2 flags=0 > > name=test-dynfield3 offset=120 size=1 align=1 flags=0 > > Reserved flags: > > name=test-dynflag bitnum=23 flags=0 > > name=test-dynflag2 bitnum=24 flags=0 > > name=test-dynflag3 bitnum=40 flags=0 > > Free space in mbuf (0 = free, value = zone alignment): > > 0000: 00 00 00 00 00 00 00 00 > > 0008: 00 00 00 00 00 00 00 00 > > 0010: 00 00 00 00 00 00 00 00 > > 0018: 00 00 00 00 00 00 00 00 > > 0020: 00 00 00 00 00 00 00 00 > > 0028: 00 00 00 00 00 00 00 00 > > 0030: 00 00 00 00 00 00 00 00 > > 0038: 00 00 00 00 00 00 00 00 > > 0040: 00 00 00 00 00 00 00 00 > > 0048: 00 00 00 00 00 00 00 00 > > 0050: 00 00 00 00 00 00 00 00 > > 0058: 00 00 00 00 00 00 00 00 > > 0060: 00 00 00 00 00 00 00 00 > > 0068: 00 00 00 00 00 00 00 00 > > 0070: 00 01 00 00 04 04 04 04 > > 0078: 00 01 02 02 04 04 04 04 > > cannot allocate mbuf pool > > Test Failed > > Could you please share some details about your configuration? > (amount of memory, arch, ...) The QA reported this issue on an octeontx2 machine. But when I tested on an x86 server it was reproducible(That above log was with x86 server, 56 cores + 2 NUMA). So I thought it is a generic issue(I did not spend any time debugging this). Now debugged the failure on x86, it was the case of low memory. I will debug more on the octeontx2 failure case. > > On my platform the test works, except if I use a very low amount > of memory (few MBs). > > Thanks, > Olivier