[dpdk-dev] Number of memory channels per processor socket?

2015-06-28 Thread Abhishek Verma
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) spawn

[dpdk-dev] Number of memory channels per processor socket?

2015-06-29 Thread Keunhong Lee
See your motherboard spec. For example, I'm using Intel 5930K with ASUS X99 Delux Motherboard (x99 chipset). This site https://www.asus.com/us/Motherboards/X99DELUXE/specifications/ tells that "Quad Channel Memory Architecture " which means that "-n 4" is the correct configuration for me. To fully

[dpdk-dev] Number of memory channels per processor socket?

2015-06-29 Thread Keunhong Lee
...and -c option gives 'masking' for CPUs. -c 1 will only activate single core (especially second core) of your system. If you want to activate both core, you have to give the mask '11'b ('3' in decimal). 2015-06-28 18:54 GMT+09:00 Abhishek Verma : > Hi, > > I am new to DPDK and i tried searchin

[dpdk-dev] Number of memory channels per processor socket?

2015-06-29 Thread Abhishek Verma
Thanks Keunhong. How do i get the motherboard spec on a virtual machine thats spawned on the cloud, for example Amazon EC2? Cheers, Abhishek On Mon, Jun 29, 2015 at 4:53 AM, Keunhong Lee wrote: > See your motherboard spec. > For example, I'm using Intel 5930K with ASUS X99 Delux Motherboard (x

[dpdk-dev] Number of memory channels per processor socket?

2015-06-29 Thread Keunhong Lee
Currently, I have no idea to find out memory mapping of virtual machines. I think -n 4 will work on both dual and quad channel memory. This optimizes entries of mempool or ring structure to interleave memory access into n-ways. I think interleaving in 4 ways will also include 2 way interleaving. K