Skip to content
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

Question - Native vs Emulated performance #966

Open
jkasten2 opened this issue Sep 13, 2024 · 1 comment
Open

Question - Native vs Emulated performance #966

jkasten2 opened this issue Sep 13, 2024 · 1 comment

Comments

@jkasten2
Copy link

It's noted that native Netmap drivers are more performant than an Emulated driver, however I haven't been able to find details quantifying the differences.

  1. What kind of performance gains?
    A. More pps (packets per second)
    B. Less CPU usage
    C. Lower latency
  2. Improved by what percentage? (in the kinds of performance listed above)
    A. In general, what ballpark? 10%, 100%, 1,000%?
    B. Some specific examples? Such as, pps increase with a specific NIC on a specific CPU
@vmaffione
Copy link
Collaborator

Both A, B and C.
The speedup depends on the variables (CPU speed, number of CPUs, memory speed, NIC speed, packet size, batch size), and there isn't a study about that.
I would say, at 64 bytes packet size and 1 CPU, for 1Gbps NICs the pps is almost the same because the CPU can cope with the rate.
At 10 Gbps could be 500%.

You should just make your own test on the platform and configuration you need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants