SlideShare a Scribd company logo
Copyright (C) 2015, Katsushi Kobayashi. All rights reserved.
LAWIN: a Latency-AWare InterNet
Architecture for Latency Support
on Best-Effort Networks
Katsushi Kobayashi
ikob@acm.org
The University of Tokyo
This work was partially supported by JSPS KAKENHI No. 26330100.
2015 IEEE 16th International Conference on High Performance Switching and Routing
1.LAWIN motivation and architecture
2.Latency aware schedulers
1. Fair drop regardless of latency requests
2. Biased drop relying upon latency requests
3.Transport behaviors
4.Deployment
5.Related Work
6.Conclusion
2
Network Latency
•A critical issue for UX.
•E-commerces: Customers cannot wait no longer than 4sec.
•On-line games: Players with low-latency to servers have
advantages.
➡Different applications have different latency requirements.
•As low as possible is better. However,
•Bufferbloat at CATV and ADSL access, WiFi
•Mismatch between the TCP window and network pipe size due to too
large router buffer.
•TCP incast, buffer buildup at datacenter networks.
4
Existing approaches for network latency
•Resource provisioning / reservation
•Intserv/Diffserv
➡Connecting multi-ISPs is still big challenge.
•Reduce “average” queueing delay
•DOCSIS : Recommends small packet buffer size
•AQM : Increase drop probability in case of queuing delay is
more than the target, such as, CoDEL, PIE.
➡Unable to support various latency requirements.
➡Is large packet buffer always harmful ?
7
Goal of Latency AWare InterNet (LAWIN)
•To satisfy various latency
requirements for different
applications, while providing the
best effort nature of the Internet.
•Should maintain existing TCP
properties in best-effort network,
especially rough flow-rate
fairness (RFC5290).
•Incrementally deployable
•Coexisting with exiting traffic
8
Simple bes
t-effort
LAWIN
QoS
Latency - ✔︎
Jitter - -
Throughput - -
Packet loss
limit
-
TCP
Avoiding
congestion
collapse
✔︎ ✔︎
Efficient
capacity
utilization
✔︎ ✔︎
Rough flow-
rate fairness
✔︎ ✔︎
LAWIN architecture and protocol
•Applications specify own per-packet deadline requirements into packets headers.
•e.g. DSCP field not assigned yet, IP option, IPv6 flow label,…
•Routers schedule packets according the deadline indications.
•To require latency-aware scheduler instead of ordinary FCFS.
•To specify delay in “per-hop” better than E2E or “cumulative path”
•Fluctuate with route change and inconsistent with multi hop-nature are troublesome.
•“per-hop” is compatible incremental deployability.
9
TCP/UDP +
Data
DL:100
ms
IP
TCP/UDP +
Data
DL :
200ms
IP
TCP/UDP +
Data
DL:10ms IP
Scheduler based on Earliest Deadline First (EDF)
•Simple EDF is a latency aware scheduler, but poor performance at heavy load.
•Packets missed deadlines block entire queue.
•EDF with reneging (EDFR) reneges, or discards packets, if packets are elapsed
those deadlines.
•The entire loss property is similar to finite FCFS queue which size corresponds to the
mean deadline of incoming packet.
12
Kruk, Łukasz, et al. "Heavy traffic analysis for EDF queues with
reneging." The Annals of Applied Probability 21.2 (2011): 484-545.
EDF
EDF with reneging
ρ = λ/μ = 0.98
EDF
EDFR
EDFR scheduler (micro) properties
•Drop rate dependencies on
deadline (red & green) have
•Flat bottoms :
Fair loss-rate to all flows
regardless of their deadlines.
•Transport behavior may not
change.
•Cliffs :
•Packets in transmitting block
incomings having shorter
deadlines.
13
Calendar queue*
•Achieves O(1) cost scheduler when removing top item, while ordinal
priority queue requires O(log N) cost.
Calendar queue is used by :
•Event Simulator, e.g., NS2.
•Packet scheduler, e.g., pacing, traffic shaper.
15
8 39
6 17 26 35
4 15 24 33
3 16
8
6 17 39
4 16 26 35
3 15 24 33
Calendar Queue
*Brown, Randy. "Calendar queues: a fast 0 (1) priority queue implementation for the simulation event set problem."
Communications of the ACM 31.10 (1988): 1220-1227.
t
10 20 3000
Priority Queue: EDF, EDFR
FCFS : Biased
Calendar queue*
•Achieves O(1) cost scheduler when removing top item, while ordinal
priority queue requires O(log N) cost.
Calendar queue is used by :
•Event Simulator, e.g., NS2.
•Packet scheduler, e.g., pacing, traffic shaper.
16
13
8 16 23 39
6 17 26 35
4 15 24 33
13 23
1 11
Calendar Queue
*Brown, Randy. "Calendar queues: a fast 0 (1) priority queue implementation for the simulation event set problem."
Communications of the ACM 31.10 (1988): 1220-1227.
t
10 20 3000
Priority Queue: EDF, EDFR
FCFS : Biased
t=0
t=108 16 39
6 17 26 35
4 15 24 33
11
13 21
16 23 39
17 26 35
15 24 33
EDF with Reneging Later arrivals (EDFRL)
•EDFRL provides loss rate
bias with deadlines.
•Imposes higher loss to
shorter deadliness
•Incentive for applications to
specify optimal per-packet
deadlines.
•Achieved by just replacing
priority queue sub-scheduler
in calendar queue by FCFS.
18
Cost of queueing
•No more than 10x FCFS
with usual cases.
•Enqueue@106
•FCFS: 24ns
•EDF-C: 209ns
•EDFR-C : 113ns
•Dequeueing@106
•FCFS: 21ns
•EDF-C: 185ns
•EDFR-C : 76ns
Note: Average of 103 operations with
64k bins, 256-ary tree using Intel DPDK
platform.
19
TCP loss and throughput
•EDFR:
•Loss: Fair to all flows regardless of their DL requirements
•Throughput: Shorter DL flow are better (< 5%) than
longer due to RTT unfairness
•EDFRL
•Throughput: Longer DL flows wins shorter ones (< 10%)
21
Long-lived TCP throughput
•EDFR
•“flow-rate fairness”
•EDFRL:
•Throughput differences increase with the bin-
width of calendar queue.
23
LAWIN deployment
•Network:
•Access ISP having direct peer with CDNs.
•Akamai delivers 15-30% Internet traffic
•Traffic to CDN is intra-ISP.
•Congested point,
e.g., broad band router (CATV STB, Home GW)
•Latency support is effective even with partial path
•Most Internet links are over provisioned
•End system:
•Software bundled from network service provider,
e.g., Google had quickly deployed SPDY by bundled with Chrome browser.
27
Related work
•Latency support in DC networks
•pFabric uses EDF scheduler (SIGCOMM ’13)
•Throughput - Latency tradeoff
•Asymmetric Best Effort (IEEE Network ’02)
•Equivalent Differentiated Services (ISCC ’02)
•Rate-Delay Service (SIGCOMM ’08)
•IPv4 TTL original spec, DTN
29
Conclusion
•Latency AWare InterNet (LAWIN) architecture
•Latency aware schedulers
•EDFR for fair loss rate
•EDFRL for biased loss rate
•EDFR with TCP achieves “flow-rate fairness” and latency
support, simultaneously
➡Best effort service with latency support.
•EDFRL achieves throughput - latency tradeoff.
31

More Related Content

What's hot

Boosting the Performance of Nested Spatial Mapping with Unequal Modulation in...
Boosting the Performance of Nested Spatial Mapping with Unequal Modulation in...Boosting the Performance of Nested Spatial Mapping with Unequal Modulation in...
Boosting the Performance of Nested Spatial Mapping with Unequal Modulation in...
Ealwan Lee
 
PLNOG 13: Alexis Dacquay: Handling high-bandwidth-consumption applications in...
PLNOG 13: Alexis Dacquay: Handling high-bandwidth-consumption applications in...PLNOG 13: Alexis Dacquay: Handling high-bandwidth-consumption applications in...
PLNOG 13: Alexis Dacquay: Handling high-bandwidth-consumption applications in...
PROIDEA
 
slides
slidesslides
Sky X Tech Report
Sky X Tech ReportSky X Tech Report
Sky X Tech Report
Shubham Rokade
 
Advancements in the Real-Time Simulation of Large Active Distribution Systems...
Advancements in the Real-Time Simulation of Large Active Distribution Systems...Advancements in the Real-Time Simulation of Large Active Distribution Systems...
Advancements in the Real-Time Simulation of Large Active Distribution Systems...
OPAL-RT TECHNOLOGIES
 
Sky x technology
Sky x technologySky x technology
Sky x technology
joydatta12345
 
Report on the sky x technology.
Report on the sky x technology.Report on the sky x technology.
Report on the sky x technology.
Udirmaan Deka
 
Timing verification of real-time automotive Ethernet networks: what can we ex...
Timing verification of real-time automotive Ethernet networks: what can we ex...Timing verification of real-time automotive Ethernet networks: what can we ex...
Timing verification of real-time automotive Ethernet networks: what can we ex...
RealTime-at-Work (RTaW)
 
Disaggregation a Primer: Optimizing design for Edge Cloud & Bare Metal applic...
Disaggregation a Primer: Optimizing design for Edge Cloud & Bare Metal applic...Disaggregation a Primer: Optimizing design for Edge Cloud & Bare Metal applic...
Disaggregation a Primer: Optimizing design for Edge Cloud & Bare Metal applic...
Netronome
 
SKY X TECHNOLOGY
SKY X TECHNOLOGYSKY X TECHNOLOGY
SKY X TECHNOLOGY
Udirmaan Deka
 
Sky X Tech Presentation
Sky X Tech PresentationSky X Tech Presentation
Sky X Tech Presentation
Shubham Rokade
 
Early-stage topological and technological choices for TSN-based communication...
Early-stage topological and technological choices for TSN-based communication...Early-stage topological and technological choices for TSN-based communication...
Early-stage topological and technological choices for TSN-based communication...
RealTime-at-Work (RTaW)
 
PLNOG 5: Emil Gągała - ADVANCED VPLS
PLNOG 5: Emil Gągała -  ADVANCED VPLSPLNOG 5: Emil Gągała -  ADVANCED VPLS
PLNOG 5: Emil Gągała - ADVANCED VPLS
PROIDEA
 
Sky x technology
Sky x technologySky x technology
Sky x technology
kedar1993
 
sky x ppt ankur
sky x ppt ankursky x ppt ankur
sky x ppt ankur
Ankur Yogi
 
Sky x technology
Sky x technologySky x technology
Sky x technology
Soumyajit Pal
 
Do We Really Need TSN in Next-Generation Helicopters? Insights From a Case-Study
Do We Really Need TSN in Next-Generation Helicopters? Insights From a Case-StudyDo We Really Need TSN in Next-Generation Helicopters? Insights From a Case-Study
Do We Really Need TSN in Next-Generation Helicopters? Insights From a Case-Study
RealTime-at-Work (RTaW)
 
Practical Use Cases for Ethernet Redundancy
Practical Use Cases for Ethernet RedundancyPractical Use Cases for Ethernet Redundancy
Practical Use Cases for Ethernet Redundancy
RealTime-at-Work (RTaW)
 
Spy x tchnology
Spy x tchnologySpy x tchnology
Spy x tchnology
Akhil Kumar
 
Sierra overview
Sierra overviewSierra overview
Sierra overview
Ganesan Narayanasamy
 

What's hot (20)

Boosting the Performance of Nested Spatial Mapping with Unequal Modulation in...
Boosting the Performance of Nested Spatial Mapping with Unequal Modulation in...Boosting the Performance of Nested Spatial Mapping with Unequal Modulation in...
Boosting the Performance of Nested Spatial Mapping with Unequal Modulation in...
 
PLNOG 13: Alexis Dacquay: Handling high-bandwidth-consumption applications in...
PLNOG 13: Alexis Dacquay: Handling high-bandwidth-consumption applications in...PLNOG 13: Alexis Dacquay: Handling high-bandwidth-consumption applications in...
PLNOG 13: Alexis Dacquay: Handling high-bandwidth-consumption applications in...
 
slides
slidesslides
slides
 
Sky X Tech Report
Sky X Tech ReportSky X Tech Report
Sky X Tech Report
 
Advancements in the Real-Time Simulation of Large Active Distribution Systems...
Advancements in the Real-Time Simulation of Large Active Distribution Systems...Advancements in the Real-Time Simulation of Large Active Distribution Systems...
Advancements in the Real-Time Simulation of Large Active Distribution Systems...
 
Sky x technology
Sky x technologySky x technology
Sky x technology
 
Report on the sky x technology.
Report on the sky x technology.Report on the sky x technology.
Report on the sky x technology.
 
Timing verification of real-time automotive Ethernet networks: what can we ex...
Timing verification of real-time automotive Ethernet networks: what can we ex...Timing verification of real-time automotive Ethernet networks: what can we ex...
Timing verification of real-time automotive Ethernet networks: what can we ex...
 
Disaggregation a Primer: Optimizing design for Edge Cloud & Bare Metal applic...
Disaggregation a Primer: Optimizing design for Edge Cloud & Bare Metal applic...Disaggregation a Primer: Optimizing design for Edge Cloud & Bare Metal applic...
Disaggregation a Primer: Optimizing design for Edge Cloud & Bare Metal applic...
 
SKY X TECHNOLOGY
SKY X TECHNOLOGYSKY X TECHNOLOGY
SKY X TECHNOLOGY
 
Sky X Tech Presentation
Sky X Tech PresentationSky X Tech Presentation
Sky X Tech Presentation
 
Early-stage topological and technological choices for TSN-based communication...
Early-stage topological and technological choices for TSN-based communication...Early-stage topological and technological choices for TSN-based communication...
Early-stage topological and technological choices for TSN-based communication...
 
PLNOG 5: Emil Gągała - ADVANCED VPLS
PLNOG 5: Emil Gągała -  ADVANCED VPLSPLNOG 5: Emil Gągała -  ADVANCED VPLS
PLNOG 5: Emil Gągała - ADVANCED VPLS
 
Sky x technology
Sky x technologySky x technology
Sky x technology
 
sky x ppt ankur
sky x ppt ankursky x ppt ankur
sky x ppt ankur
 
Sky x technology
Sky x technologySky x technology
Sky x technology
 
Do We Really Need TSN in Next-Generation Helicopters? Insights From a Case-Study
Do We Really Need TSN in Next-Generation Helicopters? Insights From a Case-StudyDo We Really Need TSN in Next-Generation Helicopters? Insights From a Case-Study
Do We Really Need TSN in Next-Generation Helicopters? Insights From a Case-Study
 
Practical Use Cases for Ethernet Redundancy
Practical Use Cases for Ethernet RedundancyPractical Use Cases for Ethernet Redundancy
Practical Use Cases for Ethernet Redundancy
 
