Tim Brecht, November 2002.
Note: these are preliminary test results.
In web servers that are trying to operate under overload conditions a situation occurs where the server's queues that track TCP SYNs and the listenq become full. When this happens incoming TCP SYN packets interrupt the kernel, and it ends up dropping the packet.
Below I've conducted 3 experiments labelled:
The tools that enable these types of assignments on Linux are:
The theory was that if it was only the interrupt processing overhead that was causing the decrease in throughput, assigning one processor to handle all of the interrupts and the other to run the web server should permit performance to flatten out as the request rate increases.
The results show that pinnning the interrupts to processor 0 help performance significantly. As can be seen in the graph below. However, pinning the interrrupts to processor 0 and the server to processor 1 does not result in the flatten out performance that we'd hoped for.