Nmap Development mailing list archives

nsock epoll() reactor?


From: majek04 <majek04+nmap-dev () gmail com>
Date: Wed, 7 Nov 2007 00:29:51 +0100

Hi!

Nsock is based on good old select()  (nsock_core.cc, line 174)
Maybe it's time to move to some newer and faster technologies
like epoll()?

I think that stealing the code from libevent/epoll.c could
be good idea for start. (except for BSD + advertising license)

Also lighttpd has some interesting reactors
(lighttpd/src/fdevent_linux_sysepoll.c).

What do you guys think?

Marek Majkowski


[advertisement]
Btw. It seems that in some corner cases nmap's nsock core is faster
than libevent :)
http://majek4.blogspot.com/2007/11/trinity-choice-nsock-over-libevent.html
[/advertisement]

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: