Quantcast
Channel: Active questions tagged kernel-modules - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 1186

PCI hardware access speeds - Kernel vs user space [closed]

$
0
0

Hi there Linux experts!

I'm trying to find the best way possible to control and stress a PCI device. I've started off with writing a simple bash script that uses the commands from pciutils (lspci & setpci) to configure the device and create traffic on the bus

While the scripts work just fine, their execution speed seems much slower than the PCIe link speeds, making it hard to create stress on the bus, or quickly change between power modes and link speeds.

I was wondering, if ill write a kernel module that will call functions from the pci.h library, will its execution be faster? Will I be able to achieve faster access to the PCI device?

Any help would be much much appreciated :)


Viewing all articles
Browse latest Browse all 1186

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>