You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have went through the contribution guide and have a request to introduce DPDK or Linux Packet Buffer approach
Summary: The code in vslib/HostInterfaceInfo.cpp utilises read & write operations. This code essentially creates a separate thread for each switch port and does read() and write() of one packet at a time to copy packets from the virtual linux network interfaces and the virtual switch port TAP devices. This is very slow and adds a lot of latency.
Requirement/Reason: Low latency as read() write() operations create single new threads
Approach: Can I try to see if Linux Packet Buffer could be a more optimized approach or even DPDK (which is my target, as it's the fastest)?
I'm also new to the SONiC software & community around, would appreciate if I could get some direction or help :)
Also, apologies if any of my point above is incorrect, I have tried to frame the issue with the best of my knowledge
Thank you
The text was updated successfully, but these errors were encountered:
hey, i wrote that code, and this was by design, that traffic on port was intended only for control traffic, not actual dataplane transfer, but if you want to improve that you are very wellcome :)
Hi there,
I have went through the contribution guide and have a request to introduce DPDK or Linux Packet Buffer approach
Summary: The code in vslib/HostInterfaceInfo.cpp utilises read & write operations. This code essentially creates a separate thread for each switch port and does read() and write() of one packet at a time to copy packets from the virtual linux network interfaces and the virtual switch port TAP devices. This is very slow and adds a lot of latency.
Requirement/Reason: Low latency as read() write() operations create single new threads
Approach: Can I try to see if Linux Packet Buffer could be a more optimized approach or even DPDK (which is my target, as it's the fastest)?
I'm also new to the SONiC software & community around, would appreciate if I could get some direction or help :)
Also, apologies if any of my point above is incorrect, I have tried to frame the issue with the best of my knowledge
Thank you
The text was updated successfully, but these errors were encountered: