From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ig0-f172.google.com (mail-ig0-f172.google.com [209.85.213.172]) by dpdk.org (Postfix) with ESMTP id CA60DC514 for ; Sun, 28 Jun 2015 11:54:50 +0200 (CEST) Received: by igblr2 with SMTP id lr2so36712668igb.0 for ; Sun, 28 Jun 2015 02:54:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=VT6UMipacqDybS5NXnylpddhyM//2V8Asqr7rzkjBSc=; b=kjQvGpkTtdPOd/OU4yp8IYVYX7iVRFq7J5PVRp3Wsji+Ty7q/pMrnh5rCWwc8yunaY qCCFPrBLg4s8NZLmWl1V+OrkxzyOCsEsQgAAr7jQZ23Bc6pT6NxxlfZd8DqB5pB5w6mJ /zoPiTnIt0bwX/7JsrJBpNSdAKzl5+JEBEsJuOeFrHJsjgDIWnBvlKwOVgmZ6zY2b3do M9XA49Wl8C2Bm/PXmVLS+SCBrDXvMPO9wrCFUDexz2TK2xaKqgsjYkvitNlJCvofAwXD FecrOz8mvBzY1FxwiYV5ho3/9NGiemUjGY3YpwxkqHfOpym9iUaoVXTD8tBiW89b4BE5 Se1Q== MIME-Version: 1.0 X-Received: by 10.43.164.66 with SMTP id mr2mr12643371icc.85.1435485290108; Sun, 28 Jun 2015 02:54:50 -0700 (PDT) Received: by 10.64.156.229 with HTTP; Sun, 28 Jun 2015 02:54:50 -0700 (PDT) Date: Sun, 28 Jun 2015 15:24:50 +0530 Message-ID: From: Abhishek Verma To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Number of memory channels per processor socket? X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jun 2015 09:54:51 -0000 Hi, I am new to DPDK and i tried searching the archives in case this had been discussed but couldnt find any references and hence this email: What is the significance of " -n NUM: Number of memory channels per processor socket" which is passed as an EAL option? I have a virtual machine (VM) spawned using VirtualBox and i am trying to use DPDK to get faster access to packets there. I did lscpu, but that didnt give me anything interesting that i could use here: abhishekV@VirtualBox:~/dpdk/dpdk-2.0.0/x86_64-native-linuxapp-gcc/app$ sudo lscpu [sudo] password for abhishekV: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 2 On-line CPU(s) list: 0,1 Thread(s) per core: 1 Core(s) per socket: 2 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 58 Stepping: 9 CPU MHz: 2594.017 BogoMIPS: 5188.03 L1d cache: 32K L1d cache: 32K L2d cache: 6144K NUMA node0 CPU(s): 0,1 abhishekV@VirtualBox:~/dpdk/dpdk-2.0.0/x86_64-native-linuxapp-gcc/app$ I understand that i have two cores and hence should use -c 1 (since i have cores 0 and 1). However, i dont understand what to give as the "-n" option. Is it always 4? Thanks, Abhishek