-
Notifications
You must be signed in to change notification settings - Fork 11
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
Not much difference in speed #2
Comments
Hi @Nuclear6, since you're using only one stream, you will only ever use one CPU core. That's how the Linux kernel works. It load balances network flows (5 tuples) over all available nic queues. So if you have only one flow, you'll use only one Queue and one CPU. To ensure you're benefiting from multiple CPU cores, you need more flows by increasing the test with let me know how it goes! |
Running this command Channel parameters for enp4s0: |
Hmm, i guess that indicates your nic doesn't support multi-queue.. In the meantime, try it with a veth interface; try this script. Then check the ethtool again. Likely that you can set multiple queues on that. |
use ethtool print nic info, Does this help? driver: r8169 |
hard to say, you would need to look up the exact specs for your hardware version. Look for supported number of Queues or RSS (receivers side scaling) It's all hardware specific (maybe firmware?). Not something i can easily help with unfortunately. ie. to go faster you need multiple streams did you to try the |
btw another way to check the available queues on your nic is mentioned in this issue "eth2 has 8 tx queues and 8 rx queues"
|
I haven't try the |
ok, this shows indeed just one RX and one TX queue. ie. it's all local to the machine, and shouldn't leave the machine. Just double-check the IP addresses. |
Well, if that's the case, then your results are very convincing. I saw this project was included in the Go Weekly Report, congratulations to you. |
Why is there not much difference when I test on a 32-core machine?

The text was updated successfully, but these errors were encountered: