driving in the fog: latency measurement, modeling, and...

22
Driving in the Fog: Latency Measurement, Modeling, and Optimization of LTE-based Fog Computing for Smart Vehicles Yong Xiao * , Marwan Krunz , Haris Volos , and Takashi Bando *School of Electronic Information and Communications, Huazhong University of Science & Technology, Wuhan, China †Department of ECE, University of Arizona, Tucson, AZ ‡ Silicon Valley Innovation Center, DENSO International America, Inc. IEEE SECON’19, Boston, MA

Upload: others

Post on 21-Mar-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Driving in the Fog: Latency Measurement, Modeling, and ...eic.hust.edu.cn/professor/xiaoyong/SECON19_AdaptiveFog_FinalPPT.pdfDriving in the Fog: Latency Measurement, Modeling, and

Driving in the Fog: Latency Measurement, Modeling, and Optimization of LTE-based

Fog Computing for Smart Vehicles

Yong Xiao*, Marwan Krunz†, Haris Volos‡, and Takashi Bando‡

*School of Electronic Information and Communications, Huazhong University of Science & Technology, Wuhan, China

†Department of ECE, University of Arizona, Tucson, AZ

‡ Silicon Valley Innovation Center, DENSO International America, Inc.

IEEE SECON’19, Boston, MA

Page 2: Driving in the Fog: Latency Measurement, Modeling, and ...eic.hust.edu.cn/professor/xiaoyong/SECON19_AdaptiveFog_FinalPPT.pdfDriving in the Fog: Latency Measurement, Modeling, and

Smart Vehicular Services

Basic Safety Services

Collision avoidance

Traffic lights guidance

Road conditions

TelematicsRoad safety and Efficiency

Remote Vehicle Health Monitoring

Navigation Parking

Video Streaming

Music

Mobile Office

Autonomous Driving

Platooning Cooperative driving

Remote Driving

NewsHigh-definition map

Infotainment

Features of Future Smart Cars

Always connected Environment awareness

Computing capabilities Storage space

Source: Huawei

Page 3: Driving in the Fog: Latency Measurement, Modeling, and ...eic.hust.edu.cn/professor/xiaoyong/SECON19_AdaptiveFog_FinalPPT.pdfDriving in the Fog: Latency Measurement, Modeling, and

Connected Vehicles

Limited computing/storage capability

Blind spot

Limited/no traffic updates

Quick decision

LTE/5G V2V

LTE/5G

V2I

LTE/5G V2V

Local sensors Local sensorsLocal sensors

LTE/5G

LTE/5G V2V via

MEC / eMBMS

LTE/5G

Traffic

lights,

road side

infrastructure

NB-IoT

LTE/5G V2X

LTE/5G V2V

Edge cloud

Backend

V2P

Parking house

Local sensors Local sensorsLocal sensors

LTE/5G

LTE/5G V2V via

MEC / eMBMS

LTE/5G

Traffic

lights,

road side

infrastructure

NB-IoT

LTE/5G V2X

LTE/5G V2V

Edge cloud

Backend

V2P

Parking house

Local sensors Local sensorsLocal sensors

LTE/5G

LTE/5G V2V via

MEC / eMBMS

LTE/5G

Traffic

lights,

road side

infrastructure

NB-IoT

LTE/5G V2X

LTE/5G V2V

Edge cloud

Backend

V2P

Parking house

Local sensors Local sensorsLocal sensors

LTE/5G

LTE/5G V2V via

MEC / eMBMS

LTE/5G

Traffic

lights,

road side

infrastructure

NB-IoT

LTE/5G V2X

LTE/5G V2V

Edge cloud

Backend

V2P

Parking house

Edge Cloud

NB-IoT

LTE/5G

V2N LTE/5G

V2N

LTE/5G

P2N

LTE/5G

V2P

Trafficlights,roadsideinfrastructure

Parking

Local sensors Local sensors Local sensors

Vulnerableroadusers

Relaxed computing/storage limits

No blind spot

Instantaneous traffic updates

Requires ultra-low latency comm.

In-Vehicle Processing vs. Connected Vehicle

Source: 5GAASource: ACTEL

Page 4: Driving in the Fog: Latency Measurement, Modeling, and ...eic.hust.edu.cn/professor/xiaoyong/SECON19_AdaptiveFog_FinalPPT.pdfDriving in the Fog: Latency Measurement, Modeling, and

Cloud-based Connected Smart Vehicles

Spans multiple wireless/wired links

Traditional Cloud Computing

High computational performance

Unpredictable latency and connection reliability

Cloud data center has been supplemented by fog nodes

Low latency

High reliability

Hierarchical Fog/Cloud Computing

Use

r La

yer

Fo

g La

yer

Clo

ud

Lay

er

Page 5: Driving in the Fog: Latency Measurement, Modeling, and ...eic.hust.edu.cn/professor/xiaoyong/SECON19_AdaptiveFog_FinalPPT.pdfDriving in the Fog: Latency Measurement, Modeling, and

