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

Re: instruction cache throttling



Joerg Sommer <joerg@alea.gnuu.de> wrote:
> 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.

I used this module today and I don't see any difference to the life
without. I use 254 because 255 cause very high cpu load.

Jörg.
-- 
Wenn du nur einen Hammer hast, sieht jedes Problem aus wie ein Nagel.



Reply to: