epoll

Justin Matlock jmat@shutdown.net
Thu, 19 Feb 2004 15:46:17 -0500


Never mind - problem solved.

Gentoo doesn't automatically update the headers in /usr/include/linux to
match the current kernel, so I was still running 2.4 headers with the 2.6
kernel (I'm surprised more things didn't break).

After I emerged linux-headers-2.6.1 and re-emerging libevent and memcached,
it started using epoll.

J 

-----Original Message-----
From: memcached-admin@lists.danga.com
[mailto:memcached-admin@lists.danga.com] On Behalf Of Anatoly Vorobey
Sent: Thursday, February 19, 2004 1:29 PM
To: memcached@lists.danga.com
Subject: Re: epoll

On Thu, Feb 19, 2004 at 11:59:56AM -0500, Justin Matlock wrote:
> Is there anyway to easily tell if memcached is actually using epoll?

Yes, run it with EVENT_SHOW_METHOD set in the environment:

$ EVENT_SHOW_METHOD=1 ./memcached

It'll print the method used, whether epoll or anything else.

-- 
avva