Server Products
Data Center Products including boards, integrated systems, Intel® Xeon® Processors, RAID Storage, and Intel® Xeon® Processors
4803 Discussions

Trouble configuring Data Streaming Accelerator (DSA)

Hoddy
Beginner
1,637 Views

Hi,

 

I try to use DSA for asynchronous data movement. While loading into linux kernel 6.5, I noticed the following:

 

1/ $ sudo dmesg | grep idxd

idxd 0000:75:01.0: Unable to turn on user SVA feature.

idxd 0000:75:01.0: Intel(R) Accelerator Device (v100)

 

2/$ sudo dmesg | grep -i dmar

DMAR: IOMMU feature pasid inconsistent

DMAR: IOMMU feature prs inconsistent

...

DMAR: dmar13: Using Queued invalidation

DMAR: Intel(R) Virtualization Technology for Directed I/O

 

3/$ sudo lspci -vvv -s 75:01.0

...

Capabilities: [200 v1] Designated Vendor-Specific: Vendor=8086 ID=0005 Rev=0 Len=24 <?>
Capabilities: [220 v1] Address Translation Service (ATS)
ATSCap: Invalidate Queue Depth: 00
ATSCtl: Enable+, Smallest Translation Unit: 00
Capabilities: [230 v1] Process Address Space ID (PASID)
PASIDCap: Exec- Priv+, Max PASID Width: 14
PASIDCtl: Enable+ Exec- Priv+
Capabilities: [240 v1] Page Request Interface (PRI)
PRICtl: Enable- Reset-
PRISta: RF- UPRGI- Stopped+
Page Request Capacity: 00000200, Page Request Allocation: 00000200
Kernel driver in use: idxd
Kernel modules: idxd

 

More details in https://github.com/intel/idxd-config/issues/46. I have the same problem as USER eiclpy.

 

I configure the server following https://www.intel.com/content/www/us/en/content-details/759709/intel-data-streaming-accelerator-user-guide.html. Here is the CPU information.

$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 46 bits physical, 57 bits virtual
Byte Order: Little Endian
CPU(s): 72
On-line CPU(s) list: 0-71
Vendor ID: GenuineIntel
Model name: Intel(R) Xeon(R) Gold 6416H
CPU family: 6
Model: 143
Thread(s) per core: 2
Core(s) per socket: 18
Socket(s): 2
Stepping: 8
CPU max MHz: 4200.0000
CPU min MHz: 800.0000
BogoMIPS: 4400.00
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 pdpe1gb rdtscp lm constant_ts
c art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16
xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cat_l2 cdp_l3
invpcid_single intel_ppin cdp_l2 ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms in
vpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cq
m_occup_llc cqm_mbm_total cqm_mbm_local split_lock_detect avx_vnni avx512_bf16 wbnoinvd dtherm ida arat pln pts hfi vnmi avx512vbmi umip pku ospke waitpkg avx51
2_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx512_vpopcntdq la57 rdpid bus_lock_detect cldemote movdiri movdir64b enqcmd fsrm md_clear serialize
tsxldtrk pconfig arch_lbr ibt amx_bf16 avx512_fp16 amx_tile amx_int8 flush_l1d arch_capabilities
Virtualization features:
Virtualization: VT-x
Caches (sum of all):
L1d: 1.7 MiB (36 instances)
L1i: 1.1 MiB (36 instances)
L2: 72 MiB (36 instances)
L3: 90 MiB (2 instances)
NUMA:
NUMA node(s): 4
NUMA node0 CPU(s): 0-17,36-53
NUMA node1 CPU(s): 18-35,54-71
NUMA node2 CPU(s):
NUMA node3 CPU(s):
Vulnerabilities:
Gather data sampling: Not affected
Itlb multihit: Not affected
L1tf: Not affected
Mds: Not affected
Meltdown: Not affected
Mmio stale data: Not affected
Retbleed: Not affected
Spec rstack overflow: Not affected
Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl
Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Spectre v2: Mitigation; Enhanced / Automatic IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence
Srbds: Not affected
Tsx async abort: Not affected

 

Best regards

0 Kudos
10 Replies
vij1
Employee
1,610 Views

Hello Hoddy,


Greetings for the day!


Thank you for providing the details. We are currently reviewing the information and we will reach out to you as soon as possible. We request your patience during this time.


Regards,

Vijay N.


0 Kudos
vij1
Employee
1,577 Views

Hello Hoddy,

 

Greetings for the day!

 

Kindly confirm the system information to proceed further.

 

Regards,

 

Vijay N.


0 Kudos
Hoddy
Beginner
1,567 Views

Hi,

 

Thanks for your reply!

 

