Re: intel x540-at2
From: Jose Gavine Cueto <hidden>
Date: 2014-01-08 06:13:36
Hi, Just to let you know that the invalid instruction error above went away when AVX was enabled using host model cpu mode in the VM. Thanks, Pepe On Mon, Jan 6, 2014 at 2:03 PM, Jose Gavine Cueto [off-list ref]wrote:
Hi Thomas, On Sun, Jan 5, 2014 at 10:54 PM, Thomas Monjalon < thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> wrote:quoted
05/01/2014 22:31, Jose Gavine Cueto :quoted
venky.venkatesan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:quoted
Was the DPDK library compiled on a different machine and the used inthequoted
quoted
VM? It looks like it has been compiled for native AVX (hence the vzeroupper). Could you dump cpuinfo in the VM and see whatinstruction setquoted
quoted
the VM supports?Yes, it was compiled in a different machine and it was used in my VM.[...]quoted
model name : Intel(R) Core(TM) i5-3340M CPU @ 2.70GHz flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pgemcaquoted
cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx rdtscp lmconstant_tscquoted
rep_good nopl pni monitor ssse3 lahf_lm[...]quoted
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. -- ThomasThanks and I will try your suggestion. I will also post the result whenever it is available, for the meantime I will be rebuilding the DPDK lib. Cheers, Pepe -- To stop learning is like to stop loving.
-- To stop learning is like to stop loving.