Latency Challenge

Research Problem: Develop approaches to reduce last-mile latency in existing LTE networks

• 3GPP recommends ~ 10 msec RTT for UEs across LTE networks (optimal conditions)

• Recent reports and our measurements suggest that this latency is far too challenging to achieve in existing LTE networks

Driving in the fog

Cloud Data Center

Page 6: Driving in the Fog: Latency Measurement, Modeling, and ...eic.hust.edu.cn/professor/xiaoyong/SECON19_AdaptiveFog_FinalPPT.pdfDriving in the Fog: Latency Measurement, Modeling, and

Key Contributions

✓ AdaptiveFog: Vehicle-to-fog framework for multi-MNO LTE

networks

✓ Novel distance metric (weighed K-R distance) to quantify

latency performance of different MNO networks

✓ Measurement-driven modeling of V-to-fog and V-to-cloud

latencies

✓ Optimal policy for dynamic selection of LTE provider & fog/cloud

server

Page 7: Driving in the Fog: Latency Measurement, Modeling, and ...eic.hust.edu.cn/professor/xiaoyong/SECON19_AdaptiveFog_FinalPPT.pdfDriving in the Fog: Latency Measurement, Modeling, and

Outline

AdaptiveFog Framework

Latency Measurements & Modeling

Dynamic Network/Server Selection & Adaptation

Conclusions

Page 8: Driving in the Fog: Latency Measurement, Modeling, and ...eic.hust.edu.cn/professor/xiaoyong/SECON19_AdaptiveFog_FinalPPT.pdfDriving in the Fog: Latency Measurement, Modeling, and

AdaptiveFog Framework

Latency Measurement &

Data Collection

Smart Phone App

Measurement

Campaign

Empirical Statistic

Modeling

Distance Metric

Spatial Statistic

Modeling

Dynamic Network/Server

Selection & Adaptation

Driving Behavior

Analysis

Network/Cloud/Fog

Server Adaptation

Model Updating

AdaptiveFog is a novel framework for the UE to dynamically switch between available MNO

networks and cloud/fog servers on the move

Page 9: Driving in the Fog: Latency Measurement, Modeling, and ...eic.hust.edu.cn/professor/xiaoyong/SECON19_AdaptiveFog_FinalPPT.pdfDriving in the Fog: Latency Measurement, Modeling, and

Latency Measurements

Example routes (Tucson, AZ)

Extensive measurement campaign in two cities (San Francisco & Tucson)

Tens of traces of fog & cloud latencies collected over several months

Fixed-location as well as “in-vehicle” measurements using a custom app

Page 10: Driving in the Fog: Latency Measurement, Modeling, and ...eic.hust.edu.cn/professor/xiaoyong/SECON19_AdaptiveFog_FinalPPT.pdfDriving in the Fog: Latency Measurement, Modeling, and

Smartphone App

Delay Explorer

• Periodically Ping IP address of

• 1st node in LTE network

• Amazon cloud server (West coast)

• Record RTT of two MNOs networks

(Sprint and AT&T)

• Record other info (location, time stamp,

GPS coordinate, etc.)

Page 11: Driving in the Fog: Latency Measurement, Modeling, and ...eic.hust.edu.cn/professor/xiaoyong/SECON19_AdaptiveFog_FinalPPT.pdfDriving in the Fog: Latency Measurement, Modeling, and

Preliminary Observations

• No correlation between RTT and time stamp• Noticeably different latency patterns at different locations

Latency vs. time stamp

Latency vs. location

(second)

(Location Point)

Page 12: Driving in the Fog: Latency Measurement, Modeling, and ...eic.hust.edu.cn/professor/xiaoyong/SECON19_AdaptiveFog_FinalPPT.pdfDriving in the Fog: Latency Measurement, Modeling, and

Latency Statistics

Key Observations:• MNOs vary significantly in some locations. • When averaging over all traces, two MNOs exhibit similar behavior • Difference between cloud and fog is around 10 ms in average

Cloud vs. Fog

Fixed loc vs. driving

Page 13: Driving in the Fog: Latency Measurement, Modeling, and ...eic.hust.edu.cn/professor/xiaoyong/SECON19_AdaptiveFog_FinalPPT.pdfDriving in the Fog: Latency Measurement, Modeling, and

Distance Metric

Weighted Confidence• Confidence level of service type 𝑖

• Proportionally weighted confidence level

Weighted Kantorovich-Rubinstein (K-R) Distance• Performance difference between two MNOs/servers (e.g., cloud and fog)

Max tolerable latency for service i

Set of all supported services

Weight of service i (e.g., probability of service i arrival)

Performance of the same service i offered by two MNOs/servers

