lkml.org 
[lkml]   [2014]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] powernow-k6: disable cache when changing frequency


On Fri, 3 Jan 2014, Viresh Kumar wrote:

> On 2 January 2014 23:08, Mikulas Patocka <mpatocka@redhat.com> wrote:
> > Flushing the cache and changing frequency takes approximatelly 500us. The
> > patch increases policy->cpuinfo.transition_latency to that value.
>
> Its not about how fast caches get cleaned but how much time would
> be wasted to get them filled again as same data could be required again
> which is just flushed out. That would impact performance more than
> flushing caches.

I didn't see any performance degradation when I tried changing the
frequency manually with or without the cache flush patch - the overhead of
running cpufreq (8ms) is far worse than the frequency transition itself.

Mikulas


\
 
 \ /
  Last update: 2014-01-06 22:01    [W:0.061 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site