日本フィジカルAI新聞

世界のフィジカルAIを、日本語で。

リアルタイムシステムarXiv:2505.06546

市販部品ベースのリアルタイムシステムにおけるミドルウェア透過的なコールバック実行

Work in Progress: Middleware-Transparent Callback Enforcement in Commoditized Component-Oriented Real-time Systems

シェア:XThreadsFacebookLINEはてブBluesky

ROS 2においてコールバックとOSスレッドを1対1で固定対応させ、ミドルウェア層を意識せずOSのスケジューリングを直接適用できる新Executorを提案・実装した論文。

詳しい要約

1. どんなもの?

- ROS 2 on Linux のような commoditized component-oriented real-time systems における real-time scheduling の研究 - 従来の nested scheduling(OS thread scheduling と middleware layer scheduling の二層)を前提とせず、callback と OS thread を永続的に1対1対応させる middleware model を提案 - その実装として新規 ROS 2 Executor である CallbackIsolatedExecutor を開発 - callback 単位で OS scheduling parameters(scheduling policy, priority, affinity)を直接適用可能にする試み

2. 先行研究と比べてどこがすごい?

- 先行研究は ROS 2 Executor などの middleware layer scheduling と OS thread scheduling からなる nested scheduling を前提に検討されてきた - 本研究は callback と OS thread の1対1対応により middleware layer を無視でき、OS scheduling parameters を個々の callback に直接適用できる点が新しい - これにより ROS 2 real-time scheduling 研究が nested scheduling を回避できる可能性を示す - 具体的な先行研究名との比較は要旨からは不明

3. 技術・手法の肝は?

- callback と OS thread の間に persistent な one-to-one correspondence を確立する middleware model を提案 - その model を実現する ROS 2 Executor として CallbackIsolatedExecutor を実装 - これにより middleware layer を介さず OS scheduling parameters(scheduling policy, priority, affinity)を callback に直接適用する設計 - 詳細な実装メカニズムやアルゴリズムは要旨からは不明

4. どうやって有効だと検証した?

- CallbackIsolatedExecutor のコスト(user-kernel switches, context switches, memory usage)を MultiThreadedExecutor と比較 - callback 数によらず CallbackIsolatedExecutor のコストが MultiThreadedExecutor より低いことを示した - SingleThreadedExecutor に対するコスト比が一定範囲に収まることを確認(inter-process で1.4x、intra-process で5x) - 実時間性そのものの評価やベンチマーク詳細は要旨からは不明

5. 議論はある?

- callback と OS thread の1対1対応により middleware layer を無視できるという主張の妥当性 - 将来の ROS 2 real-time scheduling 研究が nested scheduling を回避できる可能性への言及 - コスト面での優位性は示されているが、real-time 保証やスケーラビリティ、適用範囲の限界については要旨からは不明 - 1対1対応に伴う thread 数増加などのトレードオフは要旨からは不明

6. 次に読むべき論文は?

- ROS 2 Executor に関する研究(MultiThreadedExecutor, SingleThreadedExecutor など) - ROS 2 における real-time scheduling の先行研究 - nested scheduling を扱った OS thread scheduling と middleware scheduling の関連研究 - 要旨で具体的に参照されている個別論文は不明

※ AIが要旨から生成した要約です。正確性は原文をご確認ください。

著者: Takahiro Ishikawa-Aso, Atsushi Yano, Takuya Azumi, Shinpei Kato

分類: cs.OS, cs.RO

原文アブストラクト

Real-time scheduling in commoditized component-oriented real-time systems, such as ROS 2 systems on Linux, has been studied under nested scheduling: OS thread scheduling and middleware layer scheduling (e.g., ROS 2 Executor). However, by establishing a persistent one-to-one correspondence between callbacks and OS threads, we can ignore the middleware layer and directly apply OS scheduling parameters (e.g., scheduling policy, priority, and affinity) to individual callbacks. We propose a middleware model that enables this idea and implements CallbackIsolatedExecutor as a novel ROS 2 Executor. We demonstrate that the costs (user-kernel switches, context switches, and memory usage) of CallbackIsolatedExecutor remain lower than those of the MultiThreadedExecutor, regardless of the number of callbacks. Additionally, the cost of CallbackIsolatedExecutor relative to SingleThreadedExecutor stays within a fixed ratio (1.4x for inter-process and 5x for intra-process communication). Future ROS 2 real-time scheduling research can avoid nested scheduling, ignoring the existence of the middleware layer.

関連論文

  1. 1Boston Dynamics、車輪付きAtlasの研究試作機を紹介研究・技術
  2. 2GXOとApptronik、Apolloの物流現場試験を拡大 最大1,000台の展開を構想量産・展開
  3. 3newmoとKDDIが資本業務提携 2028年に堺市で自動運転タクシー商用化目指す提携・買収
  4. 4NVIDIA、CoRLでGR00T 2とIsaac Lab 3.0を発表新製品・発表
  5. 5UC BerkeleyとNVIDIAの研究者、AIエージェントでロボット制御コードを仮想環境で改善研究・技術

PR・アフィリエイト広告

FRONTIER(GPU搭載BTOパソコン)

FRONTIER(GPU搭載BTOパソコン)の公式広告バナーFRONTIERでGPU搭載PCを見る ↗
PR本紙発行元 EmplifAI