[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: instruction cache throttling



Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
>
>> Do you mean the powersave governor should controll this register too?
>> 
>> > I'm interested to discuss this more. I have been wanting this feature for a
>> > while; and even have written some code for it a couple of times, but I tend to
>> > get distracted too easily when it comes to hobby code.
>> 
>> Is your code anywher available?
>
> I would suggest you first write some kind of hack to control it via
> sysfs or /proc and do some measurements to see if there is any real
> benefit in throttling...

Here is the hack http://www.minet.uni-jena.de/~joergs/ictc/. I don't know
if its correct, but it doesn't make the kernel oops.

Jörg.

-- 
Professor: "Gott", unverständliches und mythisches Wesen, das sich einmal
  pro Woche im Kreis der Sterblichen manifestiert um Weisheit auf Folien
  unter das Volk zu bringen.		(Dschungelbuch 11, FSU Jena)



Reply to: