Linux Archive

Linux Archive (
-   Ubuntu Server Development (
-   -   Performance tuning advice (

Martin Hess 08-07-2008 10:53 PM

Performance tuning advice
By latency I'm assuming you mean how long packets stick around in the network stack before they are sent out.
Packets are small (<500bytes) and need to sent within 10ms.
Thank you for the man page pointers. They will help.
On Aug 7, 2008, at 3:12 PM, David Miller wrote:There's a lot of kernel tweaks that can be used to fine tune your network stack for this type of workload but you didn't mention how critical latency is to your workload.* That will also need to be factored into what settings to use.

Pretty much anything in /proc/sys/net/core/ and /proc/sys/net/ipv4/ can be tweaked and the settings can be made permanent using /etc/sysctl.conf.

Look for the Sysctls section in the following man pages for definitions on what each of these settings do.
man 7 tcp
man 7 udp
man 7 socket
man 7 ip


On Thu, Aug 7, 2008 at 5:47 PM, Martin Hess <> wrote:

I'm looking for advice on how best to tune Ubuntu Server 8.0.4 for
best network performance. I have a custom server application that has
up to 50,000 tcp connections open at a time.

The amount of data being sent is small -- on the order of a 3-4KB/min.
Connections come and go at a rate of 1000/minute.

Other considerations:
Disk I/O is unimportant.
Memory use is intensive.

Any thoughts?


ubuntu-server mailing list
More info:

ubuntu-server mailing list
More info:
ubuntu-server mailing list
More info:

All times are GMT. The time now is 07:03 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.