27 Nov 02:25
Re: event-handler in opensolaris
From: Carlo Marcelo Arenas Belon <carenas <at> sajinet.com.pe>
Subject: Re: event-handler in opensolaris
Newsgroups: gmane.comp.web.lighttpd
Date: 2007-11-27 01:25:06 GMT
Subject: Re: event-handler in opensolaris
Newsgroups: gmane.comp.web.lighttpd
Date: 2007-11-27 01:25:06 GMT
On Tue, Nov 27, 2007 at 12:44:06AM +0000, Amanda Waite wrote: > You can then use "solaris-devpoll" as the > event-handler which is the recommended option for Solaris. This is a > better option than falling back to using "poll" as the event-handler. if you have 1 single worker (the default) or a few of them, poll and devpoll should be equivalent IMHO; do you have any data to back up the benefits of devpoll over poll in solaris for 1 or a low number of filehandles? I am running lighttpd in Solaris 10 SPARC (v490, 8 x 1350Mhz) with server.max-worker = 128 and doing 900 QPS using poll and 60% CPU idle. for Solaris 10 I would warn against using server.network-backend = sendfilev as there is a bug on it which will lock some of transactions in the kernel and that hasn't been yet fixed AFAIK (I think it was fixed already in OpenSolaris but haven't tested it); server.network-backend = "writev" could be used instead even if it is not the "preferred" method. Carlo
RSS Feed