Re: userspace irq balancer

Dave Jones
2003-05-27T01:02:41Z

On Tue, May 27, 2003 at 03:09:03AM +0200, Andrea Arcangeli wrote:

> > So I'm asking you, again, how are you going to measure softirq load in
> > making hardware IRQ load balancing decisions? Watching the scheduling
>
> rdtsc could do it very well, irqs and softirqs can't be rescheduled so
> you can tick measure how long you take in each cpu

On CPUs that vary frequency, this will break, unless TSC scales
with frequency. You cannot assume that this will be the case.

Dave