-
Notifications
You must be signed in to change notification settings - Fork 6
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
How to improve network performance between VMs #10
Comments
Hi, |
Hi, are you doing network between different cores or VMs running on the same core? |
I did it on the same core |
Yes, I need to improve the network bandwidth between the VMs. |
Ok, could you put the VMs on different cores and possibly also the switch to another one and compare? |
Please try to increase the queue size with the virtio-net component using the -s switch, like -s 4096. Increasing the MTU size in Linux might also be helpful. |
Thanks for your suggestion. But when I changed virtqueue size from 256 (defalut value) to 4096, the network bandwidth only improved to 40M/sec. By the way, I just changed the var "vq_max_num" in l4/pkg/virtio-net/server/p2p-link/net.cc, I don't know if I changed it correctly. |
If it works it's change correctly I guess. The value can probably be even higher. And please combine with the MTU increase. |
I increased the mtu value to 65535 (the biggest value), the network bandwidth improved to 310M/sec. In fact, I want to improve the bandwidth to 1GB/sec at least. Is there any other ways? Thanks. |
Is it MB/s or Mbits/s?
Do you happen to know the memory bandwidth of your platform? 10G sounds very ambitious to me. |
It is MBytes/sec |
the memory bandwidth of pcu is 51.2GB/s |
Hi,
I use iperf to test the network performance, the result shows the sending and receiving performance of network data between VMs is 35MB/sec. What maximum data throughput does L4RE support?Can we further improve its performance, and how to?
Thanks!
The text was updated successfully, but these errors were encountered: