-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test throughput on a dual-port 10Gbps card in "loopback" mode #40
Comments
Eureka) I am able to perform tests in the data centre. I've recalled that 3 servers are connected to the same router |
glad you solve the testing problem you had, regarding your question... once you connect the cable between the two ports you should be able to be a link UP on both ports. But the problem is what IP address + subnet config will make it work in that mode?? |
The only solution i've found uses firewall rules to solve the address puzzle. Butw, It only works on kernel stack( |
So while libvma doesn't support loopback testing of the card, what I did was the following:
Specifically, what I had is
Great, now each interface is in a different namespace, and must "use the wire" to get to the other interface. Testing with sockperf for the "server" part (enp3s0):
And the client (enp3s0d1):
I was able to verify that the data is actually sent on the wire because:
Using the kernel bypass method (libvma) I get latency that is similar to the expected latency when testing between 2 computers. Did I make a mistake? Please let me know. |
Greetings.
Is there a way on Linux to test throughput on a dual-port 10Gbps ConnectX3-EN Pro card in "loopback" mode, that is, one port plugged directly into the other. With VMA enabled on each port of course?
We have several of these cards installed in servers that are deployed in the data-centre. But I never had an opportunity to get two servers for the test at once. I have one now and would like to preform such test, if possible
The text was updated successfully, but these errors were encountered: