So I'm giving Perlbal a taste of some production traffic, and I've basically topped out at 40Mbit/s and 700req/s. At least I think it's topped out at that since the CPU is pegged at 100%. I'm running on a Xeon
2.8Ghz with 800Mhz FSB and 2MB L2 cache. 3GB of RAM although Perlbal is only using 130MB. GigE nic. I'm running on Debian Etch with the 2.6.18-5-amd64 kernel (pseudo 64-bit baby!) I have 14 backend nodes. Since the AMD64 kernel sees two cpu's (because of hyperthreading) I'm
actually running two perlbal instances configured exactly the same
except for different listening ports. (is this good?) Traffic is sent to the two perlbal instances by a pair of NetScaler 9000s which are also in "reverse_proxy" mode.<br><br>Here is a 10-second sample of prof data:
<br>Perlbal::BackendHTTP-read 2.32415 0.40803 3927 0.0005918 0.0001039<br>Perlbal::BackendHTTP-write 0.47603 0.08401 723 0.0006584 0.0001162<br>Perlbal::ClientHTTPBase-err 0.00400 0.00000 20 0.0002000 0.0000000<br>Perlbal::ClientHTTPBase-read
2.98418 0.59204 3613 0.0008260 0.0001639<br>Perlbal::ClientManage-read 0.00000 0.00000 1 0.0000000 0.0000000<br>Perlbal::ClientProxy-read 0.00800 0.00400 14 0.0005714 0.0002858<br>Perlbal::ClientProxy-write 0.02400 0.01600
97 0.0002475 0.0001650<br>Perlbal::TCPListener-read 0.14801 0.03200 50 0.0029602 0.0006400<br><br>States ouput:<br>Perlbal::BackendHTTP bored 41<br>Perlbal::BackendHTTP closed 1<br>Perlbal::BackendHTTP connecting 7<br>Perlbal::BackendHTTP wait_res 133
<br>Perlbal::BackendHTTP xfer_res 16<br>Perlbal::ClientHTTPBase persist_wait 546<br>Perlbal::ClientHTTPBase reading_headers 13<br>Perlbal::ClientProxy closed 1<br>Perlbal::ClientProxy draining_res 13<br>Perlbal::ClientProxy wait_res 133
<br>Perlbal::ClientProxy xfer_res 16<br><br>I am using the XS Headers module, xs output:<br>XS module status:<br> headers: installed, enabled<br><br>Traffic graph: <a href="http://givetheworld.net/graph_image-1.png">http://givetheworld.net/graph_image-1.png
</a><br>CPU graph: <a href="http://givetheworld.net/graph_image-2.png">http://givetheworld.net/graph_image-2.png</a><br><br>Is this the performance level I should expect? Or am I doing something wrong?<br><br>-Paul<br>