PCR 10179 - Support round robin scheduling
Summary: Support round robin scheduling
Status: NEW
Alias: None
Product: Kernel
Classification: Deos
Component: Kernel (show other PCRs)
Version: multi-core
Hardware: All Deos
: Hold
: Enhancement
Target Milestone: mainline
Assignee: .Kernel
URL:
Whiteboard:
Depends on: 10176 10177
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-04 14:47 MST by Richard Frost
Modified: 2023-08-18 08:46 MST (History)
0 users

See Also:
Impact Assessment: ---
Organization: ---
rfrost: Requirements?
rfrost: Code?
rfrost: TestCases?
rfrost: TestProcedures?
rfrost: Other?


Attachments

Note You need to log in before you can comment on or make changes to this PCR.
Description Richard Frost 2015-11-04 14:47:56 MST
When supporting POSIX pthread scheduling as a scheduler type, round robin scheduling can be deferred until support for the FACE safety extended profile is desired. RMA and 653 do not have a time slicing policy. 

FACE Safety Base is unclear if SCHED_RR is a required scheduling policy. Since sched_rr_get_interval is only available in FACE safety extended and higher the initial offering is limited to SCHED_FIFO. In order to support round robin, the registry should specify the interval, and the ThreadAttributes_t defined in PCR 10177 will need to support the policy. The scheduling policy is set on a per thread basis, so when a thread with SCHED_FIFO policy is switched to the time slicing timer is effectively masked, and when a thread with SCHED_RR is switched to it is unmasked and reset to the interval. A context switch resulting from a window change should restore the time slice timer to the time remaining when the window was switched away from.  A new API or extension to getSystemInfoDEOS can expose the round robin interval. There is not an interface to change the interval.
Comment 1 deosbugs.ccb 2015-11-05 13:02:10 MST
CCB 2 visited this PCR on 2015-11-05.
Comment 2 deosbugs.ccb 2015-11-12 13:01:31 MST
CCB visited this PCR on 2015-11-12.
Comment 3 deosbugs.ccb 2015-11-25 16:14:09 MST
CCB visited this PCR on 2015-11-25
Comment 4 deosbugs.ccb 2016-06-16 13:18:55 MST
CCB visited this PCR on 2016-06-16
Comment 5 deosbugs.ccb 2016-07-21 15:03:42 MST
CCB visited this PCR on 2016-07-21
Comment 6 deosbugs.ccb 2016-08-03 09:06:51 MST
CCB visited this PCR on 2016-08-03
Comment 7 deosbugs.ccb 2016-08-12 14:30:17 MST
CCB visited this PCR on 2016-08-12
Comment 8 deosbugs.ccb 2016-10-25 14:13:36 MST
CCB visited this PCR on 2016-10-25-72422
Comment 9 deosbugs.ccb 2016-11-07 12:41:12 MST
CCB visited this PCR on 2016-11-02-66379
Comment 10 deosbugs.ccb 2016-11-07 13:37:50 MST
Previous tag had a typo. 11-02 should have been 11-07. Proper message is:
CCB visited this PCR on 2016-11-07-66379
Comment 11 deosbugs.ccb 2017-01-25 18:41:34 MST
CCB visited this PCR on 2017-01-26-4685
Comment 12 deosbugs.ccb 2017-02-01 09:40:59 MST
CCB visited this PCR on 2017-02-01-59501
Comment 13 deosbugs.ccb 2017-10-04 07:59:49 MST
CCB visited this PCR on 2017-10-04-51549
Comment 14 deosbugs.ccb 2017-12-11 11:32:25 MST
CCB visited this PCR on 2017-12-11-66402
Comment 15 deosbugs.ccb 2018-01-19 14:08:43 MST
CCB visited this PCR on 2018-01-19-75679
Comment 16 deosbugs.ccb 2021-03-26 09:34:41 MST
CCB visited this PCR on 2021-03-26-57787
Comment 17 deosbugs.ccb 2021-04-05 09:52:06 MST
CCB visited this PCR on 2021-04-05-59141
Comment 18 deosbugs.ccb 2023-08-14 11:05:11 MST
CCB visited this PCR on 2023-08-14-64795
Comment 19 deosbugs.ccb 2023-08-18 08:46:15 MST
PCR to remain on HOLD for kismet given time constraints.