From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: intel x540-at2 Date: Sun, 05 Jan 2014 15:54:51 +0100 Message-ID: <1734676.i5HPyu6JDa@x220> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Jose Gavine Cueto Return-path: In-Reply-To: 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" 05/01/2014 22:31, Jose Gavine Cueto : > venky.venkatesan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: > > Was the DPDK library compiled on a different machine and the used in the > > VM? It looks like it has been compiled for native AVX (hence the > > vzeroupper). Could you dump cpuinfo in the VM and see what instruction set > > the VM supports? > > Yes, it was compiled in a different machine and it was used in my VM. [...] > model name : Intel(R) Core(TM) i5-3340M CPU @ 2.70GHz > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca > cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx rdtscp lm constant_tsc > rep_good nopl pni monitor ssse3 lahf_lm [...] > It seems that there is no avx here, does this mean this doesn't support > avx instructions ? Yes, you have no avx on this machine. Tip to clearly check this type of flag: grep --color -m1 avx /proc/cpuinfo So, you have 2 solutions: 1) build DPDK on this machine 2) build DPDK for a default machine: CONFIG_RTE_MACHINE=default defconfig files are wrongly called "default" but have CONFIG_RTE_MACHINE set to native. So the compilation flags are guessed from /proc/cpuinfo. You can look for AUTO_CPUFLAGS to better understand it. -- Thomas