Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35977 - Libevent does not pick up sys/epoll support on 2.6 kernel
Summary: Libevent does not pick up sys/epoll support on 2.6 kernel
Status: RESOLVED DUPLICATE of bug 35946
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-16 23:32 UTC by Brian O'Kelley
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian O'Kelley 2003-12-16 23:32:30 UTC
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.
Comment 1 SpanKY gentoo-dev 2003-12-17 08:20:54 UTC
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 ***