From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailhost1.indra.es (mail01.indra.es [94.126.240.21]) by dpdk.org (Postfix) with ESMTP id 95F301B369 for ; Tue, 6 Feb 2018 19:38:44 +0100 (CET) Received: from MadMail12.indra.es (172.22.244.16) by MadEdge01.indra.es (172.22.231.70) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Tue, 6 Feb 2018 19:38:43 +0100 Received: from MadMail01.indra.es (172.22.244.5) by MadMail12.indra.es (172.22.244.16) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Tue, 6 Feb 2018 19:38:43 +0100 Received: from MadMail01.indra.es ([fe80::4a8:51e5:e740:edc2]) by MadMail01.indra.es ([fe80::4a8:51e5:e740:edc2%17]) with mapi id 15.00.1293.006; Tue, 6 Feb 2018 19:38:43 +0100 From: =?iso-8859-1?Q?Huertas_Garc=EDa=2C_V=EDctor?= To: "dev@dpdk.org" Thread-Topic: EAL reports "ot enough memory available on socket 0!" Thread-Index: AQHTn3grcukfLQS0d0qA3WT4j9fcQg== Date: Tue, 6 Feb 2018 18:38:42 +0000 Message-ID: <1517941990219.18788@indra.es> Accept-Language: es-ES, en-US Content-Language: es-ES X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [172.22.231.198] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] EAL reports "ot enough memory available on socket 0!" 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: , X-List-Received-Date: Tue, 06 Feb 2018 18:38:44 -0000 Hi all, This is my first post in this mailing list. I am glad to become a member of= this community. I am a newbie using DPDK and I have tried to compile and execute an example= app called "l3fwd-acl". The DPDK command is DPDK_Test -c 0xf0 -n 2 --socket-mem 64 but the application tells me the following: EAL: Detected 8 lcore(s) EAL: Probing VFIO support... EAL: VFIO support initialized EAL: Cannot obtain physical addresses: Success. Only vfio will function. EAL: Not enough memory available on socket 0! Requested: 64MB, available: 0= MB EAL: FATAL: Cannot init memory EAL: Cannot init memory EAL: Error - exiting with code: 1 Cause: Invalid EAL parameters I don't know what else I can do to make this app run as I have reserved hug= epages as the user guide tells as well as mounted the /mnt/huge folder. cat /proc/meminfo | grep Huge AnonHugePages: 520192 kB HugePages_Total: 64 HugePages_Free: 64 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB My machine is has this topology (only one Numa node is detected): udo usertools/cpu_layout.py [sudo] password for root: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Core and Socket Information (as reported by '/sys/devices/system/cpu') =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D cores =3D [0, 1, 2, 3] sockets =3D [0, 1] Socket 0 Socket 1 -------- -------- Core 0 [0] [4] Core 1 [1] [5] Core 2 [2] [6] Core 3 [3] [7] I have compiled the application using Eclipse IDE (g++) under an OpenSuse 4= 2.3 Leap. Everything seemed to compile well and vfio-pci driver could be lo= aded on two NICs. So everything seems to be OK but I am totally stuck on this EAL initializat= ion problem. I would appreciate it if some expert could shed a light on my problem. Thanks a lot!! ________________________________ Este correo electr=F3nico y, en su caso, cualquier fichero anexo al mismo, = contiene informaci=F3n de car=E1cter confidencial exclusivamente dirigida a= su destinatario o destinatarios. Si no es vd. el destinatario indicado, qu= eda notificado que la lectura, utilizaci=F3n, divulgaci=F3n y/o copia sin a= utorizaci=F3n est=E1 prohibida en virtud de la legislaci=F3n vigente. En el= caso de haber recibido este correo electr=F3nico por error, se ruega notif= icar inmediatamente esta circunstancia mediante reenv=EDo a la direcci=F3n = electr=F3nica del remitente. Evite imprimir este mensaje si no es estrictamente necesario. This email and any file attached to it (when applicable) contain(s) confide= ntial information that is exclusively addressed to its recipient(s). If you= are not the indicated recipient, you are informed that reading, using, dis= seminating and/or copying it without authorisation is forbidden in accordan= ce with the legislation in effect. If you have received this email by mista= ke, please immediately notify the sender of the situation by resending it t= o their email address. Avoid printing this message if it is not absolutely necessary.