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 5A11DA2EEB for ; Wed, 11 Sep 2019 04:22:05 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A957B1EA46; Wed, 11 Sep 2019 04:22:04 +0200 (CEST) Received: from smtpbgau1.qq.com (smtpbgau1.qq.com [54.206.16.166]) by dpdk.org (Postfix) with ESMTP id BE8CB1EA39 for ; Wed, 11 Sep 2019 04:22:00 +0200 (CEST) X-QQ-mid: bizesmtp27t1568168503t5snjb21 Received: from DESKTOPDQ7VDGF (unknown [202.106.72.206]) by esmtp10.qq.com (ESMTP) with id ; Wed, 11 Sep 2019 10:21:42 +0800 (CST) X-QQ-SSF: 00400000000000B0F420B00A0000000 X-QQ-FEAT: ON9yP8rRxN8blt12c5PPXLOZtqEOaHoWbibSWWkmOxIl56mauSUrtBuLV5HHR B33b+YHOVMMsp+4sKBAhZdVWVdl8BKNHYGjFwl3OHuMbK5k2BiP45D4k0iwjlCusRDiBL1/ CZOvtaXn3wj+zb0ebEBZ6XzdtLCNOk2H48q/QAb1pwTIV2qM3Zd9XpUZcL8Fdm1ov/DT+aq 2/LfhvSbg7pWiBQnJRPViKhuDkyyp/FXz6e1tF4fXAO+xIYYrPX1qLwEo1P8jVPhSGigGW+ r5b9MKKlv1MhALd2iGObro0E4vhfxuZTiJQtzhkYS6e/KDz8xkC0WdX3NDqlhERXGpiLV2p Rf9mkzRnJ8LfA4aOVk= X-QQ-GoodBg: 2 From: =?UTF-8?B?5a6L5o23?= To: "'Stephen Hemminger'" Cc: "'users'" , "'Van Haaren, Harry'" References: <5d7782d8.1c69fb81.26d5e.d195SMTPIN_ADDED_BROKEN@mx.google.com> <20190910183621.50d50ddb@xps13> In-Reply-To: <20190910183621.50d50ddb@xps13> Date: Wed, 11 Sep 2019 10:21:42 +0800 Message-ID: <001c01d56847$a6ff17c0$f4fd4740$@zctt.com>+C7C143EBFD9FF6B6 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQImCiFWWTh8sN6r6dznC3lxFLp7cQJ02LAypnDTGzA= Content-Language: zh-cn X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:zctt.com:qybgforeign:qybgforeign2 X-QQ-Bgrelay: 1 Subject: [dpdk-users] =?utf-8?b?562U5aSNOiBIb3cgY2FuIGNyZWF0ZSBhIG1lbXBv?= =?utf-8?q?ol_more_than_20GB=3F?= X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi Stephen=EF=BC=8C Expert=EF=BC=8Cyou are correct,=20 I update the default hugepage size from 2M to 1G, it's worked. Thanks you very much=EF=BC=81 Jie -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6----- =E5=8F=91=E4=BB=B6=E4=BA=BA: Stephen Hemminger = [mailto:stephen@networkplumber.org]=20 =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2019=E5=B9=B49=E6=9C=8811=E6=97=A5 = 1:36 =E6=94=B6=E4=BB=B6=E4=BA=BA: =E5=AE=8B=E6=8D=B7 =E6=8A=84=E9=80=81: 'users' ; 'Van Haaren, Harry' = =E4=B8=BB=E9=A2=98: Re: How can create a mempool more than 20GB? On Tue, 10 Sep 2019 19:02:37 +0800 =E5=AE=8B=E6=8D=B7 wrote: > Hi All, >=20 > =20 >=20 > I assigned 40GB hugepages for each node. >=20 >=20 >=20 > =20 >=20 > I need a huge mempool buffer (20GB) for save received packets,=20 > I create a mempool as follow: >=20 > rte_pktmbuf_pool_create("rx_dump_pool", 8*1000*1000, 0, 0,=20 > RTE_MBUF_DEFAULT_BUF_SIZE, rte_socket_id() ); >=20 > =20 >=20 > RTE_MBUF_DEFAULT_BUF_SIZE is 2048+128 , I think=20 > rte_pktmbuf_pool_create should create 8*1000*1000*(2176)=E2=89=8816G = buffer, >=20 > But failed with below prompt: >=20 > EAL: eal_memalloc_alloc_seg_bulk(): couldn't find suitable memseg_list >=20 > EAL: eal_memalloc_alloc_seg_bulk(): couldn't find suitable memseg_list >=20 > EAL: Error - exiting with code: 1 >=20 > =20 >=20 > I try to reduce the size, the mempool can be created successfully as = follow: >=20 > rte_pktmbuf_pool_create("rx_dump_pool", 5000000, 0, 0,=20 > RTE_MBUF_DEFAULT_BUF_SIZE, rte_socket_id() ); >=20 > =20 >=20 > =20 >=20 > Does DPDK mempool has a limited size ? I have no ideal for this L >=20 > =20 You are going to need 1G huge pages on this, and a system with very = large amount of memory. To setup 1G huge pages requires settings on = kernel command line. Also expect slow startup times with that much memory.