Performance tuning advice

Martin Hess martinhess at mac.com
Thu Aug 7 22:53:56 UTC 2008


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
>
> --
> David
>
> On Thu, Aug 7, 2008 at 5:47 PM, Martin Hess <martinhess at mac.com>  
> 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 lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
> More info: https://wiki.ubuntu.com/ServerTeam
>
> -- 
> ubuntu-server mailing list
> ubuntu-server at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
> More info: https://wiki.ubuntu.com/ServerTeam

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20080807/6049d49a/attachment.html>


More information about the ubuntu-server mailing list