I am using latest Lighttpd deb build for the production server. I''ve noticed that clean installation of Rails with a simple action should benchmark at the level of approx. 90 reqs/s on Dual AMD 2 Ghz with 2 GB''s of RAM. and turning page caching on should give around 1700 reqs/s. My lighttpd setup gives me 30 reqs/s without caching and 300 reqs/s with caching. Looks like lighttpd works 3 times slower on my machine than on Mac 1.7 Ghz. I read someone mention tweaking lighttpd with min-procs and max-procs but my tests didn''t give me better results with these options. Anyone figured out how to set up Lighttpd on Debian in order to get 1700 reqs/s with caching and 90reqs/s without caching with a clean Rails installation on a Dual AMD 2 Ghz proc with 2 GB of RAM ? I have already tried tweaking with different number of rails listeners (1-10) and min-procs max-procs but without positive results. Thanks for any info on this one. -- Best Karol Hosiawa hosiawak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
On 4/18/05, Karol Hosiawa <hosiawak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I am using latest Lighttpd deb build for the production server.You didn''t tell us what kind of Linux kernel you are using. Take a look on: [ http://www.lighttpd.net/documentation/configuration.html ] - specialy Options | server module "...server.event-handler set the event handler Default: "poll"..." If the kernel is 2.6 you can try "linux-sysepoll" here. And "freebsd-kqueue" on OS X. Maybe this will increase the performance. Searching google for "lighttpd server.event-handler" maybe will give you additional hints.