From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw0-f169.google.com (mail-yw0-f169.google.com [209.85.161.169]) by dpdk.org (Postfix) with ESMTP id 2952F7F14 for ; Thu, 13 Oct 2016 16:50:24 +0200 (CEST) Received: by mail-yw0-f169.google.com with SMTP id u124so55387080ywg.3 for ; Thu, 13 Oct 2016 07:50:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=KZZqk+bFeSh5j4UNZpIO92TBxWhjJ+jmUIxqoXCMRYM=; b=YbKThiSq0ytl7WQuKh41RbgvRRBeYHNUF23iWLKxuIbDw/Casw9rcmG6Qgl+Cl/sYU sBn7h9phdZPU3ClHrH/o+L9YEocOQP13jsTYnBwSCF9JP4k43mKSU9yay0uea7YfQupn TYOEoXwkNhihoJFavbFRMX9EwTy2XbSyQvnse64N0AzeYWcPCiv5fJStDjA+UCGoQ2uk yBxts37v5enjJJ2SQnajYjyW33mMr2FfaJlvdjd7fvd8pH8KEGRnxlBILAoZGcM7pMO0 wWHM2WLIQE6tgJN/N2C1oudM6CjUfWtl7kdVLGgzCIx8/WPrt14C7QJkvkzZf23k/FBs P+wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=KZZqk+bFeSh5j4UNZpIO92TBxWhjJ+jmUIxqoXCMRYM=; b=DMAMetu7qHFBfdmX9nCRJAfHrNFfR+w1iKdyd5osr0PNfVUS1i9DYzKp/O6hLBvy40 IajrKpk3hfPpTwn8zVEu13emXBjpsqEHaKFpsXslJrpkSsyuOIKfidAv4k2LI0XKKfrM HnqaUlQD/Dgjh1ifEAXJnvFiFS8/joAXWQXsZwH6+Uy3zzlCOQ4vG9dW5V1sIaax7awl ERag102ikDLg4zdu7B/8iBzuLsFlZakgecXBDYf7S0Gb/8tWSdHMZve/Y608LU6gh9AP 8a4E/vG3HwkakEwjlKfwKnlE3CmXLSMegtE4A994ooLNsnAh6a2HG4Q52IqXGKTRywIK tdAg== X-Gm-Message-State: AA6/9Rnpv1a5k6KDUl6gp4WLlu4PLQyN0kam5E4ueDtjx/Cxn5jgifg1PY4o7J+GbGqU6vL4t38mT8KcDj8Thg== X-Received: by 10.129.76.211 with SMTP id z202mr6456246ywa.87.1476370223516; Thu, 13 Oct 2016 07:50:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.129.125.215 with HTTP; Thu, 13 Oct 2016 07:50:23 -0700 (PDT) From: Cliff Burdick Date: Thu, 13 Oct 2016 07:50:23 -0700 Message-ID: To: users Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Current CONFIG_RTE_MAX_MEMSEG=256 is not enough X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Oct 2016 14:50:24 -0000 Hi, I have a DPDK application that I allocate 2048 2MB hugepages on startup, and everything works for a while. However, if I clean my code and run the application again, on occasion, I get the following error: Current CONFIG_RTE_MAX_MEMSEG=256 is not enough Please either increase it or request less amount of memory. PANIC in rte_eal_init(): Cannot init memory 8: [app() [0x412f4b]] 7: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fa65918df45]] 6: [app() [0x4122b9]] 5: [app() [0x57494e]] 4: [app() [0x565c3f]] 3: [app() [0x457163]] 2: [app() [0x40af2f]] 1: [app() [0x4512ba]] I know I can increase this parameter in the DPDK config, but I'm not sure why that's the solution and that it runs fine for so long until hitting this. Should I just increase that, or is there another issue at play?