1 / 22

Agentspace 環境の Real-Time Java 上への移植

Agentspace 環境の Real-Time Java 上への移植. SMAF Workshop 髙汐 一紀 電気通信大学 情報工学科. はじめに. Takuro-san ごめんなさい.. RT-Java 上への porting は鋭意進行中.. ちょっとだけ言い訳 JSSST’98 の大会アレンジメントは大変. 現状. Kaffe-1.0b1 and Kaffe-snap 上でトライ AgentMonitor agent までは起動 他の agent を起動できない AWT まわり? Thread まわり? というわけで.

sheri
Download Presentation

Agentspace 環境の Real-Time Java 上への移植

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Agentspace 環境のReal-Time Java 上への移植 SMAFWorkshop 髙汐 一紀 電気通信大学 情報工学科

  2. はじめに • Takuro-san ごめんなさい.. • RT-Java 上への porting は鋭意進行中.. • ちょっとだけ言い訳 • JSSST’98 の大会アレンジメントは大変..

  3. 現状 • Kaffe-1.0b1 and Kaffe-snap 上でトライ • AgentMonitor agent までは起動 • 他の agent を起動できない • AWT まわり? • Thread まわり? • というわけで..

  4. 移動エージェントベースの分散実時間システム記述移動エージェントベースの分散実時間システム記述 高汐 一紀 電気通信大学 情報工学科

  5. Timed Mobile Agent • 時間依存エージェント • 要求事項 • EIP モデル • プロトタイプの実装 • 実験

  6. 移動エージェント • ソフトウェアモジュールの自律性 • 非同期実行 • 並列実行 • 非接続時の待機機構 • システム構成の柔軟性 分散システムの記述に有効なフレームワーク

  7. MonitorAgent なぜ,移動エージェントベースの分散実時間処理? • 移動エージェントにして唯一有効な適用ドメイン? • 自律巡回型センシングシステム • ネットワーク移動型生産管理システム DeviceMonitor UserInterface Network Client FA Computer

  8. Schedule: 1. xxx.. 2. yyy.. MonitorAgent Network BrowsingApplication Plant Control System 時間依存移動エージェント • タイムスケジュールに基づくホスト間移動 • 各種デバイスとの実時間的協調動作 Place A Place C Place B

  9. Timed Mobile Agent • 時間依存エージェント • 要求事項 • EIP モデル • プロトタイプの実装 • 実験

  10. 環境情報に基づく QOS 制御 • 移動先ホストの計算機性能 • CPU 性能,デバイス性能 • ハードウェア vs. ソフトウェア • セルフスタビライズ • 移動エージェント向き? • QOS 制御機構とスケジューラの連携なし

  11. 資源管理と QOS 制御の統合 • 資源の予約機能 (reservation) • 利用可能資源への適応機能 (adaptation) • 資源の割り振り調整機能 • 環境への適応と資源量の見積もり機能 • 環境情報の提供機能

  12. Frame / sec Frame size 環境情報 2種 • 計算機構成に関する属性値 • 属性名から一意に決まる • 計算機性能に関する属性値 (中粒度) • 特定の条件ごとの離散的なデータ • 性能情報の導出関数 • 導出方法の補正関数

  13. Timed Mobile Agent • 時間依存エージェント • 要求事項 • EIP モデル • プロトタイプの実装 • 実験

  14. Agent Agent Agent Agent Context Agent Context Agent Context QoS Manager Thread List Mediator EIP モデル全体像 • 移動エージェント • 環境情報プロバイダ • 計算機構成 • 計算機性能 • QOS マネージャ Agent Platform A Environmental Info. Provider Real-Time Java VM C Database A. query B. attribute registration C. report D. resource ticket E. resource reservation B D Real-Time Mach E

  15. VideoCard Network PCCard PCCardController Disk Device APM Object Location PVideoCard Performance PDevice PNetwork PDisk Interface PerfIF getPerfData(attName, attHint, ..) revisePerfData(attName, attHint, ..) BenchMark 属性の定義 • 環境サーバモデル [中島97] の拡張 • インタフェース PerfIF • 性能情報の導出関数 • 導出方法の補正関数

  16. 属性の操作 • 問合せ条件 • @[ 属性名 ] 条件式 • 例: • PGet(FPS@/Performance/PDevice/PVideoCard, @[Size] == 320x240, ..) • PReport(FPS@/Performance/PDevice/PVideoCard, @[Size] == 320x240, 20fps, ..)

  17. Timed Mobile Agent • 時間依存エージェント • 要求事項 • EIP モデル • プロトタイプの実装 • 実験

  18. Agent Agent Agent Agent Context Agent Context Agent Context QoS Manager Thread List Mediator プロトタイプ • RT-Mach • QOS マネージャ • Q-Thread ライブラリ • CPU reserve • Agentspace Agent Platform A Environmental Info. Provider Real-Time Java VM C Database B D Real-Time Mach E

  19. Timed Mobile Agent • 時間依存エージェント • 要求事項 • EIP モデル • プロトタイプの実装 • 実験

  20. 時間制約を持つアニメーション表示 • 時間制約: 1シーンの再生時間 • 性能情報: イメージ面積と表示時間

  21. おわりに • 環境情報としての性能情報 • 演算プリミティブ性能 • グラフィック/イメージ描画性能 • プリミティブな性能情報とは? • 粗粒度: Dhrystone, Whetstone, Rhealstone, Hartstone, 他 • 細粒度: bytecode レベル • 積み上げ可能 or not

  22. おわりに • 条件式の記述能力の検討 • RT-Mach/Real-Time Java 上での実装 • Agentruntime の変更 • Non-rt-agent は non-rt-thread • Rt-agent は rt-thread に割り当て • RT-Agent クラス • rt-thread ベース • 信頼性の問題

More Related