All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] kernelshark to check the CPU usage of the xenomai task.
@ 2018-09-19  8:02 박재호
  2018-09-24 13:16 ` Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: 박재호 @ 2018-09-19  8:02 UTC (permalink / raw)
  To: xenomai

Hi, all



I'm using kernelshark to check the CPU usage of the xenomai task.



To check the cpu share of the xenomai task according to the cpu load given by Linux.

Using the stress-ng tool on Linux .

"# stress-ng -c0 -l100" 

gives 100% load to cpu, and xenomai has a run time of 750us for 1ms cycle.



Checking /proc/xenomai/stat we were able to verify the use of 75% CPU. 

However, I checked the cpu quota of xenomai and linux(stress-ng) using tracd-cmd and kernelshark 

I expected xenomai to use more cpu because its priority was higher than normal Linux, but the result was not so. 

The task that is "ecat-embedded" in the picture is the xenomai task. Why are these results coming out?



thank you for your advice.


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

end of thread, other threads:[~2018-09-24 13:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-19  8:02 [Xenomai] kernelshark to check the CPU usage of the xenomai task 박재호
2018-09-24 13:16 ` Jan Kiszka

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.