Hello,
I'm wondering if there is a way to get thread CPU utilization info for Fiasco.OC kernel in Genode.
Best regards, Jilong
-- Jilong Kuang Ph.D. | Samsung Research America - Silicon Valley (SRA-SV)
Senior Research Engineer, Computer Science Lab t: 408-544-2705 c: 951-318-2995 jilong.kuang@...60...mailto:jilong.kuang@...60...
Please consider the environment before printing this email.
This message is intended only for the named recipient(s) above and may contain confidential or privileged information or protected attorney work product. If you are not the intended recipient, any review, dissemination, distribution or copying is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this message and its attachments from your computer and dispose of all other copies or printouts. Thank you.
Hi,
On 26.11.2013 02:32, Jilong Kuang - SISA wrote:
I’m wondering if there is a way to get thread CPU utilization info for Fiasco.OC kernel in Genode.
we addressed this to some degree already some time ago in an experimental way (see github issue 813 [0], branches issue_813 and issue_813_fancy of my Genode repository).
With the commits you can collect on Fiasoc.OC (x86 and ARM) for each thread and on Nova for each Scheduling Context the elapsed runtime. Additionally the Cpu idle times can be requested. Based on that you may calculate Cpu utilization times.
The commits contain an example run script cpu_monitor.run for easy testing. The issue_813_fancy branch contains and adapted demo.run script so that in launchpad the Cpu utilization of the started process are shown.
Regards,
Alex.
[0] https://github.com/genodelabs/genode/issues/813
Best regards,
Jilong
-- *Jilong Kuang Ph.D. | Samsung Research America – Silicon Valley (SRA-SV)*
Senior Research Engineer, Computer Science Lab t: 408-544-2705 c: 951-318-2995 jilong.kuang@...60... mailto:jilong.kuang@...60...
*P*lease consider the environment before printing this email.
This message is intended only for the named recipient(s) above and may contain confidential or privileged information or protected attorney work product. If you are not the intended recipient, any review, dissemination, distribution or copying is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this message and its attachments from your computer and dispose of all other copies or printouts. Thank you.
Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clk...
Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Hi Jilong,
I’m wondering if there is a way to get thread CPU utilization info for Fiasco.OC kernel in Genode.
if you just want to know the CPU utilization as a tool for guiding optimization efforts, you may find the kernel debugger useful. The thread info display (using the "lp" command, then selecting a thread via cursor keys and pressing return) shows the duration the thread was executed, e.g.:
cpu time: 215.000 ms
To make the retrieval of the consumed time per thread more convenient, there is the following patch by Christian Prochaska. It displays the CPU time directly in the list of present threads ("lp"):
https://github.com/cproc/foc/commit/9edd0eeacdbd7c659c4d8595bf273f16c397d353
Cheers Norman