<div dir="ltr">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.<br><br>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.<br>
<br>Look for the Sysctls section in the following man pages for definitions on what each of these settings do.<br>man 7 tcp<br>man 7 udp<br>man 7 socket<br>man 7 ip<br><br>--<br>David<br><br><div class="gmail_quote">On Thu, Aug 7, 2008 at 5:47 PM, Martin Hess <span dir="ltr"><<a href="mailto:martinhess@mac.com">martinhess@mac.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br>
<br>
I'm looking for advice on how best to tune Ubuntu Server 8.0.4 for<br>
best network performance. I have a custom server application that has<br>
up to 50,000 tcp connections open at a time.<br>
<br>
The amount of data being sent is small -- on the order of a 3-4KB/min.<br>
Connections come and go at a rate of 1000/minute.<br>
<br>
Other considerations:<br>
Disk I/O is unimportant.<br>
Memory use is intensive.<br>
<br>
Any thoughts?<br>
<br>
Thanks,<br>
Marty<br>
<font color="#888888"><br>
--<br>
ubuntu-server mailing list<br>
<a href="mailto:ubuntu-server@lists.ubuntu.com">ubuntu-server@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-server" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-server</a><br>
More info: <a href="https://wiki.ubuntu.com/ServerTeam" target="_blank">https://wiki.ubuntu.com/ServerTeam</a><br>
</font></blockquote></div><br></div>