Spy x tchnology
Spy x tchnologySpy x tchnology
Spy x tchnology
 
Sierra overview
Sierra overviewSierra overview
Sierra overview
 

Similar to LAWIN: a Latency-AWare InterNet Architecture for Latency Support on Best-Effort Networks

A DRAM-friendly priority queue Internet packet scheduler implementation and i...
A DRAM-friendly priority queue Internet packet scheduler implementation and i...A DRAM-friendly priority queue Internet packet scheduler implementation and i...
A DRAM-friendly priority queue Internet packet scheduler implementation and i...
Katsushi Kobayashi
 
Ethernetv infiniband
Ethernetv infinibandEthernetv infiniband
Ethernetv infiniband
Mason Mei
 
Computer network (5)
Computer network (5)Computer network (5)
Computer network (5)
NYversity
 
6TiSCH @Telecom Bretagne 2015
6TiSCH @Telecom Bretagne 20156TiSCH @Telecom Bretagne 2015
6TiSCH @Telecom Bretagne 2015
Pascal Thubert
 
A Platform for Data Intensive Services Enabled by Next Generation Dynamic Opt...
A Platform for Data Intensive Services Enabled by Next Generation Dynamic Opt...A Platform for Data Intensive Services Enabled by Next Generation Dynamic Opt...
A Platform for Data Intensive Services Enabled by Next Generation Dynamic Opt...
Tal Lavian Ph.D.
 
A Study on MPTCP for Tolerating Packet Reordering and Path Heterogeneity in W...
A Study on MPTCP for Tolerating Packet Reordering and Path Heterogeneity in W...A Study on MPTCP for Tolerating Packet Reordering and Path Heterogeneity in W...
A Study on MPTCP for Tolerating Packet Reordering and Path Heterogeneity in W...
Communication Systems & Networks
 
TCP with delayed ack for wireless networks
TCP with delayed ack for wireless networksTCP with delayed ack for wireless networks
TCP with delayed ack for wireless networks
ambitlicksolutions
 
Protocols for Fast Delivery of Large Data Volumes
Protocols for Fast Delivery of Large Data VolumesProtocols for Fast Delivery of Large Data Volumes
Protocols for Fast Delivery of Large Data Volumes
Dilum Bandara
 
40 Powers of 10 - Simulating the Universe with the DiRAC HPC Facility
40 Powers of 10 - Simulating the Universe with the DiRAC HPC Facility40 Powers of 10 - Simulating the Universe with the DiRAC HPC Facility
40 Powers of 10 - Simulating the Universe with the DiRAC HPC Facility
inside-BigData.com
 
A Platform for Data Intensive Services Enabled by Next Generation Dynamic Opt...
A Platform for Data Intensive Services Enabled by Next Generation Dynamic Opt...A Platform for Data Intensive Services Enabled by Next Generation Dynamic Opt...
A Platform for Data Intensive Services Enabled by Next Generation Dynamic Opt...
Tal Lavian Ph.D.
 
Data Networks: Next-Generation Optical Access toward 10 Gb/s Everywhere
Data Networks: Next-Generation Optical Access toward 10 Gb/s EverywhereData Networks: Next-Generation Optical Access toward 10 Gb/s Everywhere
Data Networks: Next-Generation Optical Access toward 10 Gb/s Everywhere
Xi'an Jiaotong-Liverpool University
 
High performance browser networking ch1,2,3
High performance browser networking ch1,2,3High performance browser networking ch1,2,3
High performance browser networking ch1,2,3
Seung-Bum Lee
 
100G Networking Berlin.pdf
100G Networking Berlin.pdf100G Networking Berlin.pdf
100G Networking Berlin.pdf
JunZhao68
 
Options for time-sensitive networking for 5G fronthaul
Options for time-sensitive networking for 5G fronthaulOptions for time-sensitive networking for 5G fronthaul
Options for time-sensitive networking for 5G fronthaul
ADVA
 
Linac Coherent Light Source (LCLS) Data Transfer Requirements
Linac Coherent Light Source (LCLS) Data Transfer RequirementsLinac Coherent Light Source (LCLS) Data Transfer Requirements
Linac Coherent Light Source (LCLS) Data Transfer Requirements
inside-BigData.com
 
Redesigning MPTCP in Edge clouds
Redesigning MPTCP in Edge cloudsRedesigning MPTCP in Edge clouds
Redesigning MPTCP in Edge clouds
Nitinder Mohan
 
Current state of IEEE 802.1 Time-Sensitive Networking Task Group Norman Finn,...
Current state of IEEE 802.1 Time-Sensitive Networking Task Group Norman Finn,...Current state of IEEE 802.1 Time-Sensitive Networking Task Group Norman Finn,...
Current state of IEEE 802.1 Time-Sensitive Networking Task Group Norman Finn,...
Jörgen Gade
 
Sky x technology
Sky x technologySky x technology
Sky x technology
Hafsa Hayath
 
