One of the key enhancements in 2.6 kernel is sys/epoll. The libevent library was designed to support this, and does on most distributions. However, on Gentoo, it does not appear to. See #35946 for more details. I'm opening this as a separate issue - blocked by #35946 - because we should ascertain that this works. Memcached, in turn, depends on libevent, and this hurts memcached performance.
it does work if your system provides epoll correctly Gentoo provides epoll just fine if the system is setup here's snippets of my `emerge libevent`: checking for sys/epoll.h... yes checking for epoll_ctl... yes EPOLL test-eof: OKAY test-weof: FAILED test-time: OKAY regress: OKAY root@vapier 1 root # nm /usr/lib/libevent.a | grep epoll U epollops epoll.o: 00000339 T epoll_add U epoll_create U epoll_ctl 00000434 T epoll_del 0000018a T epoll_dispatch 00000000 T epoll_init 000000ed T epoll_recalc U epoll_wait 00000094 C epollop 00000000 D epollops *** This bug has been marked as a duplicate of 35946 ***