From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id 6333EDE4 for ; Sun, 5 Jan 2014 15:53:42 +0100 (CET) Received: by mail-wg0-f50.google.com with SMTP id a1so15011078wgh.29 for ; Sun, 05 Jan 2014 06:54:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=yh8kbyxcRp+TDpcDTHoH/nGwbk35Jo8+IWviJOEbd58=; b=JJu/trcktSzlw0X70rLQUFKPmVo57u+Ii39P5EXyWVfCYwOP2pGG/3+FyrOXXYW//C GPbvorj7yqG6KaxJ/hpM0cI8nns6u4cF5S9V/VKLO7YSljYkPpYGIWMNR9u+Q5lF6Cix V22alHct+rCIjDnWH1PXMTKdUu2RuIqTcypcYRFHq5pzEyV2MeRJgd78LVOrT6FYXnAG ImTa37cUoDY+A6ANlpwEmQOqPzltjvGZw/4PxPqR/a+q+WLyAA6w2IOHLu1lNJs2s2h6 GS5grVheFiZdt+jc6Retl3IPHjvbJbS/jt2QU0w14kKEWinYlOGHUM/Y3bLzdUzBnpHL TOSA== X-Gm-Message-State: ALoCoQmBFf9VHN3WjsSQzvdJBMXQPCN3Ar5w7RNVACt2lsVP7e+tEPolS/eEZSb9QARItV4xyX8C X-Received: by 10.180.106.165 with SMTP id gv5mr8928633wib.32.1388933693355; Sun, 05 Jan 2014 06:54:53 -0800 (PST) Received: from x220.localnet (abo-213-55-68.mts.modulonet.fr. [85.68.55.213]) by mx.google.com with ESMTPSA id ko3sm40234018wjb.23.2014.01.05.06.54.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 05 Jan 2014 06:54:52 -0800 (PST) From: Thomas Monjalon To: Jose Gavine Cueto Date: Sun, 05 Jan 2014 15:54:51 +0100 Message-ID: <1734676.i5HPyu6JDa@x220> Organization: 6WIND User-Agent: KMail/4.12 (Linux/3.12.6-1-ARCH; KDE/4.12.0; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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: Sun, 05 Jan 2014 14:53:42 -0000 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