Dcn invited ecoc2018_short
Dcn invited ecoc2018_shortDcn invited ecoc2018_short
Dcn invited ecoc2018_short
Shuangyi Yan
 
Proposition of an Adaptive Retransmission Timeout for TCP in 802.11 Wireless ...
Proposition of an Adaptive Retransmission Timeout for TCP in 802.11 Wireless ...Proposition of an Adaptive Retransmission Timeout for TCP in 802.11 Wireless ...
Proposition of an Adaptive Retransmission Timeout for TCP in 802.11 Wireless ...
IJERA Editor
 

Similar to LAWIN: a Latency-AWare InterNet Architecture for Latency Support on Best-Effort Networks (20)

A DRAM-friendly priority queue Internet packet scheduler implementation and i...
A DRAM-friendly priority queue Internet packet scheduler implementation and i...A DRAM-friendly priority queue Internet packet scheduler implementation and i...
A DRAM-friendly priority queue Internet packet scheduler implementation and i...
 
Ethernetv infiniband
Ethernetv infinibandEthernetv infiniband
Ethernetv infiniband
 
Computer network (5)
Computer network (5)Computer network (5)
Computer network (5)
 
6TiSCH @Telecom Bretagne 2015
6TiSCH @Telecom Bretagne 20156TiSCH @Telecom Bretagne 2015
6TiSCH @Telecom Bretagne 2015
 
A Platform for Data Intensive Services Enabled by Next Generation Dynamic Opt...
A Platform for Data Intensive Services Enabled by Next Generation Dynamic Opt...A Platform for Data Intensive Services Enabled by Next Generation Dynamic Opt...
A Platform for Data Intensive Services Enabled by Next Generation Dynamic Opt...
 
A Study on MPTCP for Tolerating Packet Reordering and Path Heterogeneity in W...
A Study on MPTCP for Tolerating Packet Reordering and Path Heterogeneity in W...A Study on MPTCP for Tolerating Packet Reordering and Path Heterogeneity in W...
A Study on MPTCP for Tolerating Packet Reordering and Path Heterogeneity in W...
 
TCP with delayed ack for wireless networks
TCP with delayed ack for wireless networksTCP with delayed ack for wireless networks
TCP with delayed ack for wireless networks
 
Protocols for Fast Delivery of Large Data Volumes
Protocols for Fast Delivery of Large Data VolumesProtocols for Fast Delivery of Large Data Volumes
Protocols for Fast Delivery of Large Data Volumes
 
40 Powers of 10 - Simulating the Universe with the DiRAC HPC Facility
40 Powers of 10 - Simulating the Universe with the DiRAC HPC Facility40 Powers of 10 - Simulating the Universe with the DiRAC HPC Facility
40 Powers of 10 - Simulating the Universe with the DiRAC HPC Facility
 
A Platform for Data Intensive Services Enabled by Next Generation Dynamic Opt...
A Platform for Data Intensive Services Enabled by Next Generation Dynamic Opt...A Platform for Data Intensive Services Enabled by Next Generation Dynamic Opt...
A Platform for Data Intensive Services Enabled by Next Generation Dynamic Opt...
 
Data Networks: Next-Generation Optical Access toward 10 Gb/s Everywhere
Data Networks: Next-Generation Optical Access toward 10 Gb/s EverywhereData Networks: Next-Generation Optical Access toward 10 Gb/s Everywhere
Data Networks: Next-Generation Optical Access toward 10 Gb/s Everywhere
 
High performance browser networking ch1,2,3
High performance browser networking ch1,2,3High performance browser networking ch1,2,3
High performance browser networking ch1,2,3
 
100G Networking Berlin.pdf
100G Networking Berlin.pdf100G Networking Berlin.pdf
100G Networking Berlin.pdf
 
Options for time-sensitive networking for 5G fronthaul
Options for time-sensitive networking for 5G fronthaulOptions for time-sensitive networking for 5G fronthaul
Options for time-sensitive networking for 5G fronthaul
 
Linac Coherent Light Source (LCLS) Data Transfer Requirements
Linac Coherent Light Source (LCLS) Data Transfer RequirementsLinac Coherent Light Source (LCLS) Data Transfer Requirements
Linac Coherent Light Source (LCLS) Data Transfer Requirements
 
Redesigning MPTCP in Edge clouds
Redesigning MPTCP in Edge cloudsRedesigning MPTCP in Edge clouds
Redesigning MPTCP in Edge clouds
 
Current state of IEEE 802.1 Time-Sensitive Networking Task Group Norman Finn,...
Current state of IEEE 802.1 Time-Sensitive Networking Task Group Norman Finn,...Current state of IEEE 802.1 Time-Sensitive Networking Task Group Norman Finn,...
Current state of IEEE 802.1 Time-Sensitive Networking Task Group Norman Finn,...
 
Sky x technology
Sky x technologySky x technology
Sky x technology
 
Dcn invited ecoc2018_short
Dcn invited ecoc2018_shortDcn invited ecoc2018_short
Dcn invited ecoc2018_short
 
