Re: kqueue examples?

2006-10-23 Thread Adrian Chadd
On 10/24/06, Mark Bucciarelli <[EMAIL PROTECTED]> wrote: On Mon, Oct 23, 2006 at 02:21:07PM +0800, Adrian Chadd wrote: > > Has anyone come across some network software which uses kqueue > "differently" to the above ? lighttpd uses kqueue. Don't know how "different" it is. Again its pretty sim

Re: kqueue examples?

2006-10-23 Thread Mark Bucciarelli
On Mon, Oct 23, 2006 at 02:21:07PM +0800, Adrian Chadd wrote: > > Has anyone come across some network software which uses kqueue > "differently" to the above ? lighttpd uses kqueue. Don't know how "different" it is. m ___ freebsd-performance@freebsd.o

Re: kqueue examples?

2006-10-23 Thread Mike Horwath
On Tue, Oct 24, 2006 at 07:49:47AM +0800, Adrian Chadd wrote: > On 10/24/06, Mike Horwath <[EMAIL PROTECTED]> wrote: > > > > >I haven't dug into it yet, but dovecot is using kqueue() on FreeBSD. > > > >http://dovecot.org/ > > Its a pretty simplistic use of kevent(); at least it is in 1.0r7 which

Re: kqueue examples?

2006-10-23 Thread Adrian Chadd
On 10/24/06, Mike Horwath <[EMAIL PROTECTED]> wrote: I haven't dug into it yet, but dovecot is using kqueue() on FreeBSD. http://dovecot.org/ Its a pretty simplistic use of kevent(); at least it is in 1.0r7 which I have here. (Single submission of events to kevent() rather than bunching them

Re: kqueue examples?

2006-10-23 Thread Mike Horwath
On Mon, Oct 23, 2006 at 02:21:07PM +0800, Adrian Chadd wrote: > All I've found thus far (and I hope I'm not to blame for my initial > hackings of kqueue in a few bits of software!) are simple > level-triggered uses which don't seem much better than Linux epoll or > Solaris /dev/poll. Even libevent