Blake Jones wrote:
>> Is this new class usable only by ZFS, or is it potentially usable by
>> other kernel tasks as well?  It looks to me like it could be used to
>> make work done by networking squeues and STREAMS service procedures more
>> observable.
> 
> It is potentially usable by other kernel tasks.  There is nothing
> ZFS-specific about the class right now, although it makes some very mild
> assumptions about the characteristics of ZFS' workload (e.g. that it's
> processing many fairly small tasks, rather than a few large ones).
> These assumptions basically just have performance implications, rather
> than correctness ones, and changing them would be fairly straightforward
> -- on the order of adding of a new flag to an interface -- but we didn't
> do so because there were no other current consumers of such
> generalization.

Nifty; thanks!  It sounds like it could end up being quite useful.

> The "zpool-<poolname>" process is created separately from the scheduling
> class.  It allows the CPU time from the ZFS task queues (which are now
> running under SDC) to be more easily observed.

Just curious: is that process created with a non-zero zoneid_t when the
pool is inside a zone?

-- 
James Carlson         42.703N 71.076W         <carlsonj at workingcode.com>

Reply via email to