[RTEMS Project] #2627: Fix CPU time used for threads on SMP

RTEMS trac trac at rtems.org
Wed Mar 9 21:26:43 UTC 2016


#2627: Fix CPU time used for threads on SMP
-----------------------------+------------------------------
 Reporter:  sebastian.huber  |       Owner:  sebastian.huber
     Type:  defect           |      Status:  new
 Priority:  normal           |   Milestone:  4.12
Component:  cpukit           |     Version:  4.10
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by chrisj):

 Replying to [comment:2 sebastian.huber]:
 > The profiling is optional since it may severely impact the performance
 of the operating system. Some SMP chips are not really well designed and
 offer no processor private access to timer and counter modules. Instead
 you must use on-chip peripheral over the system bus.

 Yes I agree profiling is not a normal user activity and may place extra
 demands on the system. We need to track this variant with buildbot.

 >
 > Adding some counters shouldn't be a big deal, but please create a new
 ticket for this. This ticket is about fixing an existing statistic so that
 it works on SMP.

 Good idea, I will do this.

 > Determining the per-processor idle time is difficult with the global
 fixed priority schedulers if they manage more than one processor and I
 don't think this value is interesting.

 Maybe the stats collected are per scheduler and reflect what is important.

--
Ticket URL: <http://devel.rtems.org/ticket/2627#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list