Assignment 2 Parallel Distributed
Assignment 2 Parallel Distributed
Assignment 2 [CLO-2]
Scenario: Autonomous vehicle control systems must process vast amounts of real-time sensor
data to make quick and accurate decisions. During high-speed driving or complex traffic
scenarios, the system experiences delays in processing sensor inputs, which could lead to unsafe
driving decisions.
Task: Develop an optimization plan for improving the real-time data processing of an
autonomous vehicle system using parallel computing techniques. The plan should focus on
analytical modeling and performance evaluation of parallel data processing systems,
particularly for sensor data processing, to ensure timely and accurate decision-making.
Deliverables:
* Obstacle Detection: The system must process data from various sensors (cameras, LIDAR,
radar) to identify and classify objects in the vehicle's path. Parallelizing this task can
significantly speed up detection and response times.
* Path Planning: Determining the best route or maneuver requires real-time processing of
environmental data. Path planning can be divided into smaller computations to run in parallel,
reducing overall decision time.
Sensor Fusion: Combining data from multiple sensors to form a coherent understanding of the
environment. This task can be split across different processors to handle different sensor streams
simultaneously.
* Object Tracking: Continuous monitoring of the positions of dynamic objects (e.., other
vehicles, pedestrians). Parallel processing of multiple tracked objects can reduce delays in
updating object
* Vehicle Control Systems: Low-level controls like steering, braking, and acceleration based on
realtime inputs can be handled in parallel with other tasks to ensure quick responses.
Impact of Delays:
* Delays in Obstacle Detection can result in missed or late identification of hazards, leading to
potential collisions.
* In Path Planning, delays can cause poor decisions in maneuvering, especially in fast-changing
environments like busy highways or intersections.
* Delayed Sensor Fusion can produce an incomplete or outdated picture of the environment,
affecting all other critical decisions.
* Object Tracking delays can lead to inaccurate predictions of the positions of moving
objects,slower responses from Vehicle Control Systems can result in unsafe driving behavior,
such as delayed braking.
* GPU Acceleration allows for faster processing of complex sensor data, such as images from
cameras or point clouds from LIDAR, which are computationally intensive.
* Multi-core Processing enables concurrent execution of different parts of the system, such as
obstacle detection, path planning, and vehicle control, thereby reducing bottlenecks in decision-
making
* Distributed Computing can offload heavier tasks to remote servers, freeing up onboard
resources for time-sensitive tasks.
Analytical Modeling and Performance Evaluation:
* Modeling: Analytical models such as Amdahl's Law and Gustafson's Law can be used to
estimate the performance improvements when using parallel computing techniques. These laws
can help quantify how much acceleration can be expected by parallelizing tasks and utilizing
additional cores or GPUs.
* Evaluation: Simulations can be set up to evaluate the system's performance under different
scenarios (e.g., high-speed highways vs. crowded city streets) and measure improvements in
sensor data processing times, system latency, and overall safety metrics.