top | item 10942040

(no title)

phillu | 10 years ago

Can someone point me to information on how to tune the linux kernel or OS to handle such large amounts of TCP connections?

I encountered problems with the default kernel configurations during the writing of my bachelor thesis and wasn't able to really read up on what could have been done to solve those problems. For example i observed high cpu usage only on the first core (similar to what the author describes in the article) due to a high amount of network interrupts. I tried to make those interrupts to be handled by all cores, which was neither recommended (as i remember) nor did it really help.

discuss

order

tostitos1979|10 years ago

I suggest you look for slides from the Whatsapp folks on the kernel and Beam vm tuning they did to get similar numbers. Don't have the link handy but fairly easy to find.

What is more problematic IMHO is generating the load to saturate said server.

davidw|10 years ago

IIRC, the Whatsapp folks use FreeBSD.