My server uses Ubuntu 22.04.3 LTS (GNU/Linux 6.5.0-14-generic x86_64) and its CPU information is above in "$ lscpu". Do you need other system information?

 

Best regards

0 Kudos
vij1
Employee
1,561 Views

Hello Hoddy,


Thank you for your reply. Could you please provide information about the baseboard (motherboard) details you are currently using?


Regards,

Vijay N.



0 Kudos
Hoddy
Beginner
1,549 Views

Hi,

 

Here is the message of $dmidecode:


# dmidecode 3.3
Getting SMBIOS data from sysfs.
SMBIOS 3.4.0 present.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
Manufacturer: XFUSION
Product Name: BC15MBSA
Version: V100R007
Serial Number: XD23B1004022
Asset Tag: To be filled by O.E.M.
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: Type2 - Board Chassis Location
Chassis Handle: 0x0003
Type: Motherboard
Contained Object Handles: 0

 

Best regards

0 Kudos
vij1
Employee
1,529 Views

Hello Hoddy,


Greetings for the day!


Thank you for providing the details. We are currently reviewing the information and we will reach out to you as soon as possible. We request your patience during this time.


Regards,

Vijay N.



0 Kudos
vij1
Employee
1,425 Views

Hello Hoddy,


Greetings for the day!


Thank you for providing the details. We are currently reviewing the information and we will reach out to you as soon as possible. We request your patience during this time.


Regards,

Vijay N.


0 Kudos
vij1
Employee
1,396 Views

Hello Hoddy,

 

Greetings for the day!

 

An issue with using Data Streaming Accelerator. When trying to test Intel® Data Streaming Accelerator executing dsa-perf-micros and the accel-config test, an error output is show: 

 

$ ./scripts/setup_dsa.sh configs/4e1w-d.conf" in dsa-perf-micros gives this error:

disabled dsa0

enabled 1 device(s) out of 1

failed in dsa0/wq0.0

enabled 0 wq(s) out of 1

Error[0x80110000] dsa0/wq0.0: Unknown error

We need to analyze the information from DSA and Linux commands together and look for inconsistencies or missing elements related to VT-d and PRICtl functionalities.

 

Kernel Boot Parameters: 

 

Run grep -i vtd /etc/default/grub and grep -i vtx /etc/default/grub

Look for options like intel_vtd.active=off or intel_vtd_cmt_mode=off that might disable VT-d functionalities.

 

VT-d Status: 

Run grep -i vtd /proc/cpuinfo and grep -i vtx /proc/cpuinfo

Look for entries like "VT-d: active" or "VT-d: disabled" to confirm VT-d activation.

 

Driver Status: 

 

Run dmesg | grep -i prictl or journalctl | grep -i prictl

 

Look for any error messages or information about PRICtl driver loading or initialization issues. If VT-d is disabled, investigate the cause through BIOS settings or kernel boot parameters.

 

On the BIOS settings, please make sure the following options are correct:

 

enabled "Opt-Out Illegal MSI Mitigation", enabled "PRS Capability for PCIe" and disabled "Limit CPU PA to 46 bits".

Please also consult with the system or motherboard documentation for specific BIOS settings related to VT-d and VT-x and make sure no additional config is needed on BIOS level.

 

On the Intel® Data Streaming Accelerator User Guide Page 15, there is a description about checking the DSA on the OS:

 

Run lspci -vvv -s 6a:01.0

 

The output should be like the following:

 

Capabilities: [220 v1] Address Translation Service (ATS)

ATSCap: Invalidate Queue Depth: 00

ATSCtl: Enable+, Smallest Translation Unit: 00

 

Run dmesg | grep -i idxd if you see “Unable to turn on SVA feature”, VT-d scalable mode may not be enabled by default, reboot with “intel_iommu=on,sm_on” added to the kernel command line to enable VT-d scalable mode.

 

Run dmesg | grep idxd

Received: Unable to turn on SVA

 

Add this grub config command in /etc/default/grub file:

 

GRUB_CMDLINE_LINUX_DEFAULT="intel_iommu=on,sm_on iommu=on"

Run update-grub

Reboot the system.

 

Note: we request you to share the output of the command as it is essentials to further analysis.

 

Regards,

Vijay N.


0 Kudos
vij1
Employee
1,349 Views

Hello Hoddy,


Greetings for the day!


We are currently awaiting your response regarding the case. If you have any queries or require further assistance, please feel free to respond on the community post. We are more than happy to assist you.


Regards,

Vijay N.



0 Kudos
vij1
Employee
1,287 Views

Hello Hoddy,


Greetings for the day!


We have not received a reply from you , and as such, we will be closing your case.

 

If you want to continue support, please reply to this email and we will reopen your case or create a new one so that we can continue to support you.


Regards,

Vijay N.



0 Kudos
Reply