Re: [PATCH] intel_pstate: track and export frequency residency stats via sysfs.

From: Viresh Kumar
Date: Wed Sep 10 2014 - 02:49:56 EST


On 10 September 2014 05:01, Anup Chenthamarakshan <anupc@xxxxxxxxxxxx> wrote:
> Here's a comparison of time taken to run intel_pstate_set_pstate() using
> different approaches:
> average time for a transition
> no stats 4.7us
> intel_pstate-stats 5.7us
> direct call to cpufreq_stat_notifier_trans 8.1us
> cpufreq-notifier-event 10.6us
>
>
> I was wrong about the 5x increase (got tripped by calls to
> intel_pstate_set_pstate where no change in P-state actually happened)

Okay, lets see if this is the right thing to do or not first. So
finish your discussion with
Dirk and then we will see what's the best way to do it.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/