Start a conversation

Performance Testing / Debugging with ExaSock

To be sure that that ExaNIC hardware and ExaSock application is operating correctly in your machine, our standard test is to use sockperf with/without ExaSock.
To do this:
1 - Ensure that the ExaNIC is connected to the PCIe slot closest to the CPU that you are intending to use it in (this is often the GPU slot). We have more details in the configuration manual for making sure this is true. 
2 - Ensure that the  ExaNIC has the latest firmware and that the latest software and drivers are installed (sorry, I know this one is obvious but you'd be surprised how often it helps). 
3 - Ensure that your linux boot configuration isolates the CPU that you are intending to use for the test (more details here: http://www.linuxtopia.org/online_books/linux_kernel/kernel_configuration/re46.html)
4 - Install and run sockperf. To perform a performance benchmark (using sockperf and exasock) do the following: (in this case, the machine is using CPU 12). 
>> a) taskset -c 12 sockperf pp -i 192.168.0.1 -t 5 -m 12 # No exasock accleration
>> b) exasock taskset -c 12 sockperf pp -i 192.168.0.1 -t 5 -m 12 #With exasock acceleration

The results of test b) should be a lot lower latency than test a). 
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Phil Manuel

  2. Posted

Comments