Live data from Hacker News

Linux Kernel Tuning for C500k

blog.urbanairship.com

21–26 of 26 posts

Re: Linux Kernel Tuning for C500k

#21

My, how things have changed since the C10k problem... http://www.kegel.com/c10k.html

The C10k solutions are effectively the same as for C500k, those being epoll (Linux), kqueue (BSD), etc. Our Java NIO server utilizes epoll to handle C500k.

What Java NIO server utilizes for EINTR? ^_^

Re: Linux Kernel Tuning for C500k

#22
btw, the most common source of high load is (surprise!) disk I/O.

So, moving a /var/log (not just /var) on separate device connected to distinct controller port is a big deal.

If you're running, say, mail server, you should separate /var/spool and /var/log and /var/db/mysql if any.

Partitioning, serious network card (think Broadcom) and big CPU caches are good things to begin with.

Re: Linux Kernel Tuning for C500k

#23
This isn't relevant to newer kernels as these settings are dynamic based on memory size since 2.6.26ish - The kernel will set this based on usage no need to tweak. The only real issue is making sure you buy a high end network card that will offload as much as possible to avoid x context switches per second (I don't know what it is exactly with netpoll).

Re: Linux Kernel Tuning for C500k

#25
post #22

btw, the most common source of high load is (surprise!) disk I/O. So, moving a /var/log (not just /var) on separate device connected to distinct controller port is a big deal. If you're running, say, mail server, you should separate /var/spool and /var/log and /var/db/mysql if any. Partitioning, serious network card (think Broadcom) and big CPU caches are good things to begin with.

Broadcom on Linux?! I was under the impression that their drivers aren't too good or open source friendly.
Post reply on HN