Re: TSO support and performance gain

2024-04-05 Thread mabi
On Friday, April 5th, 2024 at 8:32 PM, Jan Klemkow  wrote:

> Pure sending will saturate your interface 1/10 Gbit/s. So, it depends
> on your traffic source. The receiving speed of the opposite interface
> will be the bottleneck of the em(4)/bnxt(4) sending interface. Also
> the speed of your disk, when you send local files over network.
> 
> TSO in general just helps with bulk traffic like Downloads. If your
> firewall just handles many small TCP connections, it wont help you that
> much.

Thank you both Jan and Claudio for your answers. I understand now that in my 
specific use case there is hardly any advantage.

Best,
Mabi



Re: TSO support and performance gain

2024-04-05 Thread jan
Hi Mabi,

On Fri, Apr 05, 2024 at 05:24:27PM +, mabi wrote:
> First thank you for another great OpenBSD release. I just updated my
> home firewall today and was wondering about the performance of TSO
> support on bnxt and em interfaces which have been added to the 7.5
> release...
> 
> Does anyone know roughly the performance gains by having TSO support
> on these NICs enabled?

Pure sending will saturate your interface 1/10 Gbit/s.  So, it depends
on your traffic source.  The receiving speed of the opposite interface
will be the bottleneck of the em(4)/bnxt(4) sending interface.  Also
the speed of your disk, when you send local files over network.

TSO in general just helps with bulk traffic like Downloads.  If your
firewall just handles many small TCP connections, it wont help you that
much.

bye,
Jan



Re: TSO support and performance gain

2024-04-05 Thread Claudio Jeker
On Fri, Apr 05, 2024 at 05:24:27PM +, mabi wrote:
> Hi,
> 
> First thank you for another great OpenBSD release. I just updated my home 
> firewall today and was wondering about the performance of TSO support on bnxt 
> and em interfaces which have been added to the 7.5 release...
> 
> Does anyone know roughly the performance gains by having TSO support on these 
> NICs enabled?
> 

For a firewall the performance gain is around 0.

-- 
:wq Claudio



TSO support and performance gain

2024-04-05 Thread mabi
Hi,

First thank you for another great OpenBSD release. I just updated my home 
firewall today and was wondering about the performance of TSO support on bnxt 
and em interfaces which have been added to the 7.5 release...

Does anyone know roughly the performance gains by having TSO support on these 
NICs enabled?

Best regards,
Mabi