docs: Make note for the scheduler "cap" option warning about power management effects
PATCH 1/1 docs: Make note for the scheduler "cap" option warning about power management effects
--- docs/man/xl.cfg.pod.5 | 13 +++++++++++++ docs/man/xl.pod.1 | 13 +++++++++++++ docs/man/xm.pod.1 | 13 +++++++++++++ 3 files changed, 39 insertions(+)
docs/man/xl.cfg.pod.5 +13 -0
@@ -153,6 +153,19 @@ The cap is expressed in percentage of one physical CPU: The default, 0, means there is no upper cap. Honoured by the credit and credit2 schedulers. +NB: Many systems have features that will scale down the computing +power of a cpu that is not 100% utilized. This can be in the +operating system, but can also sometimes be below the operating system +in the BIOS. If you set a cap such that individual cores are running +at less than 100%, this may have an impact on the performance of your +workload over and above the impact of the cap. For example, if your +processor runs at 2GHz, and you cap a vm at 50%, the power management +system may also reduce the clock speed to 1GHz; the effect will be +that your VM gets 25% of the available power (50% of 1GHz) rather than +50% (50% of 2GHz). If you are not getting the performance you expect, +look at performance and cpufreq options in your operating system and +your BIOS. + =item B<period=NANOSECONDS> The normal EDF scheduling usage in nanoseconds. This means every period
docs/man/xl.pod.1 +13 -0
@@ -848,6 +848,19 @@ is expressed in percentage of one physical CPU: 100 is 1 physical CPU, 50 is half a CPU, 400 is 4 CPUs, etc. The default, 0, means there is no upper cap. +NB: Many systems have features that will scale down the computing +power of a cpu that is not 100% utilized. This can be in the +operating system, but can also sometimes be below the operating system +in the BIOS. If you set a cap such that individual cores are running +at less than 100%, this may have an impact on the performance of your +workload over and above the impact of the cap. For example, if your +processor runs at 2GHz, and you cap a vm at 50%, the power management +system may also reduce the clock speed to 1GHz; the effect will be +that your VM gets 25% of the available power (50% of 1GHz) rather than +50% (50% of 2GHz). If you are not getting the performance you expect, +look at performance and cpufreq options in your operating system and +your BIOS. + =item B<-p CPUPOOL>, B<--cpupool=CPUPOOL> Restrict output to domains in the specified cpupool.
docs/man/xm.pod.1 +13 -0
@@ -767,6 +767,19 @@ is expressed in percentage of one physical CPU: 100 is 1 physical CPU, 50 is half a CPU, 400 is 4 CPUs, etc. The default, 0, means there is no upper cap. +NB: Many systems have features that will scale down the computing +power of a cpu that is not 100% utilized. This can be in the +operating system, but can also sometimes be below the operating system +in the BIOS. If you set a cap such that individual cores are running +at less than 100%, this may have an impact on the performance of your +workload over and above the impact of the cap. For example, if your +processor runs at 2GHz, and you cap a vm at 50%, the power management +system may also reduce the clock speed to 1GHz; the effect will be +that your VM gets 25% of the available power (50% of 1GHz) rather than +50% (50% of 2GHz). If you are not getting the performance you expect, +look at performance and cpufreq options in your operating system and +your BIOS. + =back =item B<sched-sedf> I<period> I<slice> I<latency-hint> I<extratime> I<weight>
Signature · 1 line
1.7.9.5
Thanks.
I was expecting that this warning appears somewhere here:
http://wiki.xen.org/wiki/Credit_Scheduler#Cap
but I did not find it.
M
Quoted 83 lines · George Dunlap
Suggested-by Massimo Canonico <[email protected]>Signed-off-by George Dunlap <[email protected]>CC Ian Campbell <[email protected]>CC Ian Jackson <[email protected]>CC Massimo Canonico <[email protected]>--- docs/man/xl.cfg.pod.5 | 13 +++++++++++++ docs/man/xl.pod.1 | 13 +++++++++++++ docs/man/xm.pod.1 | 13 +++++++++++++ 3 files changed, 39 insertions(+)docs/man/xl.cfg.pod.5 +13
-0@@ -153,6 +153,19 @@ The cap is expressed in percentage of one physical CPU: The default, 0, means there is no upper cap. Honoured by the credit and credit2 schedulers. +NB: Many systems have features that will scale down the computing +power of a cpu that is not 100% utilized. This can be in the +operating system, but can also sometimes be below the operating system +in the BIOS. If you set a cap such that individual cores are running +at less than 100%, this may have an impact on the performance of your +workload over and above the impact of the cap. For example, if your +processor runs at 2GHz, and you cap a vm at 50%, the power management +system may also reduce the clock speed to 1GHz; the effect will be +that your VM gets 25% of the available power (50% of 1GHz) rather than +50% (50% of 2GHz). If you are not getting the performance you expect, +look at performance and cpufreq options in your operating system and +your BIOS. + =item B<period=NANOSECONDS> The normal EDF scheduling usage in nanoseconds. This means every perioddocs/man/xl.pod.1 +13
-0@@ -848,6 +848,19 @@ is expressed in percentage of one physical CPU: 100 is 1 physical CPU, 50 is half a CPU, 400 is 4 CPUs, etc. The default, 0, means there is no upper cap. +NB: Many systems have features that will scale down the computing +power of a cpu that is not 100% utilized. This can be in the +operating system, but can also sometimes be below the operating system +in the BIOS. If you set a cap such that individual cores are running +at less than 100%, this may have an impact on the performance of your +workload over and above the impact of the cap. For example, if your +processor runs at 2GHz, and you cap a vm at 50%, the power management +system may also reduce the clock speed to 1GHz; the effect will be +that your VM gets 25% of the available power (50% of 1GHz) rather than +50% (50% of 2GHz). If you are not getting the performance you expect, +look at performance and cpufreq options in your operating system and +your BIOS. + =item B<-p CPUPOOL>, B<--cpupool=CPUPOOL> Restrict output to domains in the specified cpupool.docs/man/xm.pod.1 +13
-0@@ -767,6 +767,19 @@ is expressed in percentage of one physical CPU: 100 is 1 physical CPU, 50 is half a CPU, 400 is 4 CPUs, etc. The default, 0, means there is no upper cap. +NB: Many systems have features that will scale down the computing +power of a cpu that is not 100% utilized. This can be in the +operating system, but can also sometimes be below the operating system +in the BIOS. If you set a cap such that individual cores are running +at less than 100%, this may have an impact on the performance of your +workload over and above the impact of the cap. For example, if your +processor runs at 2GHz, and you cap a vm at 50%, the power management +system may also reduce the clock speed to 1GHz; the effect will be +that your VM gets 25% of the available power (50% of 1GHz) rather than +50% (50% of 2GHz). If you are not getting the performance you expect, +look at performance and cpufreq options in your operating system and +your BIOS. + =back =item B<sched-sedf> I<period> I<slice> I<latency-hint> I<extratime> I<weight>
Quoted 6 lines · Massimo Canonico
Thanks.
I was expecting that this warning appears somewhere here:
http://wiki.xen.org/wiki/Credit_Scheduler#Capbut I did not find it.
I just added it there too.
Regards,
Dario
Signature · 4 lines
<<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 6 lines · George Dunlap
Suggested-by Massimo Canonico <[email protected]>Signed-off-by George Dunlap <[email protected]>CC Ian Campbell <[email protected]>CC Ian Jackson <[email protected]>CC Massimo Canonico <[email protected]>
Quoted 18 lines
--- docs/man/xl.cfg.pod.5 | 13 +++++++++++++ docs/man/xl.pod.1 | 13 +++++++++++++ docs/man/xm.pod.1 | 13 +++++++++++++ 3 files changed, 39 insertions(+)docs/man/xl.cfg.pod.5 +4
-0@@ -153,6 +153,19 @@ The cap is expressed in percentage of one physical CPU: The default, 0, means there is no upper cap. Honoured by the credit and credit2 schedulers. +NB: Many systems have features that will scale down the computing +power of a cpu that is not 100% utilized. This can be in the +operating system, but can also sometimes be below the operating system +in the BIOS. If you set a cap such that individual cores are running
docs/man/xl.cfg.pod.5 The cap is expressed in percentage of one physical CPU: · line 169
Quoted 10 lines
docs/man/xl.cfg.pod.5 +9
-0+at less than 100%, this may have an impact on the performance of your +workload over and above the impact of the cap. For example, if your +processor runs at 2GHz, and you cap a vm at 50%, the power management +system may also reduce the clock speed to 1GHz; the effect will be +that your VM gets 25% of the available power (50% of 1GHz) rather than +50% (50% of 2GHz). If you are not getting the performance you expect, +look at performance and cpufreq options in your operating system and +your BIOS. +
I'd have been less 'politically correct' toward BIOSes, but I guess that's me! :-P
Regards,
Dario
Signature · 4 lines
<<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 5 lines · George Dunlap
Suggested-by Massimo Canonico <[email protected]>Signed-off-by George Dunlap <[email protected]>CC Ian Campbell <[email protected]>CC Ian Jackson <[email protected]>CC Massimo Canonico <[email protected]>
Seems a bit repetitive but Acked + applied (with Dario's reviewed-by too)
Quoted 10 lines · Ian Campbell
Quoted 5 lines · George Dunlap
Suggested-by Massimo Canonico <[email protected]>Signed-off-by George Dunlap <[email protected]>CC Ian Campbell <[email protected]>CC Ian Jackson <[email protected]>CC Massimo Canonico <[email protected]>Seems a bit repetitive but Acked + applied (with Dario's reviewed-by too)
I suppose it is but, given how weird the BIOSes might behave with respect to this, and looking at how much time it took to track down an issue that this was causing (compared to what the issue really was!)... Well, better state it a couple of times than leave _any_ room for people not noticing it! :-P
Thanks,
Dario
Signature · 4 lines
<<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 21 lines · George Dunlap
Suggested-by Massimo Canonico <[email protected]>Signed-off-by George Dunlap <[email protected]>CC Ian Campbell <[email protected]>CC Ian Jackson <[email protected]>CC Massimo Canonico <[email protected]>--- docs/man/xl.cfg.pod.5 | 13 +++++++++++++ docs/man/xl.pod.1 | 13 +++++++++++++ docs/man/xm.pod.1 | 13 +++++++++++++ 3 files changed, 39 insertions(+)docs/man/xl.cfg.pod.5 +2
-0@@ -153,6 +153,19 @@ The cap is expressed in percentage of one physical CPU: The default, 0, means there is no upper cap. Honoured by the credit and credit2 schedulers. +NB: Many systems have features that will scale down the computing +power of a cpu that is not 100% utilized. This can be in the
docs/man/xl.cfg.pod.5 The cap is expressed in percentage of one physical CPU: · line 167
Quoted 10 lines
docs/man/xl.cfg.pod.5 +10
-0+operating system, but can also sometimes be below the operating system +in the BIOS. If you set a cap such that individual cores are running +at less than 100%, this may have an impact on the performance of your +workload over and above the impact of the cap. For example, if your +processor runs at 2GHz, and you cap a vm at 50%, the power management +system may also reduce the clock speed to 1GHz; the effect will be +that your VM gets 25% of the available power (50% of 1GHz) rather than +50% (50% of 2GHz). If you are not getting the performance you expect, +look at performance and cpufreq options in your operating system and +your BIOS.
Or .. use 'cpufreq=xen:performance' ?
That should set it to the highest P state.
Quoted 61 lines
docs/man/xl.cfg.pod.5 +1
-0+ =item B<period=NANOSECONDS> The normal EDF scheduling usage in nanoseconds. This means every perioddocs/man/xl.pod.1 +13
-0@@ -848,6 +848,19 @@ is expressed in percentage of one physical CPU: 100 is 1 physical CPU, 50 is half a CPU, 400 is 4 CPUs, etc. The default, 0, means there is no upper cap. +NB: Many systems have features that will scale down the computing +power of a cpu that is not 100% utilized. This can be in the +operating system, but can also sometimes be below the operating system +in the BIOS. If you set a cap such that individual cores are running +at less than 100%, this may have an impact on the performance of your +workload over and above the impact of the cap. For example, if your +processor runs at 2GHz, and you cap a vm at 50%, the power management +system may also reduce the clock speed to 1GHz; the effect will be +that your VM gets 25% of the available power (50% of 1GHz) rather than +50% (50% of 2GHz). If you are not getting the performance you expect, +look at performance and cpufreq options in your operating system and +your BIOS. + =item B<-p CPUPOOL>, B<--cpupool=CPUPOOL> Restrict output to domains in the specified cpupool.docs/man/xm.pod.1 +13
-0@@ -767,6 +767,19 @@ is expressed in percentage of one physical CPU: 100 is 1 physical CPU, 50 is half a CPU, 400 is 4 CPUs, etc. The default, 0, means there is no upper cap. +NB: Many systems have features that will scale down the computing +power of a cpu that is not 100% utilized. This can be in the +operating system, but can also sometimes be below the operating system +in the BIOS. If you set a cap such that individual cores are running +at less than 100%, this may have an impact on the performance of your +workload over and above the impact of the cap. For example, if your +processor runs at 2GHz, and you cap a vm at 50%, the power management +system may also reduce the clock speed to 1GHz; the effect will be +that your VM gets 25% of the available power (50% of 1GHz) rather than +50% (50% of 2GHz). If you are not getting the performance you expect, +look at performance and cpufreq options in your operating system and +your BIOS. + =back =item B<sched-sedf> I<period> I<slice> I<latency-hint> I<extratime> I<weight>Signature · 7 lines
1.7.9.5 _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
Quoted 15 lines · Konrad Rzeszutek Wilk
docs/man/xl.cfg.pod.5 The cap is expressed in percentage of one physical CPU: · line 167
Quoted 12 lines
docs/man/xl.cfg.pod.5 +12
-0+NB: Many systems have features that will scale down the computing +power of a cpu that is not 100% utilized. This can be in the +operating system, but can also sometimes be below the operating system +in the BIOS. If you set a cap such that individual cores are running +at less than 100%, this may have an impact on the performance of your +workload over and above the impact of the cap. For example, if your +processor runs at 2GHz, and you cap a vm at 50%, the power management +system may also reduce the clock speed to 1GHz; the effect will be +that your VM gets 25% of the available power (50% of 1GHz) rather than +50% (50% of 2GHz). If you are not getting the performance you expect, +look at performance and cpufreq options in your operating system and +your BIOS.Or .. use 'cpufreq=xen:performance' ?
Quoted 1 line
That should set it to the highest P state.
I committed this already. Assuming this is a good suggestion can we get an incremental patch please.
Quoted 16 lines · Ian Campbell
Quoted 14 lines · Konrad Rzeszutek Wilk
docs/man/xl.cfg.pod.5 The cap is expressed in percentage of one physical CPU: · line 167
Quoted 12 lines
docs/man/xl.cfg.pod.5 +12
-0+NB: Many systems have features that will scale down the computing +power of a cpu that is not 100% utilized. This can be in the +operating system, but can also sometimes be below the operating system +in the BIOS. If you set a cap such that individual cores are running +at less than 100%, this may have an impact on the performance of your +workload over and above the impact of the cap. For example, if your +processor runs at 2GHz, and you cap a vm at 50%, the power management +system may also reduce the clock speed to 1GHz; the effect will be +that your VM gets 25% of the available power (50% of 1GHz) rather than +50% (50% of 2GHz). If you are not getting the performance you expect, +look at performance and cpufreq options in your operating system and +your BIOS.Or .. use 'cpufreq=xen:performance' ?
Quoted 3 lines
Quoted 1 line
That should set it to the highest P state.
I committed this already. Assuming this is a good suggestion can we get an incremental patch please.
Might that kind of thing be better on the wiki page?
-George
Quoted 17 lines · George Dunlap
Quoted 16 lines · Ian Campbell
Quoted 14 lines · Konrad Rzeszutek Wilk
docs/man/xl.cfg.pod.5 The cap is expressed in percentage of one physical CPU: · line 167
Quoted 12 lines
docs/man/xl.cfg.pod.5 +12
-0+NB: Many systems have features that will scale down the computing +power of a cpu that is not 100% utilized. This can be in the +operating system, but can also sometimes be below the operating system +in the BIOS. If you set a cap such that individual cores are running +at less than 100%, this may have an impact on the performance of your +workload over and above the impact of the cap. For example, if your +processor runs at 2GHz, and you cap a vm at 50%, the power management +system may also reduce the clock speed to 1GHz; the effect will be +that your VM gets 25% of the available power (50% of 1GHz) rather than +50% (50% of 2GHz). If you are not getting the performance you expect, +look at performance and cpufreq options in your operating system and +your BIOS.Or .. use 'cpufreq=xen:performance' ?
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
That should set it to the highest P state.
I committed this already. Assuming this is a good suggestion can we get an incremental patch please.
Might that kind of thing be better on the wiki page?
Perhaps. But since the docs talk about 'your operating system and your BIOS' I figured it should also mention how to configure Xen to pretty much ignore any P-states and just sit at P0 all the time.