Hi,
After optimizing JNI invocations with NIO, I got the benchmark results I wanted from APR. The performance of the HTTP APR connector is now the same as the regular HTTP connector (at least on Windows)
Here are the results for Linux:
Server SLES9/amd64 with sp1. Client RHEL4/amd64. Connecet with Gigabit ethernet via crossconnect cable.
Tested only static content. One interesting thing is that CPU usage for Tomcat is around 50% for 1m file, while when using APR with sendfile enabled it is around 23%. On window it's even lower.
Not sure weather all the attachment will pass. If they don't I'll put them somewhere.
One interesting thing is that for small files (1k) the httpd is two times slower then regular Tomcat.
Regards, Mladen.
std100k.txt
Description: application/octet-string
apr1k.txt
Description: application/octet-string
apr1m.txt
Description: application/octet-string
apr10k.txt
Description: application/octet-string
apr100k.txt
Description: application/octet-string
httpd1k.txt
Description: application/octet-string
httpd1m.txt
Description: application/octet-string
httpd10k.txt
Description: application/octet-string
httpd100k.txt
Description: application/octet-string
std1k.txt
Description: application/octet-string
std1m.txt
Description: application/octet-string
std10k.txt
Description: application/octet-string--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]