Page 14: Driving in the Fog: Latency Measurement, Modeling, and ...eic.hust.edu.cn/professor/xiaoyong/SECON19_AdaptiveFog_FinalPPT.pdfDriving in the Fog: Latency Measurement, Modeling, and

Empirical Modeling of Latency

Fixed Location

PDF of fog latency can be fitted by a bimodal Gamma distributionDifference (~ 33ms) between two peaks is caused by

o SR retransmission periodicity (~ 20 to 40 msec) o HARQ retransmission delay (~ 1 to 8 msec)

Cloud Fog

54ms 87ms

33ms

Page 15: Driving in the Fog: Latency Measurement, Modeling, and ...eic.hust.edu.cn/professor/xiaoyong/SECON19_AdaptiveFog_FinalPPT.pdfDriving in the Fog: Latency Measurement, Modeling, and

Empirical Modeling of Latency

Compared to fixed location latency:o Mobility contributes to around 10-20ms latency increaseo Variance increases significantly

Cloud Fog

While Driving

Page 16: Driving in the Fog: Latency Measurement, Modeling, and ...eic.hust.edu.cn/professor/xiaoyong/SECON19_AdaptiveFog_FinalPPT.pdfDriving in the Fog: Latency Measurement, Modeling, and

Empirical Modeling of Latency

• Fixed-location➢ min K-R distance is at 85 ms (=0.23%)➢ max K-R distance is at 63 ms (=58.6%)

• Driving: ➢ min K-R distance is at 74ms (=0.55%) ➢ max K-R distance is at 57ms (=18%)

K-R Distance between Fog and Cloud

Fixed Location Driving

Negligible for most applications

Compared to fixed loc, K-R dis in driving is much smaller

Page 17: Driving in the Fog: Latency Measurement, Modeling, and ...eic.hust.edu.cn/professor/xiaoyong/SECON19_AdaptiveFog_FinalPPT.pdfDriving in the Fog: Latency Measurement, Modeling, and

Empirical Modeling: Different MNOs

• K-R Distance

Cloud Fog

• Cloud: ➢ max K-R distance at 88ms (=25.79%)➢ MNO 2>MNO 1 (<131ms); MNO 2<MNO 1 (>131ms);

• Fog:➢ MNO1>MNO2 (<64ms and >125ms); MNO1<MNO2 (btw. 64ms and 125ms)

Almost the same confidence level for both MNOs

Page 18: Driving in the Fog: Latency Measurement, Modeling, and ...eic.hust.edu.cn/professor/xiaoyong/SECON19_AdaptiveFog_FinalPPT.pdfDriving in the Fog: Latency Measurement, Modeling, and

Optimal Network/Server Selection & Adaptation

Formulate network adaptation and fog/cloud server selection as a Markov decision process (MDP)

StateDriving speed, location and

LTE network of UE

ActionUE decides whether or not to switch to another LTE network

State Transition FunctionProbability of state transitioning

Utility FunctionMaximize confidence level

for UE

Selection & Adaptation

Page 19: Driving in the Fog: Latency Measurement, Modeling, and ...eic.hust.edu.cn/professor/xiaoyong/SECON19_AdaptiveFog_FinalPPT.pdfDriving in the Fog: Latency Measurement, Modeling, and

Optimal Network/Server Selection & Adaptation

• Empirical PDFs

Compared to the single MNO case, AdaptiveFogo reduces RTT in around 15ms (fog) and 9ms (cloud)o reduces STD by half

Cloud Fog

Page 20: Driving in the Fog: Latency Measurement, Modeling, and ...eic.hust.edu.cn/professor/xiaoyong/SECON19_AdaptiveFog_FinalPPT.pdfDriving in the Fog: Latency Measurement, Modeling, and

Optimal Network/Server Selection & Adaptation

• Confidence level

AdaptiveFog➢ achieves almost 30% improvement in confidence level for cloud➢ achieves almost 50% improvement in confidence level for fog

Cloud Fog

≈30%

≈50%

Page 21: Driving in the Fog: Latency Measurement, Modeling, and ...eic.hust.edu.cn/professor/xiaoyong/SECON19_AdaptiveFog_FinalPPT.pdfDriving in the Fog: Latency Measurement, Modeling, and

Summary

✓ AdaptiveFog is the first framework supporting the vision of

5GAA for supporting multi-operator connection in smart vehicle

✓ Compared to average/instantaneous latency value, confidence

level is a more realistic metric to quantify service performance

✓ AdaptiveFog achieves 30% and 50% improvement in confidence

level for fog and cloud

✓ Future work: Extending AdaptiveFog into more generally

scenarios (e.g., with processing latencies offered by different

fog service providers)

Page 22: Driving in the Fog: Latency Measurement, Modeling, and ...eic.hust.edu.cn/professor/xiaoyong/SECON19_AdaptiveFog_FinalPPT.pdfDriving in the Fog: Latency Measurement, Modeling, and

For more information, please contact:

Yong Xiao ([email protected])