Re: [PATCH 1/1] SGI X86 UV: Provide a System Activity Indicator driver

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mike Travis
Date: Friday, October 24, 2008 - 3:18 pm

Andi Kleen wrote:

Cool, thanks!  I rewrote the patch to use current->pid, removing the
idle callback.

On ia64 the activity indicator was kept up to date by modifying the
register state every time the cpu went into and out of idle.  Ingo
thought this was excessive I/O overhead and since then, I've learned
that the UV system has a FIFO for these registers.  So flipping the
bit every time we changed idle state would quickly fill the FIFO and
wouldn't be keeping in sync with the companion bit which indicates
that the cpu is interruptible.

So the hw group decided that having a once per second indicator, even
if it's only a very narrow (instant) sampling period, would meet their 
requirements.

Thanks!
Mike
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/1] SGI X86 UV: Provide a System Activity Indi ..., Mike Travis, (Fri Oct 24, 3:18 pm)
[PATCH 1/1] SGI x86 UV: Use raw_smp_processor_id, Mike Travis, (Mon Oct 27, 11:46 am)