NTB Perf is a performance measuring tool for NTB hardware drivers.
This is a port of ntb_perf Linux tool for FreeBSD. It has been tested with AMD NTB hardware driver.
Differential D18832
NTB Perf: Tool to measure performance of NTB hw drivers shreyankamartya229_gmail.com on Jan 13 2019, 10:19 AM. Authored by Tags None Referenced Files
Details
Diff Detail
Event TimelineComment Actions Added write combining for memory window for improved performance Comment Actions I'm afraid I don't have time to review this, sorry. CCing Ed, who might be able to round someone up. Comment Actions Can you provide a link to the original source file, and make a second review (or link to a diff) that shows the delta between upstream and your ported version? Comment Actions Have you tried to run this code on debug kernel? On fresh head with INVARIANTS, WITNESS, etc. it complains and crashes immediately on attempt to sleep under mutex in many places (sysctl, memory allocations, etc). Comment Actions The code also seems to not build on i386. I haven't looked close, but when I tried to build other thing, it failed. Comment Actions Fix build errors for i386 and remove unecessary locks. |