Project

General

Profile

機能 #3269

⑪ 共有メモリ型データポート接続機能

Added by n-ando over 5 years ago. Updated over 2 years ago.

Status:
終了
Priority:
通常
Assignee:
Start date:
07/23/2015
Due date:
% Done:

100%

Estimated time:

Description

同一ノード内のコンポーネント間のデータポート接続において、データのPutを共有メモリ経由で行うことで、TCP/IPスタックを経由することなく高速にデータ転送する機能を実装する。

Associated revisions

Revision 3057 (diff)
Added by kawauchi over 3 years ago

[incompat,->RELENG_1_2] Convert from Shift-JIS to UTF-8-BOM. refs #3269

Revision 3057 (diff)
Added by kawauchi over 3 years ago

[incompat,->RELENG_1_2] Convert from Shift-JIS to UTF-8-BOM. refs #3269

Revision 3059 (diff)
Added by kawauchi over 3 years ago

[incompat,->RELENG_1_2] refs #3269

Revision 3059 (diff)
Added by kawauchi over 3 years ago

[incompat,->RELENG_1_2] refs #3269

Revision 3062 (diff)
Added by miyamoto over 3 years ago

[compat,bugfix] refs #3269

Revision 3062 (diff)
Added by miyamoto over 3 years ago

[compat,bugfix] refs #3269

Revision 3073 (diff)
Added by kawauchi over 3 years ago

[incompat,bugfix,->RELENG_1_2] '-lrt' option has been added. refs #3269

Revision 3073 (diff)
Added by kawauchi over 3 years ago

[incompat,bugfix,->RELENG_1_2] '-lrt' option has been added. refs #3269

Revision 3074 (diff)
Added by kawauchi over 3 years ago

[incompat,bugfix,->RELENG_1_2] '-lrt' option has been added. refs #3269

Revision 3074 (diff)
Added by kawauchi over 3 years ago

[incompat,bugfix,->RELENG_1_2] '-lrt' option has been added. refs #3269

Revision 3109 (diff)
Added by n-ando over 3 years ago

merged changes from trunk/OpenRTM-aist r3057, 3065, 3070-3074, 3076-3083, 3086-3087 during 2017-11:
[incompat,->RELENG_1_2] Convert from Shift-JIS to UTF-8-BOM. refs #3269
[incompat,->RELENG_1_2] Shared memory data port implementation. #3269
[incompat,->RELENG_1_2] Shared memory data port implementation. refs #3269
[incompat,->RELENG_1_2] Python 3 support.
[incompat,bugfix,->RELENG_1_2] revision 3060.
[compat,bugfix,->RELENG_1_2] Shared memory data port implementation. refs #3269
[compat,->RELENG_1_1] Public key registration has been added. refs #4221
[compat,->RELENG_1_2] bug fix.
[compat,->RELENG_1_1] fixed bug. refs #4221
[compat,->RELENG_1_2] bug fix.
[incompat,bugfix,->RELENG_1_2] '-lrt' option has been added. refs #3269
[incompat,bugfix,->RELENG_1_2] '-lrt' option has been added. refs #3269
[incompat,bugfix,->RELENG_1_2] Modified Logger.idl.
[incompat,bugfix,->RELENG_1_2] Modified Logger.idl.
[incompat,->RELENG_1_2] Extension modules under src/ext have been added to dist packages. refs #4368
[incompat,->RELENG_1_2] Extension modules under src/ext have been added to dist packages. refs #4368
[incompat,->RELENG_1_2] Extension modules under src/ext have been added to dist packages. refs #4368
[compat,->RELENG_1_2] bug fix.
[compat,->RELENG_1_2] bug fix.
[build,->RELENG_1_2] Update fluent-bit's include path. refs #4373
[incompat,->RELENG_1_2] LogicalTimeTriggeredEC has been added to build under Windows. refs #4368
[incompat,->RELENG_1_2] LogicalTimeTriggeredEC has been added to build under Windows. refs #4368

Revision 3109 (diff)
Added by n-ando over 3 years ago

merged changes from trunk/OpenRTM-aist r3057, 3065, 3070-3074, 3076-3083, 3086-3087 during 2017-11:
[incompat,->RELENG_1_2] Convert from Shift-JIS to UTF-8-BOM. refs #3269
[incompat,->RELENG_1_2] Shared memory data port implementation. #3269
[incompat,->RELENG_1_2] Shared memory data port implementation. refs #3269
[incompat,->RELENG_1_2] Python 3 support.
[incompat,bugfix,->RELENG_1_2] revision 3060.
[compat,bugfix,->RELENG_1_2] Shared memory data port implementation. refs #3269
[compat,->RELENG_1_1] Public key registration has been added. refs #4221
[compat,->RELENG_1_2] bug fix.
[compat,->RELENG_1_1] fixed bug. refs #4221
[compat,->RELENG_1_2] bug fix.
[incompat,bugfix,->RELENG_1_2] '-lrt' option has been added. refs #3269
[incompat,bugfix,->RELENG_1_2] '-lrt' option has been added. refs #3269
[incompat,bugfix,->RELENG_1_2] Modified Logger.idl.
[incompat,bugfix,->RELENG_1_2] Modified Logger.idl.
[incompat,->RELENG_1_2] Extension modules under src/ext have been added to dist packages. refs #4368
[incompat,->RELENG_1_2] Extension modules under src/ext have been added to dist packages. refs #4368
[incompat,->RELENG_1_2] Extension modules under src/ext have been added to dist packages. refs #4368
[compat,->RELENG_1_2] bug fix.
[compat,->RELENG_1_2] bug fix.
[build,->RELENG_1_2] Update fluent-bit's include path. refs #4373
[incompat,->RELENG_1_2] LogicalTimeTriggeredEC has been added to build under Windows. refs #4368
[incompat,->RELENG_1_2] LogicalTimeTriggeredEC has been added to build under Windows. refs #4368

History

#1 Updated by n-ando about 5 years ago

  • Subject changed from 共有メモリ型データポート接続 to ⑪ 共有メモリ型データポート接続機能

同一ノード内のコンポーネント間のデータポート接続において、マーシャリング後のデータのPutを共有メモリ経由で行うことで、TCP/IPスタックを経由することなく高速にデータ転送する機能を実装すること。

#2 Updated by n-miyamoto over 3 years ago

  • Status changed from 新規 to 担当
  • Assignee changed from n-ando to n-miyamoto
  • % Done changed from 0 to 80

動作はPython版( #3410 )と同じ。

coilに以下のファイルを追加

- SharedMemory.h
- SharedMemory.cpp

Windows、Linuxは対応済み。VxWorksは中身のない関数を書いたファイルを置いている。

rtmに以下のファイルを追加。

- SharedMemoryPort.h
- SharedMemoryPort.cpp
- InPortSHMConsumer.h
- InPortSHMConsumer.cpp
- InPortSHMProvider.h
- InPortSHMProvider.cpp
- OutPortSHMConsumer.h
- OutPortSHMConsumer.cpp
- OutPortSHMProvider.h
- OutPortSHMProvider.cpp

Push型、Pull型両方に対応。

CMakeでビルドできることを確認。

Automakeは未確認。一応Makefile.amにファイル名は追加したが、gccで-lrtのオプションが無いと未定義の関数でエラーになるためおそらく失敗する。

#3 Updated by n-miyamoto over 3 years ago

  • % Done changed from 80 to 100

#4 Updated by n-miyamoto over 3 years ago

  • Status changed from 担当 to 解決

#5 Updated by n-miyamoto over 2 years ago

  • Status changed from 解決 to 終了

Also available in: Atom PDF