[REVIEW/TEST] polling(4) changes
Robert Watson
rwatson at FreeBSD.org
Fri Sep 30 05:47:37 PDT 2005
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
More information about the freebsd-arch
mailing list