Extending resources for avoiding overloads of mixed-criticality tasks in cyber-physical systems

With the increasing number of services and industries including nuclear, chemical, aerospace, and automotive sectors in cyber-physical systems (CPSs), systems are being severely overloaded. CPSs comprises mixed-critical tasks which are of either safety-critical (high) or non-safety critical (low). In traditional task scheduling, most of the existing scheduling algorithms provide poor performance for high-criticality tasks when the system experiences overload and do not show explicit separation among different criticality tasks to take advantage of using cloud resources. Here, we propose a framework to schedule the mixed-criticality tasks by analyzing their deadlines and execution times which leverage the performance of parallel processing through OpenMP. The proposed framework introduces a machine learning-based prediction for a task offloading in the cloud. Moreover, it illustrates to execute a selected number of low-criticality tasks in the cloud while the high-criticality tasks are run on the local processors during the system overload. As a result, the high-criticality tasks meet all their deadlines and the system achieves a significant improvement in the overall execution time and better throughput. In addition, the experimental results employing OpenMP show the effectiveness of using the partitioned scheduling over the global scheduling method upon multiprocessor systems to achieve the tasks isolation.