From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-x236.google.com (mail-lb0-x236.google.com [IPv6:2a00:1450:4010:c04::236]) by dpdk.org (Postfix) with ESMTP id A77E33F9 for ; Mon, 6 Jan 2014 07:01:57 +0100 (CET) Received: by mail-lb0-f182.google.com with SMTP id l4so9737802lbv.27 for ; Sun, 05 Jan 2014 22:03:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=mS2pZJRBOmKYb/rEjvEqo521xAPy5id3iiwaz/bJyRA=; b=M/qgrER2rU4vhDM2AoL9LZcDErH9Vvn5oTe0UnnrO2X7x479nlKsXmjAdDZOKnj0Ly JaOJgs9EaXc0ikgGmCquFJ1NqxS8q1fi0GLgwxBvsOpouaoHjiXng1FG3z21ZgPu9BEw gbV1fX3AaS4GTrp8EdypLmakewH18rm3nwXhnDqoUBCNzs6WH0hfUYkhwq9jiglok9rj PybB9/gsOZMxH4PCgi9UccWtv7waYiRFL6Ig+a44Qgse0lNtLpKgcYu90x4V8Wmj6SkW MKdG1ItK8U30EYbKvrPD4xdXBWe7sbcf6i5J0aOwqWNaXH7tHQTi8f5Yr9K9M891mC7x kU+w== MIME-Version: 1.0 X-Received: by 10.152.1.197 with SMTP id 5mr43840991lao.0.1388988188746; Sun, 05 Jan 2014 22:03:08 -0800 (PST) Received: by 10.114.59.164 with HTTP; Sun, 5 Jan 2014 22:03:08 -0800 (PST) In-Reply-To: <1734676.i5HPyu6JDa@x220> References: <1734676.i5HPyu6JDa@x220> Date: Mon, 6 Jan 2014 14:03:08 +0800 Message-ID: From: Jose Gavine Cueto To: Thomas Monjalon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] intel x540-at2 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: Mon, 06 Jan 2014 06:01:58 -0000 Hi Thomas, On Sun, Jan 5, 2014 at 10:54 PM, Thomas Monjalon wrote: > 05/01/2014 22:31, Jose Gavine Cueto : > > venky.venkatesan@intel.com> 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 > Thanks 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.