Proposition of an Adaptive Retransmission Timeout for TCP in 802.11 Wireless ...
Proposition of an Adaptive Retransmission Timeout for TCP in 802.11 Wireless ...Proposition of an Adaptive Retransmission Timeout for TCP in 802.11 Wireless ...
Proposition of an Adaptive Retransmission Timeout for TCP in 802.11 Wireless ...
 

Recently uploaded

Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
Mahmoud Morsy
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
gowrishankartb2005
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
Roger Rozario
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
mamamaam477
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
Anant Corporation
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
ecqow
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
RamonNovais6
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
abbyasa1014
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
171ticu
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
KrishnaveniKrishnara1
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
sachin chaurasia
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
Yasser Mahgoub
 

Recently uploaded (20)

Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
 

LAWIN: a Latency-AWare InterNet Architecture for Latency Support on Best-Effort Networks

  • 1. Copyright (C) 2015, Katsushi Kobayashi. All rights reserved. LAWIN: a Latency-AWare InterNet Architecture for Latency Support on Best-Effort Networks Katsushi Kobayashi ikob@acm.org The University of Tokyo This work was partially supported by JSPS KAKENHI No. 26330100. 2015 IEEE 16th International Conference on High Performance Switching and Routing
  • 2. 1.LAWIN motivation and architecture 2.Latency aware schedulers 1. Fair drop regardless of latency requests 2. Biased drop relying upon latency requests 3.Transport behaviors 4.Deployment 5.Related Work 6.Conclusion 2
  • 3. Network Latency •A critical issue for UX. •E-commerces: Customers cannot wait no longer than 4sec. •On-line games: Players with low-latency to servers have advantages. ➡Different applications have different latency requirements. •As low as possible is better. However, •Bufferbloat at CATV and ADSL access, WiFi •Mismatch between the TCP window and network pipe size due to too large router buffer. •TCP incast, buffer buildup at datacenter networks. 4
  • 4. Existing approaches for network latency •Resource provisioning / reservation •Intserv/Diffserv ➡Connecting multi-ISPs is still big challenge. •Reduce “average” queueing delay •DOCSIS : Recommends small packet buffer size •AQM : Increase drop probability in case of queuing delay is more than the target, such as, CoDEL, PIE. ➡Unable to support various latency requirements. ➡Is large packet buffer always harmful ? 7
  • 5. Goal of Latency AWare InterNet (LAWIN) •To satisfy various latency requirements for different applications, while providing the best effort nature of the Internet. •Should maintain existing TCP properties in best-effort network, especially rough flow-rate fairness (RFC5290). •Incrementally deployable •Coexisting with exiting traffic 8 Simple bes t-effort LAWIN QoS Latency - ✔︎ Jitter - - Throughput - - Packet loss limit - TCP Avoiding congestion collapse ✔︎ ✔︎ Efficient capacity utilization ✔︎ ✔︎ Rough flow- rate fairness ✔︎ ✔︎
  • 6. LAWIN architecture and protocol •Applications specify own per-packet deadline requirements into packets headers. •e.g. DSCP field not assigned yet, IP option, IPv6 flow label,… •Routers schedule packets according the deadline indications. •To require latency-aware scheduler instead of ordinary FCFS. •To specify delay in “per-hop” better than E2E or “cumulative path” •Fluctuate with route change and inconsistent with multi hop-nature are troublesome. •“per-hop” is compatible incremental deployability. 9 TCP/UDP + Data DL:100 ms IP TCP/UDP + Data DL : 200ms IP TCP/UDP + Data DL:10ms IP
  • 7. Scheduler based on Earliest Deadline First (EDF) •Simple EDF is a latency aware scheduler, but poor performance at heavy load. •Packets missed deadlines block entire queue. •EDF with reneging (EDFR) reneges, or discards packets, if packets are elapsed those deadlines. •The entire loss property is similar to finite FCFS queue which size corresponds to the mean deadline of incoming packet. 12 Kruk, Łukasz, et al. "Heavy traffic analysis for EDF queues with reneging." The Annals of Applied Probability 21.2 (2011): 484-545. EDF EDF with reneging ρ = λ/μ = 0.98 EDF EDFR
  • 8. EDFR scheduler (micro) properties •Drop rate dependencies on deadline (red & green) have •Flat bottoms : Fair loss-rate to all flows regardless of their deadlines. •Transport behavior may not change. •Cliffs : •Packets in transmitting block incomings having shorter deadlines. 13
  • 9. Calendar queue* •Achieves O(1) cost scheduler when removing top item, while ordinal priority queue requires O(log N) cost. Calendar queue is used by : •Event Simulator, e.g., NS2. •Packet scheduler, e.g., pacing, traffic shaper. 15 8 39 6 17 26 35 4 15 24 33 3 16 8 6 17 39 4 16 26 35 3 15 24 33 Calendar Queue *Brown, Randy. "Calendar queues: a fast 0 (1) priority queue implementation for the simulation event set problem." Communications of the ACM 31.10 (1988): 1220-1227. t 10 20 3000 Priority Queue: EDF, EDFR FCFS : Biased
  • 10. Calendar queue* •Achieves O(1) cost scheduler when removing top item, while ordinal priority queue requires O(log N) cost. Calendar queue is used by : •Event Simulator, e.g., NS2. •Packet scheduler, e.g., pacing, traffic shaper. 16 13 8 16 23 39 6 17 26 35 4 15 24 33 13 23 1 11 Calendar Queue *Brown, Randy. "Calendar queues: a fast 0 (1) priority queue implementation for the simulation event set problem." Communications of the ACM 31.10 (1988): 1220-1227. t 10 20 3000 Priority Queue: EDF, EDFR FCFS : Biased t=0 t=108 16 39 6 17 26 35 4 15 24 33 11 13 21 16 23 39 17 26 35 15 24 33
  • 11. EDF with Reneging Later arrivals (EDFRL) •EDFRL provides loss rate bias with deadlines. •Imposes higher loss to shorter deadliness •Incentive for applications to specify optimal per-packet deadlines. •Achieved by just replacing priority queue sub-scheduler in calendar queue by FCFS. 18
  • 12. Cost of queueing •No more than 10x FCFS with usual cases. •Enqueue@106 •FCFS: 24ns •EDF-C: 209ns •EDFR-C : 113ns •Dequeueing@106 •FCFS: 21ns •EDF-C: 185ns •EDFR-C : 76ns Note: Average of 103 operations with 64k bins, 256-ary tree using Intel DPDK platform. 19
  • 13. TCP loss and throughput •EDFR: •Loss: Fair to all flows regardless of their DL requirements •Throughput: Shorter DL flow are better (< 5%) than longer due to RTT unfairness •EDFRL •Throughput: Longer DL flows wins shorter ones (< 10%) 21
  • 14. Long-lived TCP throughput •EDFR •“flow-rate fairness” •EDFRL: •Throughput differences increase with the bin- width of calendar queue. 23
  • 15. LAWIN deployment •Network: •Access ISP having direct peer with CDNs. •Akamai delivers 15-30% Internet traffic •Traffic to CDN is intra-ISP. •Congested point, e.g., broad band router (CATV STB, Home GW) •Latency support is effective even with partial path •Most Internet links are over provisioned •End system: •Software bundled from network service provider, e.g., Google had quickly deployed SPDY by bundled with Chrome browser. 27
  • 16. Related work •Latency support in DC networks •pFabric uses EDF scheduler (SIGCOMM ’13) •Throughput - Latency tradeoff •Asymmetric Best Effort (IEEE Network ’02) •Equivalent Differentiated Services (ISCC ’02) •Rate-Delay Service (SIGCOMM ’08) •IPv4 TTL original spec, DTN 29
  • 17. Conclusion •Latency AWare InterNet (LAWIN) architecture •Latency aware schedulers •EDFR for fair loss rate •EDFRL for biased loss rate •EDFR with TCP achieves “flow-rate fairness” and latency support, simultaneously ➡Best effort service with latency support. •EDFRL achieves throughput - latency tradeoff. 31

