Re: Event based scheduling and USB.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alexander Motin
Date: Friday, October 29, 2010 - 1:44 pm

Alexander Motin wrote:

I've easily reproduced the problem. Scheduler tracing shows that problem
is the result of aliasing between "swi4: clock" thread on one CPU
(measuring load average) and "irq21: hpet0 uhci1" thread on another.
Those two events are aliased by definition due to shared interrupt
source. Not sure what to do with it. Either we should change algorithm
of load average calculation or exclude timer's interrupt threads from
load average accounting. Adding interrupt filter for USB also reasonably
helps, but it is only a partial solution for this specific sharing case.

-- 
Alexander Motin
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Event based scheduling and USB., Takanori Watanabe, (Tue Oct 26, 12:04 pm)
Re: Event based scheduling and USB., Alexander Motin, (Tue Oct 26, 12:57 pm)
Re: Event based scheduling and USB., Nate Lawson, (Tue Oct 26, 3:44 pm)
Re: Event based scheduling and USB., Hans Petter Selasky, (Wed Oct 27, 12:14 am)
Re: Event based scheduling and USB., Alexander Leidinger, (Wed Oct 27, 12:58 am)
Re: Event based scheduling and USB., Alexander Motin, (Wed Oct 27, 1:14 am)
Re: Event based scheduling and USB., Hans Petter Selasky, (Wed Oct 27, 1:50 am)
Re: Event based scheduling and USB., Alexander Motin, (Fri Oct 29, 1:44 pm)