Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Sep 2005 13:47:36 +0100 (BST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        arch@FreeBSD.org, Gleb Smirnoff <glebius@FreeBSD.org>, net@FreeBSD.org
Subject:   Re: [REVIEW/TEST] polling(4) changes 
Message-ID:  <20050930134526.R71864@fledge.watson.org>
In-Reply-To: <32170.1128084231@critter.freebsd.dk>
References:  <32170.1128084231@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 30 Sep 2005, Poul-Henning Kamp wrote:

> I still think we should stop having this network-centric view of polling 
> and implement _real_ *device* polling, so that other device types can 
> use it as well.

While I agree that we should offer polling to non-network device drivers 
also, I think it's worth observing that the network awareness of our 
current polling code has some interesting advantages.  For one thing, the 
framework itself is aware of the notion of batching and moderating the 
workload as it is aware of the number of mbufs being processes, and knows 
to bound the workload, etc.  We'll need to revisit many of the ideas in 
the current polling implementation (designed largely around 4.x operating 
assumptions) anyway, but I think it's important we understand some of the 
implicit design benefits that are present in the current system as well...

Robert N M Watson



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