From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Sune Subject: RTE_EAL on single core CPUs Date: Mon, 07 Apr 2014 14:50:55 +0200 Message-ID: <53429F2F.7050602@bisdn.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable To: "" Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" Dear all, I was preparing a development machine (kvm - qemu) with a single core,=20 and stumbled with what appears to be a limitation with EAL [1]. The VM=20 is setup emulating a SandyBridge CPU but with a single CPU and running=20 1.6.0 branch HEAD (perhaps this is the problem?=BF). I was also interested in this particular setup, because we haven't yet=20 tried our application with some Atom equipment we have here, but we need=20 to make it run also there. Any ideas? I am probably missing something really fundamental here. Thank you and regards marc [1] marc@dpdk:~/dpdk/examples/l2fwd/build$ sudo ./l2fwd -c 1 -n 1 -- -p=3D0x= f EAL: Detected lcore 0 as core 0 on socket 0 EAL: Skip lcore 1 (not detected) EAL: Skip lcore 2 (not detected) EAL: Skip lcore 3 (not detected) EAL: Skip lcore 4 (not detected) EAL: Skip lcore 5 (not detected) EAL: Skip lcore 6 (not detected) EAL: Skip lcore 7 (not detected) EAL: Skip lcore 8 (not detected) EAL: Skip lcore 9 (not detected) EAL: Skip lcore 10 (not detected) EAL: Skip lcore 11 (not detected) EAL: Skip lcore 12 (not detected) EAL: Skip lcore 13 (not detected) EAL: Skip lcore 14 (not detected) EAL: Skip lcore 15 (not detected) EAL: Skip lcore 16 (not detected) EAL: Skip lcore 17 (not detected) EAL: Skip lcore 18 (not detected) EAL: Skip lcore 19 (not detected) EAL: Skip lcore 20 (not detected) EAL: Skip lcore 21 (not detected) EAL: Skip lcore 22 (not detected) EAL: Skip lcore 23 (not detected) EAL: Skip lcore 24 (not detected) EAL: Skip lcore 25 (not detected) EAL: Skip lcore 26 (not detected) EAL: Skip lcore 27 (not detected) EAL: Skip lcore 28 (not detected) EAL: Skip lcore 29 (not detected) EAL: Skip lcore 30 (not detected) EAL: Skip lcore 31 (not detected) EAL: Skip lcore 32 (not detected) EAL: Skip lcore 33 (not detected) EAL: Skip lcore 34 (not detected) EAL: Skip lcore 35 (not detected) EAL: Skip lcore 36 (not detected) EAL: Skip lcore 37 (not detected) EAL: Skip lcore 38 (not detected) EAL: Skip lcore 39 (not detected) EAL: Skip lcore 40 (not detected) EAL: Skip lcore 41 (not detected) EAL: Skip lcore 42 (not detected) EAL: Skip lcore 43 (not detected) EAL: Skip lcore 44 (not detected) EAL: Skip lcore 45 (not detected) EAL: Skip lcore 46 (not detected) EAL: Skip lcore 47 (not detected) EAL: Skip lcore 48 (not detected) EAL: Skip lcore 49 (not detected) EAL: Skip lcore 50 (not detected) EAL: Skip lcore 51 (not detected) EAL: Skip lcore 52 (not detected) EAL: Skip lcore 53 (not detected) EAL: Skip lcore 54 (not detected) EAL: Skip lcore 55 (not detected) EAL: Skip lcore 56 (not detected) EAL: Skip lcore 57 (not detected) EAL: Skip lcore 58 (not detected) EAL: Skip lcore 59 (not detected) EAL: Skip lcore 60 (not detected) EAL: Skip lcore 61 (not detected) EAL: Skip lcore 62 (not detected) EAL: Skip lcore 63 (not detected) EAL: Setting up memory... EAL: Ask a virtual area of 0x5c00000 bytes EAL: Virtual area found at 0x7fbfaf600000 (size =3D 0x5c00000) EAL: Ask a virtual area of 0x1800000 bytes EAL: Virtual area found at 0x7fbfadc00000 (size =3D 0x1800000) EAL: Ask a virtual area of 0x600000 bytes EAL: Virtual area found at 0x7fbfad400000 (size =3D 0x600000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7fbfad000000 (size =3D 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7fbfacc00000 (size =3D 0x200000) EAL: Ask a virtual area of 0x200000 bytes EAL: Virtual area found at 0x7fbfac800000 (size =3D 0x200000) EAL: Requesting 64 pages of size 2MB from socket 0 EAL: TSC frequency is ~2494382 KHz EAL: WARNING: cpu flags constant_tsc=3Dyes nonstop_tsc=3Dno -> using=20 unreliable clock cycles ! EAL: Master core 0 is ready (tid=3Db6129840) EAL: PCI device 0000:00:06.0 on NUMA socket -1 EAL: probe driver: 8086:100e rte_em_pmd EAL: PCI memory mapped at 0x7fbfb60d3000 EAL: PCI device 0000:00:07.0 on NUMA socket -1 EAL: probe driver: 8086:100e rte_em_pmd EAL: PCI memory mapped at 0x7fbfb60b3000 EAL: PCI device 0000:00:08.0 on NUMA socket -1 EAL: probe driver: 8086:100e rte_em_pmd EAL: PCI memory mapped at 0x7fbfb6051000 EAL: PCI device 0000:00:09.0 on NUMA socket -1 EAL: probe driver: 8086:100e rte_em_pmd EAL: PCI memory mapped at 0x7fbfb6031000 Lcore 0: RX port 0 EAL: Error - exiting with code: 1 Cause: Not enough cores marc@dpdk:~/dpdk/examples/l2fwd/build$