PCIe device performance

shreyank amartya shreyankfbsd at gmail.com
Tue Jan 22 09:32:23 UTC 2019


Hi,

I have a PCIe device BAR mapped to a particular region in KVA. I use memcpy
to write into that region and measure the transfer rate. Recently, I was
able to increase the transfer rate by setting the memory attribute of the
BAR mapped region to VM_MEMATTR_WRITE_COMBINING. However, the transfer rate
fluctuates wildly and I cannot get a deterministic value. What could be the
cause for this?

Thanks
Shreyank Amartya


More information about the freebsd-drivers mailing list