cavbench-eval
CAVBench: A Benchmark Suite for Connected and Autonomous Vehicles — Wang et al. (2018) (arXiv:1810.06659, 2018)
What this evaluates
Evaluates the computational performance and resource efficiency of edge computing platforms for connected and autonomous vehicle workloads. It probes how well hardware handles real-time vision, deep learning, and diagnostic tasks under varying resource constraints.
Datasets
- CAVBench — total ?; splits: SLAM (-1), Object Detection (-1), Object Tracking (-1), Battery Diagnostics (-1), Speech Recognition (-1), Edge Video Analysis (-1)
Metrics
Matching Factor (MF) (primary) — range: other
- Calculated as the area under the Quality of Service - Resource Utilization (QoS-RU) curve for each system resource (CPU, memory, bandwidth). QoS is derived from application latency/throughput, and the curve plots QoS against resource allocation levels to indicate platform suitability.
Average Latency — range: ms
- Mean execution time per module (for computer vision apps) or per application (for deep learning apps) measured in milliseconds across the dataset.
Tail Latency — range: ms
- Maximum or high-percentile (e.g., p95/p99) execution time reported for deep learning applications (SSD, EVBattery, DeepSpeech) to capture worst-case performance.
Input / output format
Input: Real-world datasets (stereo/monocular images, audio recordings, battery log text) processed by six specific CAV applications (ORB-SLAM2, SSD, CIWT, EVBattery, DeepSpeech, OpenALPR).
Output: Per-module or per-application average and tail latency (ms), and QoS-RU curves mapping resource utilization to application QoS.
Scoring recipe
def compute_cavbench_metrics(applications, resource_levels):
results = {}
for app in applications:
latencies = []
for res in resource_levels:
latency = run_application(app, res)
latencies.append(latency)
avg_lat = mean(latencies)
tail_lat = max(latencies)
qos = [1.0 / l for l in latencies]
mf = trapezoidal_area(qos, [r.utilization for r in resource_levels])
results[app] = {'avg_latency': avg_lat, 'tail_latency': tail_lat, 'MF': mf}
return results
Common pitfalls
- Latency reporting differs by workload type: computer vision apps report per-module average latency, while deep learning apps report application-level average and tail latency.
- The Matching Factor is highly dependent on the specific resource utilization curve (CPU, memory, bandwidth), making cross-architecture comparisons sensitive to how QoS is normalized.
- Some datasets (e.g., Mozilla Corpus for speech recognition) lack vehicular background noise, potentially overestimating real-world QoS.
Evidence (verbatim from paper)
We use the area under the curve of each system resource to calculate the Matching Factor (MF) between the application and the platform, indicating whether the platform is suitable for the CAVs application.
Citation
@misc{wang2018cavbench,
title={CAVBench: A Benchmark Suite for Connected and Autonomous Vehicles},
author={Wang et al. (2018)},
year={2018},
note={arXiv:1810.06659}
}
1---2name: cavbench-eval3description: Evaluates the computational performance and resource efficiency of edge computing platforms for connected and autonomous vehicle workloads. It probes how well hardware handles real-time vision, deep learning, and diagnostic tasks under varying resource constraints. Use when the user wants to benchmark on CAVBench, or asks about evaluating this task. Reports Matching Factor (MF).4---56# cavbench-eval78> CAVBench: A Benchmark Suite for Connected and Autonomous Vehicles — Wang et al. (2018) (arXiv:1810.06659, 2018)910## What this evaluates1112Evaluates the computational performance and resource efficiency of edge computing platforms for connected and autonomous vehicle workloads. It probes how well hardware handles real-time vision, deep learning, and diagnostic tasks under varying resource constraints.1314## Datasets1516- **CAVBench** — total ?; splits: SLAM (-1), Object Detection (-1), Object Tracking (-1), Battery Diagnostics (-1), Speech Recognition (-1), Edge Video Analysis (-1)1718## Metrics1920- `Matching Factor (MF)` **(primary)** — range: other21 - Calculated as the area under the Quality of Service - Resource Utilization (QoS-RU) curve for each system resource (CPU, memory, bandwidth). QoS is derived from application latency/throughput, and the curve plots QoS against resource allocation levels to indicate platform suitability.22- `Average Latency` — range: ms23 - Mean execution time per module (for computer vision apps) or per application (for deep learning apps) measured in milliseconds across the dataset.24- `Tail Latency` — range: ms25 - Maximum or high-percentile (e.g., p95/p99) execution time reported for deep learning applications (SSD, EVBattery, DeepSpeech) to capture worst-case performance.2627## Input / output format2829**Input**: Real-world datasets (stereo/monocular images, audio recordings, battery log text) processed by six specific CAV applications (ORB-SLAM2, SSD, CIWT, EVBattery, DeepSpeech, OpenALPR).3031**Output**: Per-module or per-application average and tail latency (ms), and QoS-RU curves mapping resource utilization to application QoS.3233## Scoring recipe3435```python36def compute_cavbench_metrics(applications, resource_levels):37 results = {}38 for app in applications:39 latencies = []40 for res in resource_levels:41 latency = run_application(app, res)42 latencies.append(latency)43 avg_lat = mean(latencies)44 tail_lat = max(latencies)45 qos = [1.0 / l for l in latencies]46 mf = trapezoidal_area(qos, [r.utilization for r in resource_levels])47 results[app] = {'avg_latency': avg_lat, 'tail_latency': tail_lat, 'MF': mf}48 return results49```5051## Common pitfalls5253- Latency reporting differs by workload type: computer vision apps report per-module average latency, while deep learning apps report application-level average and tail latency.54- The Matching Factor is highly dependent on the specific resource utilization curve (CPU, memory, bandwidth), making cross-architecture comparisons sensitive to how QoS is normalized.55- Some datasets (e.g., Mozilla Corpus for speech recognition) lack vehicular background noise, potentially overestimating real-world QoS.5657## Evidence (verbatim from paper)5859> We use the area under the curve of each system resource to calculate the Matching Factor (MF) between the application and the platform, indicating whether the platform is suitable for the CAVs application.6061## Citation6263```bibtex64@misc{wang2018cavbench,65 title={CAVBench: A Benchmark Suite for Connected and Autonomous Vehicles},66 author={Wang et al. (2018)},67 year={2018},68 note={arXiv:1810.06659}69}70```7172- arXiv: 1810.06659