All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Scheduling timer period Xenomai RPI3
@ 2018-04-18 11:35 Gustav Johansson
  2018-04-18 17:54 ` Philippe Gerum
  0 siblings, 1 reply; 2+ messages in thread
From: Gustav Johansson @ 2018-04-18 11:35 UTC (permalink / raw)
  To: Xenomai@xenomai.org

Hi!


I'm running Xenomai on Raspberry Pi 3 given by: http://www.cs.ru.nl/lab/xenomai/ and I

 have some questions.


Where can I find information on how often the system timer interrupts for scheduling

regarding rt tasks? When using command "dmesg | grep pipe -i" I get :



"[    0.000000] I-pipe, 19.200 MHz clocksource, wrap in 960767920505705 ms
[    0.000000] clocksource ipipe_tsc: mask: 0xffffffffffffffff max_cycles: 0x46d987e47,

max_idle_ns: 440795202767 ns
[    0.000894] Interrupt pipeline (release #9)
[    0.171104] Switched to clocksource ipipe_tsc"


Is the frequency 19.200MHz how often the scheduler will execute?


Regards,

Gustav Johansson

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Xenomai] Scheduling timer period Xenomai RPI3
  2018-04-18 11:35 [Xenomai] Scheduling timer period Xenomai RPI3 Gustav Johansson
@ 2018-04-18 17:54 ` Philippe Gerum
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2018-04-18 17:54 UTC (permalink / raw)
  To: Gustav Johansson, Xenomai@xenomai.org

On 04/18/2018 01:35 PM, Gustav Johansson wrote:
> Hi!
> 
> 
> I'm running Xenomai on Raspberry Pi 3 given by: http://www.cs.ru.nl/lab/xenomai/ and I
> 
>  have some questions.
> 
> 
> Where can I find information on how often the system timer interrupts for scheduling
> 
> regarding rt tasks? When using command "dmesg | grep pipe -i" I get :
> 
> 
> 
> "[    0.000000] I-pipe, 19.200 MHz clocksource, wrap in 960767920505705 ms
> [    0.000000] clocksource ipipe_tsc: mask: 0xffffffffffffffff max_cycles: 0x46d987e47,
> 
> max_idle_ns: 440795202767 ns
> [    0.000894] Interrupt pipeline (release #9)
> [    0.171104] Switched to clocksource ipipe_tsc"
> 
> 
> Is the frequency 19.200MHz how often the scheduler will execute?
> 

19.2Mhz indirectly gives you the resolution of the hardware clock device
Xenomai refers to for determining the current machine time, expressing
timestamps and delays. This is not directly related to the timer device
issuing IRQs.

Xenomai always programs the core timer in oneshot mode with the date of
the next (i.e. closest) event scheduled in the timeline; there is no
periodic rescheduling, only scheduling when needed. If the next event is
due when hell freezes, the scheduler might then be considered as dead code.

-- 
Philippe.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-04-18 17:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-18 11:35 [Xenomai] Scheduling timer period Xenomai RPI3 Gustav Johansson
2018-04-18 17: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.