From owner-freebsd-questions@FreeBSD.ORG Thu Oct 27 11:55:22 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 646B916A41F for ; Thu, 27 Oct 2005 11:55:22 +0000 (GMT) (envelope-from ke.han@redstarling.com) Received: from smtp101.biz.mail.re2.yahoo.com (smtp101.biz.mail.re2.yahoo.com [68.142.229.215]) by mx1.FreeBSD.org (Postfix) with SMTP id D4C0643D48 for ; Thu, 27 Oct 2005 11:55:21 +0000 (GMT) (envelope-from ke.han@redstarling.com) Received: (qmail 79909 invoked from network); 27 Oct 2005 11:55:21 -0000 Received: from unknown (HELO ?192.168.1.2?) (jhancock@patternware.com@218.79.213.163 with plain) by smtp101.biz.mail.re2.yahoo.com with SMTP; 27 Oct 2005 11:55:20 -0000 Message-ID: <4360C029.8050906@redstarling.com> Date: Thu, 27 Oct 2005 19:55:21 +0800 From: "ke.han" User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Erik Trulsson References: <43609966.8030907@redstarling.com> <20051027091940.GA89707@falcon.midgard.homeip.net> In-Reply-To: <20051027091940.GA89707@falcon.midgard.homeip.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: kqueue and polling ... are they related? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2005 11:55:22 -0000 > 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