wei liu 1 yifan gong 1 hao wu 1 jidong zhai 2 jiangming
play

Wei Liu 1 , Yifan Gong 1 , Hao Wu 1 , Jidong Zhai 2 , Jiangming Jin 1 - PowerPoint PPT Presentation

Memory-Centric Communication Mechanism for Real- time Autonomous Navigation Applications Wei Liu 1 , Yifan Gong 1 , Hao Wu 1 , Jidong Zhai 2 , Jiangming Jin 1 1. TuSimple Inc. 2. Tsinghua University, BNRist Agenda 1. Background &


  1. Memory-Centric Communication Mechanism for Real- time Autonomous Navigation Applications Wei Liu 1 , Yifan Gong 1 , Hao Wu 1 , Jidong Zhai 2 , Jiangming Jin 1 1. TuSimple Inc. 2. Tsinghua University, BNRist

  2. Agenda 1. Background & Motivation 2. Virtual Layer based Architecture 3. Pre-record Memory Allocation Algorithm 4. Evaluation

  3. Background & Motivation Artificial Inteligence: CV, NLP, RL Autonomous Navigation System Resource Isolation & Modularity for fast deploy. System consists of Many Processes(C++/Python)

  4. Background & Motivation advantage disadvantage result Resource Isolation braking Latency distance Multi-Process Modularity out-of-date Memory perception Throghput Multi-language Inter-Process Communication

  5. Background & Motivation 푰� � ≈ ퟐ�% 푰� � + �풂 풍풄 풖풍 풂‷ 㰍䅁 ੪

  6. Background & Motivation IPC latency breakdown: Memory Allocation (De)Serialization Memory Copy (De)Convert

  7. Background & Motivation IPC latency breakdown: Memory Allocation (De)Serialization Memory Copy (De)Convert

  8. Background & Motivation IPC latency breakdown: Memory Allocation (De)Serialization Memory Copy (De)Convert data movement

  9. Memory-Centric Mechanism problem Data Movement Memory Allocation Virtual Layer based Architecture Pre-record Memory Allocation solution Z-framework

  10. Virtual Layer based Architecture ROS2-like Architecture Z-framework

  11. Virtual Layer based Architecture Python Support Problem Socket-base IPC Problem Z-framework

  12. Virtual Layer based Architecture Python Support Problem Socket-base IPC Problem Z-framework

  13. Virtual Layer based Architecture Process-1 Process-2 Process-3

  14. Pre-record Memory Allocation Algorithm page-fault Low Efficiency for Memory Allocation page fault A Memory Cost Model Virtual Physical memory memory Memory Pool Techniques

  15. Pre-record Memory Allocation Algorithm ObjectMap

  16. Other Optimization Techniques Efficient Data Assigment Efficient Data Extraction Distributed Environment Supporting

  17. Evaluation Image IPC Latency from 256KB to 8MB Mainly Solved: memory allocation overhead Image IPC Latency from 256KB to 8MB Mainly Solved: data movement overhead Total IPC Costs of Different Sizes of Images

  18. Evaluation Total IPC Costs of Different Types of Messages

  19. Evaluation benefit by: Virtual Layer Technique Pre-record Technique Performance Improvement with Virtual Layer based Architecture

  20. Evaluation Real-world workflow test Workflow Latency Workflow Throughput

  21. Thanks

Recommend


More recommend