
alvaro at alobbs
Aug 10, 2003, 11:39 PM
Post #1 of 1
(126 views)
Permalink
|
|
/dev/epoll support... commited
|
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Some days ago, we were talking about /dev/epoll. It's an interesting new feature of the 2.5 and 2.6 GNU/Linux kernels. Today, I've commited the /dev/epoll support to the CVS. :-)) At the moment, it has a known problem, but I hope fix it soon. These're some stats about it. With poll() support (almost systems and Linux 2.4 w/o the patch): * without keepalive: Requests per second: 5144.03 [#/sec] (mean) * keepalive: Requests per second: 20449.90 [#/sec] (mean) and with the new /dev/epoll support: * without keepalive: Requests per second: 13386.88 [#/sec] (mean) * keepalive: Requests per second: 18450.18 [#/sec] (mean) The connections without keepalive are now really fast. But the keepalive ones are a bit slower (this is the known problem ;-). By default, ./configure will check for /dev/epoll support (as I said, it's only available in 2.6, 2.5 and 2.4-patched GNU/Linux systems). If it is found, cherokee will compile with /dev/epoll support. Anyway, you can disable it appending the "--disable-epoll" parameter to ./configure - -- Greetings, alo. http://www.alobbs.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/NrqHVRSCNxlNnu0RAs0tAKDSHGf6q/4RARTJ+sIz4FgA1uafQwCfaxIc I//6+DmcPJ2pJ2N1Il4RTeA= =j/d+ -----END PGP SIGNATURE-----
|