Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPU utilization calculation and Idle task #290

Closed
skliper opened this issue Sep 30, 2019 · 3 comments · Fixed by nasa/PSP#397
Closed

CPU utilization calculation and Idle task #290

skliper opened this issue Sep 30, 2019 · 3 comments · Fixed by nasa/PSP#397
Milestone

Comments

@skliper
Copy link
Contributor

skliper commented Sep 30, 2019

CPU utilization is currently calculated using an idle task. This can waste power and prevents the processor(s) from entering sleep or other power management states. As part of the SMP implementation this issue should also be addressed.

@skliper skliper added this to the 6.8.0 milestone Sep 30, 2019
@skliper
Copy link
Contributor Author

skliper commented Sep 30, 2019

Imported from trac issue 259. Created by jwilmot on 2018-11-27T12:55:23, last modified: 2019-07-03T12:58:32

@skliper skliper self-assigned this Sep 30, 2019
@skliper
Copy link
Contributor Author

skliper commented Sep 30, 2019

Trac comment by jhageman on 2019-05-28 14:55:16:

Note Shiraz implementation for PACE:

The CPU usage task (CU) is running on the IPLEON processor which is running RTEMS as the OS. RTEMS has a shell command ‘cpuusage’ which dumps all the CPU statistics to the terminal window.
Details of this command can be found at this link
https://docs.rtems.org/branches/master/c-user/cpu_usage_statistics.html
The CU task was just invoking this function at each 1 Hz wakeup and populating the data into the telemetry packet.

Total CPU utilization is calculated as 100.0 % – (Idle task CPU utilization %)

They are not actively managing power via the idle task (low power sleep mode).

@skliper
Copy link
Contributor Author

skliper commented Sep 30, 2019

Trac comment by jhageman on 2019-07-03 12:58:32:

Moved unfinished 6.7.0 tickets to next release

@skliper skliper removed their assignment Sep 30, 2019
@skliper skliper removed this from the 6.8.0 milestone Feb 26, 2020
@dzbaker dzbaker added this to the Equuleus milestone Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants