Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1300462 > unrolled thread
| Started by | Chen Yu <yu.c.chen@intel.com> |
|---|---|
| First post | 2016-01-04 05:20 +0100 |
| Last post | 2016-01-05 13:40 +0100 |
| Articles | 3 — 3 participants |
Back to article view | Back to linux.kernel
[PATCH] cpufreq: ondemand: Set MIN_FREQUENCY_UP_THRESHOLD to 1 Chen Yu <yu.c.chen@intel.com> - 2016-01-04 05:20 +0100
Re: [PATCH] cpufreq: ondemand: Set MIN_FREQUENCY_UP_THRESHOLD to 1 Viresh Kumar <viresh.kumar@linaro.org> - 2016-01-04 07:00 +0100
Re: [PATCH] cpufreq: ondemand: Set MIN_FREQUENCY_UP_THRESHOLD to 1 "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-01-05 13:40 +0100
| From | Chen Yu <yu.c.chen@intel.com> |
|---|---|
| Date | 2016-01-04 05:20 +0100 |
| Subject | [PATCH] cpufreq: ondemand: Set MIN_FREQUENCY_UP_THRESHOLD to 1 |
| Message-ID | <qN4MF-6BA-1@gated-at.bofh.it> |
Currently the minimal up_threshold is 11, and user may want to use a smaller minimal up_threshold for performance tuning, so MIN_FREQUENCY_UP_THRESHOLD could be set to 1 because: 1. Current systems wouldn't be affected as they have already a value >= 11. 2. New systems with a default kernel would keep still the default value that is >= 11. Users now have the advantage that they can make their own decisions and customize the 'trip point' to switch to the max frequency. Link: https://bugzilla.kernel.org/show_bug.cgi?id=65501 Signed-off-by: Chen Yu <yu.c.chen@intel.com> --- drivers/cpufreq/cpufreq_ondemand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/cpufreq_ondemand.c b/drivers/cpufreq/cpufreq_ondemand.c index 03ac6ce..2a093b5 100644 --- a/drivers/cpufreq/cpufreq_ondemand.c +++ b/drivers/cpufreq/cpufreq_ondemand.c @@ -24,7 +24,7 @@ #define MAX_SAMPLING_DOWN_FACTOR (100000) #define MICRO_FREQUENCY_UP_THRESHOLD (95) #define MICRO_FREQUENCY_MIN_SAMPLE_RATE (10000) -#define MIN_FREQUENCY_UP_THRESHOLD (11) +#define MIN_FREQUENCY_UP_THRESHOLD (1) #define MAX_FREQUENCY_UP_THRESHOLD (100) static DEFINE_PER_CPU(struct od_cpu_dbs_info_s, od_cpu_dbs_info); -- 1.8.4.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Viresh Kumar <viresh.kumar@linaro.org> |
|---|---|
| Date | 2016-01-04 07:00 +0100 |
| Message-ID | <qN6ls-7to-1@gated-at.bofh.it> |
| In reply to | #1300462 |
On 04-01-16, 12:14, Chen Yu wrote: > Currently the minimal up_threshold is 11, and user may want to > use a smaller minimal up_threshold for performance tuning, > so MIN_FREQUENCY_UP_THRESHOLD could be set to 1 because: > > 1. Current systems wouldn't be affected as they have already > a value >= 11. > 2. New systems with a default kernel would keep still the default > value that is >= 11. > > Users now have the advantage that they can make their own decisions > and customize the 'trip point' to switch to the max frequency. > > Link: https://bugzilla.kernel.org/show_bug.cgi?id=65501 > Signed-off-by: Chen Yu <yu.c.chen@intel.com> > --- > drivers/cpufreq/cpufreq_ondemand.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/cpufreq/cpufreq_ondemand.c b/drivers/cpufreq/cpufreq_ondemand.c > index 03ac6ce..2a093b5 100644 > --- a/drivers/cpufreq/cpufreq_ondemand.c > +++ b/drivers/cpufreq/cpufreq_ondemand.c > @@ -24,7 +24,7 @@ > #define MAX_SAMPLING_DOWN_FACTOR (100000) > #define MICRO_FREQUENCY_UP_THRESHOLD (95) > #define MICRO_FREQUENCY_MIN_SAMPLE_RATE (10000) > -#define MIN_FREQUENCY_UP_THRESHOLD (11) > +#define MIN_FREQUENCY_UP_THRESHOLD (1) > #define MAX_FREQUENCY_UP_THRESHOLD (100) > > static DEFINE_PER_CPU(struct od_cpu_dbs_info_s, od_cpu_dbs_info); Acked-by: Viresh Kumar <viresh.kumar@linaro.org> -- viresh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | "Rafael J. Wysocki" <rjw@rjwysocki.net> |
|---|---|
| Date | 2016-01-05 13:40 +0100 |
| Message-ID | <qNz48-2Jv-41@gated-at.bofh.it> |
| In reply to | #1300503 |
On Monday, January 04, 2016 11:26:51 AM Viresh Kumar wrote: > On 04-01-16, 12:14, Chen Yu wrote: > > Currently the minimal up_threshold is 11, and user may want to > > use a smaller minimal up_threshold for performance tuning, > > so MIN_FREQUENCY_UP_THRESHOLD could be set to 1 because: > > > > 1. Current systems wouldn't be affected as they have already > > a value >= 11. > > 2. New systems with a default kernel would keep still the default > > value that is >= 11. > > > > Users now have the advantage that they can make their own decisions > > and customize the 'trip point' to switch to the max frequency. > > > > Link: https://bugzilla.kernel.org/show_bug.cgi?id=65501 > > Signed-off-by: Chen Yu <yu.c.chen@intel.com> > > --- > > drivers/cpufreq/cpufreq_ondemand.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/cpufreq/cpufreq_ondemand.c b/drivers/cpufreq/cpufreq_ondemand.c > > index 03ac6ce..2a093b5 100644 > > --- a/drivers/cpufreq/cpufreq_ondemand.c > > +++ b/drivers/cpufreq/cpufreq_ondemand.c > > @@ -24,7 +24,7 @@ > > #define MAX_SAMPLING_DOWN_FACTOR (100000) > > #define MICRO_FREQUENCY_UP_THRESHOLD (95) > > #define MICRO_FREQUENCY_MIN_SAMPLE_RATE (10000) > > -#define MIN_FREQUENCY_UP_THRESHOLD (11) > > +#define MIN_FREQUENCY_UP_THRESHOLD (1) > > #define MAX_FREQUENCY_UP_THRESHOLD (100) > > > > static DEFINE_PER_CPU(struct od_cpu_dbs_info_s, od_cpu_dbs_info); > > Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Applied, thanks! Rafael -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web