講演抄録/キーワード |
講演名 |
2017-03-10 10:05
デッドライン制約を考慮しヒープメモリ削減を行うマルチタスクスケジューリング手法の提案 ○鈴木悠斗・中田明夫(広島市大) SS2016-76 |
抄録 |
(和) |
組込みソフトウェアでも多く使用されるマルチタスクシステムは,一般にシングルタスクシステムよりもメモリ使用量が大きい.その問題の解決のため,我々は従来ヒープメモリ使用量削減を目的としたマルチタスクシステムスケジューリング手法を提案してきた.その従来手法では,実行時にスケジューリングを行う毎に,各タスクが次に実行する処理のメモリ使用量が最小のタスクを選択し実行している.しかし,従来手法には,リアルタイムシステムにおいて必要となるデッドライン制約を考慮したスケジューリングが行えない問題があった.そこで本研究では,従来手法を拡張したリアルタイムスケジューリング手法を提案する.提案手法では,実行するタスクの選択前に,シングルプロセッサ環境下では最適とされているEDFスケジューリングによるスケジュールが可能か否かを判定する.そして,EDFスケジューリングが不可能になる直前にスケジュール方式を従来手法からEDFスケジューリングに切り替えることにより,デッドライン制約の充足とヒープメモリ使用量削減を両立する. |
(英) |
Multitasking systems, often used in embedded software, require in general larger memory footprint than single tasking systems. To cope with the problem, we have formerly proposed a multitask scheduling method for reducing total heap memory usage. In the former method, at each scheduling point during the execution, a task with the minimum memory requirement in the next step execution is always selected for the next step execution. However, there is a problem that the former method cannot perform scheduling when deadline constraints are imposed, as is usual in a real time system. In this paper, we propose a real-time scheduling method which also try to reduce total heap memory usage by extending the former (non-real-time) scheduling method. In the proposed method, before selecting a task for execution, it predicts whether or not all the pending tasks can be scheduled when EDF scheduling are used. Here we choose EDF scheduling as the base real-time scheduling method as it is considered optimal in a single processor environment. Normally the proposed method schedules tasks using the former method to save the heap memory usage, and when the tasks are predicted to miss the deadline if EDF scheduling are used, it switches the scheduling method into the EDF scheduling to conform the deadline constraints. |
キーワード |
(和) |
マルチタスクスケジューリング / ヒープメモリ / デッドライン制約 / / / / / |
(英) |
Multitask Scheduling / Heap Memory / Deadline Constraints / / / / / |
文献情報 |
信学技報, vol. 116, no. 512, SS2016-76, pp. 97-102, 2017年3月. |
資料番号 |
SS2016-76 |
発行日 |
2017-03-02 (SS) |
ISSN |
Print edition: ISSN 0913-5685 Online edition: ISSN 2432-6380 |
著作権に ついて |
技術研究報告に掲載された論文の著作権は電子情報通信学会に帰属します.(許諾番号:10GA0019/12GB0052/13GB0056/17GB0034/18GB0034) |
PDFダウンロード |
SS2016-76 |