Editor's Notes

  1. This is the agenda of my talk. 5s
  2. *Packet level latency support* On the today’s Internet, network latency caused by the buffer of intermediate nodes is one of the most critical issues in user experience. In addition, network applications have different latency requirements. For instance, most e-commerce customer cannot wait more than four-seconds. If web page drawing cannot be completed within such period, they will lost interest in the Web-contents, and never come back again because of the bad user experience. Another example, on real-time online games, the network latency between the game servers and user clients is a significant issue. It is reported by a study on a first person shooter (FPS) game, players with shorter than 50milliseconds to servers than competitors have obvious advantages. Therefore, the network latency should be maintained as low as possible. However, there are issues caused by high network latencies. For example, large network delay at access links, up to 10 seconds, are well known as Bufferbloat. Buffer bloat is caused by mismatch between the TCP window and network pipe size due to too large router buffer. Other examples are founded in data center network, TCP incast and buffer buildup cause large latency, which decrease the quality of user experiences. アーキテクチャを説明 スケジュラーが必要 2 つのスケジュラーの導入と tcp に与える影響を調べた EDFR Scheduler がどう同じかをいう。from two viewpoints  Total drop rate  Loss dependency on deadlines   average は下げたいが、EDFR ではみんな shorter DL を選ぶのはよくない。 EDRL を提案する。small DL の損失をあげるように bias をかける。 実装は簡単、コストは O(1) 。
  3. Couple type of approaches are there for the network latency issues. First approach is resource provisioning or reservation used in Intserv, RSVP, or Diffserv. This quality of service approach is standardized, but is deployed in particular purpose, such as voice over IP within single ISP. The difficulty in multi-ISP deployment are owing to complications of economic relationship among ISP’s. Because QoS approach requires economic infrastructure, such as accounting and charging, in addition to network infrastructure. And, connecting economic infrastructure among multi-ISP is one of the biggest challenge for existing technologies. Another type of approach for network latency is to reduce average delay at the router queue. And reducing average delay approach can be categorized into two approaches. First approach is recommending small packet buffer size, such as DOCSIS, that is cable modem standardization development organization. Second is using active queue management, AQM approach, known as CoDEL and PIE. These modern AQM are designed to maximizing existing TCP throughputs. The AQM algorithms keep the packet packet buffer is small, but to allow short term burst caused such at TCP slow-start. However, those reducing “average” delay approaches cannot support various latency requirements from applications. Moreover, we would like to argue, Is large packet buffer is always harmful ? Some switch vendor offers couple category of product lines, one is small buffer and small latency less than micro seconds. Another is tremendous size packet buffer more than 9GB packet buffers. That is why we believe that reducing buffer size cannot meet every scenarios. This is because complicated economic relationship is there when connecting more than one internet service provider requires a lot of costs and efforts a lot of costs not only of infrastructure, but economic,. **This is because over provisioning network resource is affordable compared with There are three existing approaches to tackle the large latency issue. On diffserv, a dedicated higher priority queue is provided for specific latency sensitive applications. Such as, expedited forwarding for Voice over IP. However, it is a still big challenge to connect multiple ISPs. On cable modem, DOCSIS recommends small packet buffers for CPE and head-end to prevent large buffer latencies. However, affordable cost of buffer memory is outcome of innovation. I think it is not a good approach to refuse the benefit. Also, recent AQM approaches, such CoDEL (coddle), PIE, drop packets until to reach a target delay, expecting to respond ends. These AQM and DOCSIS approaches have some issues. The first, the fixed target delay cannot support different latency requirements. The second, ISP operator have to decide target delay for each router. Setting target delay approach has not made sense, because we have to learn the deployment difficulty of RED (Random Early Discard) or other traditional AQM. I would like to say here, Application knows own latency bound for keeping better QoE. ISP or SDO (standards development organizations) don’t know it. In later part of this presentation, I will focus the property of EDF and reneging effects, and discuss how to contribute existing network protocols. In other words how EDF with reneging is better and/or worse to existing transports. I split EDF scheduling and reneging mechanism on this time. Because reneging can be done not only EDF also FIFO, if each packet have deadline information. However, FIFO scheduling does not provide any incentive for small latency packets.
  4. Another protocol issue in LAWIN how to represent the latency limit. We choose “per-hop-queueing delay” for the per-packet latency limits because it is better than other representation as “end-to-end delay” or “cumulative queueing delay”. End-to-end delay is potential to be fractured when route changes. In case of propagation delay become large, such as route changes from terrestrial to satellite, latency limits are never satisfied. Second, cumulative delay is potential to inconsistent with multi-hop nature of the Internet. Let’s suppose a stream that allows long latency If there is congested point at earlier part on the route, the allowed latency is consumed at the point. As a result, these packets will be treated as having smaller deadline ones on the later route. The packet priority inconsistency will cause a problem, such as, packet disorder even on same stream. That is why, we prefer “per-hop queueing” delay than other representations.
  5. Before discussing the incentive mechanism, we would explain calendar queueing. Ordinary priority queue requires O(logN) CPU time, when removing top of element. Calendar queue achieves O(1) CPU time using time-slots array. In the calendar queue algorithm, all arrivals are assigned to a time-slot according their priorities, like this. The time-slot array is shifted at each clock corresponding time-slot width. Even though calendar queue algorithm achieves O(1), for usual each slot require priority queue.
  6. This shows the results of second simulation scenario, which is long-lived TCP throughput. The network topology like this. There are two major TCP flows, one for test, and another for reference. The deadline request for test flow is varied from 30 to 100ms, and for reference is fixed at 80ms. In addition, 3x3 back ground flows are added with 10% of bottleneck capacity. The bar plots bellow show dependency of 150MB flow-completion-time upon the combination of deadlines. The left column are the result with TCP NewReno. The rights are with TCP Cubic. Because of horizontal representing flow-completion-time, the lower bar shows better throughputs. With EDFR, fair scheduler, the throughputs were almost the same. So, EDFR scheduler achieves the rough flow-rate fairness and latency support, simultaneously. ( or shorter deadline flows are better than the longer ones.) With EDFRL, biased scheduler, the shorter deadline flows were always poorer throughputs than the longer deadlines. Also, the throughput differences increased with the slot-width of calendar queue. The throughput differences in TCP Cubic are larger than TCP NewReno, probably because the Cubic is more aggressive than New Reno. Anyway, these throughputs differences would be an incentive for applications to specify deadline as long as possible. In summary, EDFR scheduler and exiting TCP achieve rough flow-rate fairness and latency support, simultaneously. In addition, EDFRL provide —— In EDFR, fair scheduler, the bandwidth are also split, but increasing with shorter deadlines. The “cross” markers in shorter deadline areas are always under the “diamonds”. In case of EDFRL, biased scheduler, the bandwidth throughputs split as decreasing with shorter deadlines, and increasing with longer ones. shorter deadline packets are always scheduled with higher priority than longer deadline one. As a result RTT of shorter deadline flows are shorter than longer ones.