* [Xenomai] intel turbo boost @ 2015-09-03 7:00 Stéphane ANCELOT 2015-11-04 0:30 ` Gilles Chanteperdrix 0 siblings, 1 reply; 5+ messages in thread From: Stéphane ANCELOT @ 2015-09-03 7:00 UTC (permalink / raw) To: xenomai@xenomai.org Hi, Do you think I can use the Intel integrated turbo boost mode, without problems. I have this nice processor : http://ark.intel.com/fr/products/76308/Intel-Core-i5-4300U-Processor-3M-Cache-up-to-2_90-GHz Regards, S.Ancelto ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xenomai] intel turbo boost 2015-09-03 7:00 [Xenomai] intel turbo boost Stéphane ANCELOT @ 2015-11-04 0:30 ` Gilles Chanteperdrix 2015-11-08 11:26 ` Gilles Chanteperdrix 0 siblings, 1 reply; 5+ messages in thread From: Gilles Chanteperdrix @ 2015-11-04 0:30 UTC (permalink / raw) To: Stéphane ANCELOT; +Cc: xenomai@xenomai.org On Thu, Sep 03, 2015 at 09:00:36AM +0200, Stéphane ANCELOT wrote: > Hi, > > Do you think I can use the Intel integrated turbo boost mode, without > problems. > > I have this nice processor : > http://ark.intel.com/fr/products/76308/Intel-Core-i5-4300U-Processor-3M-Cache-up-to-2_90-GHz Just experimented this, the turbo mode is a problem for applications which rely on a precise relation between the actual count of cpu cycles of a busy loop and the time. The sched_quota falls under that category and simply does not work reliably when turbo mode is enabled. Fortunately, it is possible to turn off turbo mode. For that, in the kernel configuration - enable CPU_FREQ - choose performance mode by default - enable intel pstate driver - echo 1 > /sys/devices/system/cpu/intel_pstate/no_turbo Other than that, turbo mode does not seem to break the latency, which would mean that the tsc frequency does not change with turbo mode. -- Gilles. https://click-hack.org ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xenomai] intel turbo boost 2015-11-04 0:30 ` Gilles Chanteperdrix @ 2015-11-08 11:26 ` Gilles Chanteperdrix 2015-11-12 8:20 ` Stéphane ANCELOT 0 siblings, 1 reply; 5+ messages in thread From: Gilles Chanteperdrix @ 2015-11-08 11:26 UTC (permalink / raw) To: Stéphane ANCELOT; +Cc: xenomai@xenomai.org On Wed, Nov 04, 2015 at 01:30:32AM +0100, Gilles Chanteperdrix wrote: > On Thu, Sep 03, 2015 at 09:00:36AM +0200, Stéphane ANCELOT wrote: > > Hi, > > > > Do you think I can use the Intel integrated turbo boost mode, without > > problems. > > > > I have this nice processor : > > http://ark.intel.com/fr/products/76308/Intel-Core-i5-4300U-Processor-3M-Cache-up-to-2_90-GHz > > Just experimented this, the turbo mode is a problem for applications > which rely on a precise relation between the actual count of cpu > cycles of a busy loop and the time. The sched_quota falls under that > category and simply does not work reliably when turbo mode is > enabled. Fortunately, it is possible to turn off turbo mode. For > that, in the kernel configuration > - enable CPU_FREQ > - choose performance mode by default > - enable intel pstate driver > - echo 1 > /sys/devices/system/cpu/intel_pstate/no_turbo > > Other than that, turbo mode does not seem to break the latency, > which would mean that the tsc frequency does not change with turbo > mode. Turbo mode also breaks the autotune feature. So, on a machine with turbo mode, autotune should be triggered after writing to the /proc file. -- Gilles. https://click-hack.org ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xenomai] intel turbo boost 2015-11-08 11:26 ` Gilles Chanteperdrix @ 2015-11-12 8:20 ` Stéphane ANCELOT 2015-11-12 9:54 ` Philippe Gerum 0 siblings, 1 reply; 5+ messages in thread From: Stéphane ANCELOT @ 2015-11-12 8:20 UTC (permalink / raw) To: Gilles Chanteperdrix; +Cc: xenomai@xenomai.org On 08/11/2015 12:26, Gilles Chanteperdrix wrote: > On Wed, Nov 04, 2015 at 01:30:32AM +0100, Gilles Chanteperdrix wrote: >> On Thu, Sep 03, 2015 at 09:00:36AM +0200, Stéphane ANCELOT wrote: >>> Hi, >>> >>> Do you think I can use the Intel integrated turbo boost mode, without >>> problems. >>> >>> I have this nice processor : >>> http://ark.intel.com/fr/products/76308/Intel-Core-i5-4300U-Processor-3M-Cache-up-to-2_90-GHz >> Just experimented this, the turbo mode is a problem for applications >> which rely on a precise relation between the actual count of cpu >> cycles of a busy loop and the time. The sched_quota falls under that >> category and simply does not work reliably when turbo mode is >> enabled. Fortunately, it is possible to turn off turbo mode. For >> that, in the kernel configuration >> - enable CPU_FREQ >> - choose performance mode by default >> - enable intel pstate driver >> - echo 1 > /sys/devices/system/cpu/intel_pstate/no_turbo >> >> Other than that, turbo mode does not seem to break the latency, >> which would mean that the tsc frequency does not change with turbo >> mode. > Turbo mode also breaks the autotune feature. So, on a machine with > turbo mode, autotune should be triggered after writing to the /proc > file. > Hi, You can disable turbo mode, in bios cpu settings . Writting to the no_turbo file is not permitted, but equals 1. How do you trig autotune ? Regards, Steph ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Xenomai] intel turbo boost 2015-11-12 8:20 ` Stéphane ANCELOT @ 2015-11-12 9:54 ` Philippe Gerum 0 siblings, 0 replies; 5+ messages in thread From: Philippe Gerum @ 2015-11-12 9:54 UTC (permalink / raw) To: Stéphane ANCELOT, Gilles Chanteperdrix; +Cc: xenomai@xenomai.org On 11/12/2015 09:20 AM, Stéphane ANCELOT wrote: > On 08/11/2015 12:26, Gilles Chanteperdrix wrote: >> On Wed, Nov 04, 2015 at 01:30:32AM +0100, Gilles Chanteperdrix wrote: >>> On Thu, Sep 03, 2015 at 09:00:36AM +0200, Stéphane ANCELOT wrote: >>>> Hi, >>>> >>>> Do you think I can use the Intel integrated turbo boost mode, without >>>> problems. >>>> >>>> I have this nice processor : >>>> http://ark.intel.com/fr/products/76308/Intel-Core-i5-4300U-Processor-3M-Cache-up-to-2_90-GHz >>>> >>> Just experimented this, the turbo mode is a problem for applications >>> which rely on a precise relation between the actual count of cpu >>> cycles of a busy loop and the time. The sched_quota falls under that >>> category and simply does not work reliably when turbo mode is >>> enabled. Fortunately, it is possible to turn off turbo mode. For >>> that, in the kernel configuration >>> - enable CPU_FREQ >>> - choose performance mode by default >>> - enable intel pstate driver >>> - echo 1 > /sys/devices/system/cpu/intel_pstate/no_turbo >>> >>> Other than that, turbo mode does not seem to break the latency, >>> which would mean that the tsc frequency does not change with turbo >>> mode. >> Turbo mode also breaks the autotune feature. So, on a machine with >> turbo mode, autotune should be triggered after writing to the /proc >> file. >> > Hi, > You can disable turbo mode, in bios cpu settings . Writting to the > no_turbo file is not permitted, but equals 1. > How do you trig autotune ? http://www.xenomai.org/documentation/xenomai-3/html/man1/autotune/index.html The calibration obtained might be conservative in some cases, autotune is aimed at suggesting sane and efficient values. You can still refine the results via the /proc/xenomai/clock/coreclk interface if need be. -- Philippe. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-11-12 9:54 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-09-03 7:00 [Xenomai] intel turbo boost Stéphane ANCELOT 2015-11-04 0:30 ` Gilles Chanteperdrix 2015-11-08 11:26 ` Gilles Chanteperdrix 2015-11-12 8:20 ` Stéphane ANCELOT 2015-11-12 9:54 ` Philippe Gerum
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.