Live data from Hacker News

Linux Kernel Tuning for C500k

blog.urbanairship.com

1–10 of 26 posts

Re: Linux Kernel Tuning for C500k

#4
Interesting post, thanks for sharing!

About the suggested sysctl.conf settings: I think you'd also need to adjust net.core.rmem_max and net.core.wmem_max in order for the net.ipv4.tcp_rmem and net.ipv4.tcp_wmem settings to be effective.

Furthermore it couldn't hurt to increase net.core.netdev_max_backlog, which is the maximum number of packets queued on the input side, when the interface receives packets faster than kernel can process them.

Re: Linux Kernel Tuning for C500k

#6

Interesting post, thanks for sharing! About the suggested sysctl.conf settings: I think you'd also need to adjust net.core.rmem_max and net.core.wmem_max in order for the net.ipv4.tcp_rmem and net.ipv4.tcp_wmem settings to be effective. Furthermore it couldn't hurt to increase net.core.netdev_max_backlog , which is the maximum number of packets queued on the input side, when the interface receives packets faster than…

Regarding the `net.core` parameters. We do modify those, but my assumption (probably wrong) was that the `net.ipv4` changes would override the core configs. I'll take a look and update the post. Good point about `netdev_max_backlog`, I need to read up on that one too.

Thanks for the feedback!

Re: Linux Kernel Tuning for C500k

#8

Interesting post, thanks for sharing! About the suggested sysctl.conf settings: I think you'd also need to adjust net.core.rmem_max and net.core.wmem_max in order for the net.ipv4.tcp_rmem and net.ipv4.tcp_wmem settings to be effective. Furthermore it couldn't hurt to increase net.core.netdev_max_backlog , which is the maximum number of packets queued on the input side, when the interface receives packets faster than…

Regarding the `net.core` parameters. We do modify those, but my assumption (probably wrong) was that the `net.ipv4` changes would override the core configs. I'll take a look and update the post. Good point about `netdev_max_backlog`, I need to read up on that one too. Thanks for the feedback!

I'm playing around with the exact same things -- maximum concurrent tcp sockets on Amazon EC2 large instances.

How many did you get running?

Re: Linux Kernel Tuning for C500k

#9

Earlier quoted context omitted.

Regarding the `net.core` parameters. We do modify those, but my assumption (probably wrong) was that the `net.ipv4` changes would override the core configs. I'll take a look and update the post. Good point about `netdev_max_backlog`, I need to read up on that one too. Thanks for the feedback!

I'm playing around with the exact same things -- maximum concurrent tcp sockets on Amazon EC2 large instances. How many did you get running?

We got over 500k/instance: http://blog.urbanairship.com/blog/2010/08/24/c500k-in-action...

Re: Linux Kernel Tuning for C500k

#10

Earlier quoted context omitted.

Regarding the `net.core` parameters. We do modify those, but my assumption (probably wrong) was that the `net.ipv4` changes would override the core configs. I'll take a look and update the post. Good point about `netdev_max_backlog`, I need to read up on that one too. Thanks for the feedback!

I'm playing around with the exact same things -- maximum concurrent tcp sockets on Amazon EC2 large instances. How many did you get running?

On an EC2 Large we hit 520K.
Post reply on HN