2005-02-25 10:44:48

by shabanip

[permalink] [raw]
Subject: UDP optimization

as i know there are many ways to optimize and tune TCP parameters in kernel
but how can i tune and optimize UDp performance?
thanks,
Payam Shabanian
shabanip -at- avapajoohesh.com


2005-02-25 18:33:45

by Valdis Klētnieks

[permalink] [raw]
Subject: Re: UDP optimization

On Fri, 25 Feb 2005 14:21:22 +0330, shabanip said:

> as i know there are many ways to optimize and tune TCP parameters in kernel
> but how can i tune and optimize UDp performance?

Step 1: Identify what aspect of UDP performance you find insufficient, and
under what conditions, what kernel release, and similar information.

Step 2: Re-ask your question. "tune and optimize UDP performance" is as
impossible to answer as "how do I improve the performance of my car", without
telling us important details like what model/year car, or whether you want
better acceleration, better cornering ability, or better gas mileage. The
best answer for myself (a middle-aged male driving a several-year-old sedan
as inconspicuously as possible) will be quite different than the answer
for the guy half my age with a sports car half my car's age (I'm *positive*
I have him beat on gas mileage however. ;)

And it's exactly the same for tuning UDP performance...


Attachments:
(No filename) (226.00 B)

2005-02-25 19:18:41

by Dmitry Yusupov

[permalink] [raw]
Subject: Re: UDP optimization

As far as UDP HW acceleration is concerned we need to modify/verify that
Linux TCP/IP stack capable of:

1) Partial checksumming on receive
2) Checksumming over fragments on transmit

And find the NIC which capable of doing that. s2io/neterion hw do
supports those features.

Regards,
Dima

Without those two, I doubt you will

On Fri, 2005-02-25 at 14:21 +0330, shabanip wrote:
> as i know there are many ways to optimize and tune TCP parameters in kernel
> but how can i tune and optimize UDp performance?
> thanks,
> Payam Shabanian
> shabanip -at- avapajoohesh.com