On Tue, Sep 16, 2008 at 07:48:00PM +0200, Manfred Spraul wrote:
Good point!
Indeed, if you had a 1024-CPU box acting as (say) a router/hub using
the Linux-kernel protocol stacks with no user-mode processing, then
you could indeed have the system mostly busy with no user-space code
running, and thus no quiescent states.
However, last I checked, almost all 1024-CPU boxes run HPC workloads
mostly in user mode, so this scenario would not occur. However, again,
if it does come up, I would add an additional level of state machine
to the force_quiescent_state() family of functions, so that the scan
would be done incrementally. Perhaps arranging for CPU groups to be
scanned by CPUs within that group.
But again, I don't want to take that step until I see someone actually
needing it. Maybe the Vyatta guys will be there sooner than I think,
but...
Thanx, Paul
--