Bug 1436 - DPDK 20.11.9/22.11.5 both runs failure on intel atom cpu
Summary: DPDK 20.11.9/22.11.5 both runs failure on intel atom cpu
Status: UNCONFIRMED
Alias: None
Product: DPDK
Classification: Unclassified
Component: core (show other bugs)
Version: 22.11
Hardware: x86 Linux
: High major
Target Milestone: 22.11
Assignee: dev
URL:
Depends on:
Blocks:
 
Reported: 2024-05-06 03:23 CEST by lgl_hust
Modified: 2024-05-17 19:33 CEST (History)
3 users (show)



Attachments

Description lgl_hust 2024-05-06 03:23:15 CEST
system info: ubuntu-18.04.6-desktop-amd64

cpu info:(cat /proc/cpuinfo)

processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 55
model name : Intel(R) Celeron(R) CPU J1900 @ 1.99GHz
stepping : 9
microcode : 0x90d
cpu MHz : 1333.435
cache size : 1024 KB
physical id : 0
siblings : 4
core id : 3
cpu cores : 4
apicid : 6
initial apicid : 6
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology tsc_reliable nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer rdrand lahf_lm 3dnowprefetch epb pti ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms dtherm ida arat md_clear
bugs : cpu_meltdown spectre_v1 spectre_v2 mds msbds_only mmio_unknown
bogomips : 4000.00
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

The error info:
 received signal SIGILL, Illegal instruction.
0x000055555e94ac6d in _mm_loadu_si128 (__P=0x1011b9c56) at /usr/lib/gcc/x86_64-linux-gnu/11/include/emmintrin.h:703
703       return *__P;


And the error is same with running on Intel(R) Celeron(R) J6412.
Comment 1 David Marchand 2024-05-06 09:33:38 CEST
It is likely a problem of compiling DPDK with a set of instructions that are not supported for this Intel(R) Celeron(R) J6412 model (though I did not look in the details of what is supported or not).

My advice for now is to try and compile DPDK with -Dmachine=default.
Does it help?
Comment 2 Luca Boccassi 2024-05-06 10:38:38 CEST
20.11 is EOL as per dpdk.org, closing
Comment 3 lgl_hust 2024-05-07 11:17:41 CEST
@Luca Boccass

I  tried on dpdk-stable-22.11.5, the error is the same with version 20.11.9.

@David Marchand   

when running on DPDK 22.11.5,how to configure with -Dmachine=default?

thanks.
Comment 4 Stephen Hemminger 2024-05-07 16:48:05 CEST
DPDK requires SSE4.2 instruction set to run on Intel CPU's since 17.08 release
Comment 5 lgl_hust 2024-05-08 11:20:27 CEST
I see 'sse4_1' and 'sse4_2' in cpu flags , doesn't it mean the support of J6412 cpu for DPDK SSE4.2 instruction ?   How to configure dpdk meson-build options?
Comment 6 Stephen Hemminger 2024-05-12 05:09:49 CEST
Did you build DPDK on the same machine?
Comment 7 lgl_hust 2024-05-13 03:19:09 CEST
Yes, i tried dpdk 20.11 and 22.11 on the same machine.
Comment 8 Stephen Hemminger 2024-05-13 05:51:26 CEST
Were you building with native as the config option?
It is possible that default assumes more than this CPU has.
But native option should choose compiler based on the CPU present.
Comment 9 lgl_hust 2024-05-17 11:59:33 CEST
I am not sure how to set the config option for atom cpu such as  Celeron(R) J6412 ?
I tried "meson build -Dmachine=atom", but didn't work.
Comment 10 Stephen Hemminger 2024-05-17 19:33:42 CEST
The simplest way is to just build on that machine and set -Dmachine=native

Note You need to log in before you can comment on or make changes to this bug.