Performance tuning advice

David Miller david3d at
Thu Aug 7 22:12:54 UTC 2008

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 <martinhess at> wrote:

> Hello,
> 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?
> Thanks,
> Marty
> --
> ubuntu-server mailing list
> ubuntu-server at
> More info:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ubuntu-server mailing list