Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Oct 2005 19:55:21 +0800
From:      "ke.han" <ke.han@redstarling.com>
To:        Erik Trulsson <ertr1013@student.uu.se>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: kqueue and polling ... are they related?
Message-ID:  <4360C029.8050906@redstarling.com>
In-Reply-To: <20051027091940.GA89707@falcon.midgard.homeip.net>
References:  <43609966.8030907@redstarling.com> <20051027091940.GA89707@falcon.midgard.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help

> None of these have any relation to polling of the network interfaces as
> described in the polling(4) manpage.  
> The only connection between poll(2) and polling(4) is that they have similar
> names.
> 
> 
> So, to answer your question: No, you do not need to have polling enabled in
> order to use kqueue.
> 

thanks for the quick response...

Since it appears that polling is meant to help out 
performance/scalability, would enabling polling in a system using kqueue 
possibly provide addition benefits than not use polling in a (SMP) 
system using kqueue??

Also, it appears that polling is just something that needs to be turned 
on.  i.e. the application does not need to make API calls to take 
advantage of polling.  Is this true??

thanks, ke han



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4360C029.8050906>