In mixed criticality systems, it is vital to ensurethat there is sufficient separation between tasks of LO- andHI-criticality applications, so that the behavior or mis-behaviorof the former cannot affect the functional or timing correctnessof the latter. To ensure appropriate spatial isolation, thememory address spaces and cache use by LO- and HI-criticalitytasks must be distinct. A consequence of this separation is thatthe cost of switching between tasks of the same criticality canbe small, whereas the cost of context switching between tasksof different criticality levels can be much larger. In this paper,we focus on integrating the differing context switch costs intofixed priority preemptive scheduling, and the two mixedcriticality scheduling schemes based on it: SMC and AMC. Wederive simple, refined, and multi-set analyses for each scheme.Further, we show that the refined and multi-set analyses arenot compatible with Audsley’s Optimal Priority Assignmentalgorithm, we therefore propose a heuristic priority assignmentpolicy aimed at reducing the number of high cost contextswitches. Our evaluation is grounded in measurements ofcontext switch times (save and restore costs) from a prototypeimplementation of an explicitly managed cache on an FPGA.The evaluation shows the effectiveness of the derived analysesand the proposed priority assignment policy.
Download Not Available

BibTex Entry

@conference{Davis_2018b,
 author = {Davis, {Robert Ian} and Sebastian Altmeyer and Alan Burns},
 day = {11},
 keywords = {real time, schedulability analysis, mixed criticality, context switch},
 language = {English},
 month = {4},
 note = {24th IEEE Real-Time and Embedded Technology and Applications Symposium, RTAS 2018 ; Conference date: 11-04-2018 Through 13-04-2018},
 pure_url = {https://pure.york.ac.uk/portal/en/publications/mixed-criticality-systems-with-varying-context-switch-costs(da4f8e58-89d2-4d61-8436-00332c8a86dd).html},
 title = {Mixed Criticality Systems with Varying Context Switch Costs},
 year = {2018}
}