[lkml]   [2008]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRE: Higer latency with dynamic tick (need for an io-ondemand govenor?)
"Andi Kleen" <> writes:
> Are you talking about x86?


> On older x86 this effect should have been handled by the C state
> algorithm taking the bus master activity register into account (which
> should also trigger for interrupts)

Well, today we still do use the bus master hook for ARM. In my terms it is an 'OCP bus initiator' not master. But it is logically the same.

If some device is actively pushing data on the bus, this will limit a C-State's choice. In our hardware if you are using the 'hw-auto' features you won't hit the state anyway even if you try as hw-activity figures into some automatic state machines. However, the cost of context savings for some of the states is high enough that it is still worth the bus-master activity check. You want to avoid unnecessary context stacking if you are not going to hit the state.

> But I think the register has been nop'ed on newer platforms
> so indeed we'll need some way to handle this.

The activity is still useful. Not sure about the underlying X86 hardware implementation. For me it's just exporting some activity for masters & slaves as seen by the interconnect.

Richard W.

 \ /
  Last update: 2008-04-20 16:25    [W:0.064 / U:2.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site