logoalt Hacker News

shashasha2yesterday at 11:17 PM4 repliesview on HN

Bhyve bridges are inefficient: every packet traverses NIC → CPU → bridge → VM, adding unnecessary copies that kill throughput. Switching to SR-IOV eliminated that overhead and I saturated the 10 GbE link.


Replies

Veservtoday at 12:20 AM

I do not see how that follows. Memory bandwidth is measured in the hundreds of Gb/s. You can issue tens of unnecessary full memory copies before you bottleneck at a paltry 10 Gb/s.

It is much more likely there is something else terribly wrong in a network stack if it can not even drive a measly 10 Gb/s.

show 1 reply
kev009today at 3:05 AM

It would benefit from a batching mechanism.

assimpleaspossiyesterday at 11:24 PM

You used the new optimized bridges on FreeBSD 15?

show 1 reply
gigatexalyesterday at 11:42 PM

On Linux?