SlideShare a Scribd company logo
Introduction Tutorial C6 Conclusion
DCCN Tutorial C6: Implementation of QoS
mechanisms for Device-to-Device (D2D)
communication
Pavel Masek, Jiri Hosek
Brno University of Technology,
Faculty of Electrical Engineering and Communication,
Department of Telecommunication.
masekpavel@feec.vutbr.cz, hosek@feec.vutbr.cz
November 24, 2016
Introduction Tutorial C6 Conclusion
WISLAB Research Group – http://www.wislab.cz
WISLAB - Wireless System Laboratory of Brno
Coordinated by Dr. Hosek
Experienced researchers and MSc. / Ph.D.
students
Working with the up-to-date equipment
Nowadays, focused mainly on the IoT domain
Communication in 4G / 5G mobile networks
Intel US, Huawei, AT&T, TUT, IITIS, PFUR, SUAI
SmartHome Gateway
Telekom Austria Group
Wearables
Augmented reality, smart glasses
MTC Communication in NS-3
Member of well-known alliances AllSeen Alliance or HGi
Contributor to 3GPP standards and recommendations
Introduction Tutorial C6 Conclusion
DCCN Tutorials: Agenda
Tutorial #1 [Wed 23.11.16] - Communication between
devices within LAN/WLAN networks
Tutorial #2 [Thu 24.11.16] - Implementation of 4G cellular
communication within the SmartGrid ecosystem
Tutorial #3 [Thu 24.11.16] - Implementation of
QoS mechanisms for Device-to-Device (D2D)
communication between mobile devices
Main goal
From basic network topology to advanced communication
mechanisms used in today’s IoT/M2M scenarios – utilizing
Network Simulator 3 (NS-3) tool for timely use-cases
Introduction Tutorial C6 Conclusion
Network Scenario
Mobile nodes located in grid (initial position)
Communication without the AP → D2D communication
RandomWalk2d mobility model
QoS implementation – made from scratch, not
implemented in NS-3 by default
Introduction Tutorial C6 Conclusion
Tasks
1 Check structure of given code, understand to QoS
implementation
2 Run the prepared simulation scenario
3 View *.xml output files via netAnim, explore tracing
*.pcap files using Wireshark, generate GnuPlot file for
flow delay
4 Modify the QoS configuration for data flows and check
new results
0 = AC BE (Best Effort)
1, 2 = AC BK (Background)
3 = AC BE NQOS (Best Effort no QoS)
4, 5 = AC VI (Video first)
6, 7 = AC VO (Voice first)
Introduction Tutorial C6 Conclusion
T0: Eclipse Configuration 1/5
Copy the third tutorial (tutorial 3 qos.cc) into the scratch
folder: /home/student/ns-allinone-3.23/ns-3.23/scratch
Introduction Tutorial C6 Conclusion
T0: Eclipse Configuration 2/5
Open the copied file in Eclipse environment
Introduction Tutorial C6 Conclusion
T0: Eclipse Configuration 3/5
Run → Run configuration
Introduction Tutorial C6 Conclusion
T0: Eclipse Configuration 4/5
Search project → tutorial 3 qos → Run
Introduction Tutorial C6 Conclusion
T0: Eclipse Configuration 5/5
Introduction Tutorial C6 Conclusion
T1: QoS Implementation 1/2
void ReceivePacket (Ptr <const Packet > packet , const
Address &)
{
NS_LOG_UNCOND ("Received one packet!");
QosTag q_tag;
if (packet ->PeekPacketTag(q_tag))
{
NS_LOG_UNCOND ("Packet Tag value " << (int)q_tag.
GetTid ());
}
}
void TagMarker (uint8_t tid , Ptr <const Packet > packet)
{
QosTag qosTag;
qosTag.SetTid(tid);
packet ->AddPacketTag (qosTag);
}
Introduction Tutorial C6 Conclusion
T1: QoS Implementation 2/2
Ptr <OnOffApplication > onoffapp;
onoffapp = DynamicCast <OnOffApplication >( serverApps.
Get (0));
onoffapp -> TraceConnectWithoutContext ("Tx",
MakeBoundCallback (& TagMarker ,3));
// -----------------------------
Ptr <OnOffApplication > onoffapp2;
onoffapp2 = DynamicCast <OnOffApplication >(
serverApps2.Get (0));
onoffapp2 -> TraceConnectWithoutContext ("Tx",
MakeBoundCallback (& TagMarker ,5));
// -----------------------------
Config :: ConnectWithoutContext ("/NodeList /0/
ApplicationList /5/ $ns3 :: PacketSink/Rx",
MakeCallback (& ReceivePacket));
Introduction Tutorial C6 Conclusion
T3: Simulation 1/3
Populating routing tables
Introduction Tutorial C6 Conclusion
T3: Simulation 2/3
UDP communication - VoIP (voice/video)
Introduction Tutorial C6 Conclusion
T3: Simulation 3/3
TCP communication - FTP (data transfer)
Introduction Tutorial C6 Conclusion
T3: FlowMonitor - QoS = 6 (voice/video)
Flow ID: 2 Src Addr 10.1.3.1 Dst Addr 10.1.3.6
Tx Packets = 508
Rx Packets = 508
Delay Sum = +287402154072.0 ns
Delay = +565752271.0 nsns
Delay = +565.0 nsms
Jitter Sum = +5085947027.0 ns
Jitter = +10031453.0 nsns
Throughput: 590.069 Kbps
Lost Packets = 0
Introduction Tutorial C6 Conclusion
T3: QoS Config – Wireshark
FTP (data traffic; TCP)
VoIP (video; UDP)
Introduction Tutorial C6 Conclusion
T3: GnuPlot - Flows Delay
Open terminal (go to
/home/student/ns-allinone-3.23/ns-3.23) → gnuplot
delay.plt
Open delay.png
Introduction Tutorial C6 Conclusion
Final Conclusion
D2D communication utilizing WiFi Direct
Static routing
Routing protocols (AODV, DSDV, etc.)
QoS tag added for any data flow → tested in Wireshark
Visualization using netAnim tool
Results automatically generated by GnuPlot and
FlowMonitor
Introduction Tutorial C6 Conclusion
Thank you for your attention.
Pavel Masek, Jiri Hosek
masekpavel@feec.vutbr.cz, hosek@feec.vutbr.cz
Brno University of Technology,
Faculty of Electrical Engineering and Communication,
Department of Telecommunication.

More Related Content

What's hot

LibOS as a regression test framework for Linux networking #netdev1.1
LibOS as a regression test framework for Linux networking #netdev1.1LibOS as a regression test framework for Linux networking #netdev1.1
LibOS as a regression test framework for Linux networking #netdev1.1
Hajime Tazaki
 
Network Stack in Userspace (NUSE)
Network Stack in Userspace (NUSE)Network Stack in Userspace (NUSE)
Network Stack in Userspace (NUSE)
Hajime Tazaki
 
PASTE: Network Stacks Must Integrate with NVMM Abstractions
PASTE: Network Stacks Must Integrate with NVMM AbstractionsPASTE: Network Stacks Must Integrate with NVMM Abstractions
PASTE: Network Stacks Must Integrate with NVMM Abstractions
micchie
 
VLANs in the Linux Kernel
VLANs in the Linux KernelVLANs in the Linux Kernel
VLANs in the Linux Kernel
Kernel TLV
 
GTC Japan 2016 Chainer feature introduction
GTC Japan 2016 Chainer feature introductionGTC Japan 2016 Chainer feature introduction
GTC Japan 2016 Chainer feature introduction
Kenta Oono
 
Linux rumpkernel - ABC2018 (AsiaBSDCon 2018)
Linux rumpkernel - ABC2018 (AsiaBSDCon 2018)Linux rumpkernel - ABC2018 (AsiaBSDCon 2018)
Linux rumpkernel - ABC2018 (AsiaBSDCon 2018)
Hajime Tazaki
 
Linux Kernel Library - Reusing Monolithic Kernel
Linux Kernel Library - Reusing Monolithic KernelLinux Kernel Library - Reusing Monolithic Kernel
Linux Kernel Library - Reusing Monolithic Kernel
Hajime Tazaki
 
NUSE (Network Stack in Userspace) at #osio
NUSE (Network Stack in Userspace) at #osioNUSE (Network Stack in Userspace) at #osio
NUSE (Network Stack in Userspace) at #osio
Hajime Tazaki
 
Tsn linux elce17
Tsn linux elce17Tsn linux elce17
Tsn linux elce17
henrikau
 
CETH for XDP [Linux Meetup Santa Clara | July 2016]
CETH for XDP [Linux Meetup Santa Clara | July 2016] CETH for XDP [Linux Meetup Santa Clara | July 2016]
CETH for XDP [Linux Meetup Santa Clara | July 2016]
IO Visor Project
 
Linux Kernel Cryptographic API and Use Cases
Linux Kernel Cryptographic API and Use CasesLinux Kernel Cryptographic API and Use Cases
Linux Kernel Cryptographic API and Use Cases
Kernel TLV
 
Network emulator
Network emulatorNetwork emulator
Network emulatorjeromy fu
 
Kernel Recipes 2017 - EBPF and XDP - Eric Leblond
Kernel Recipes 2017 - EBPF and XDP - Eric LeblondKernel Recipes 2017 - EBPF and XDP - Eric Leblond
Kernel Recipes 2017 - EBPF and XDP - Eric Leblond
Anne Nicolas
 
Network stack personality in Android phone - netdev 2.2
Network stack personality in Android phone - netdev 2.2Network stack personality in Android phone - netdev 2.2
Network stack personality in Android phone - netdev 2.2
Hajime Tazaki
 
Time Sensitive Networking in the Linux Kernel
Time Sensitive Networking in the Linux KernelTime Sensitive Networking in the Linux Kernel
Time Sensitive Networking in the Linux Kernel
henrikau
 
Library Operating System for Linux #netdev01
Library Operating System for Linux #netdev01Library Operating System for Linux #netdev01
Library Operating System for Linux #netdev01
Hajime Tazaki
 
ENHANCING PERFORMANCE OF AN HPC CLUSTER BY ADOPTING NONDEDICATED NODES
ENHANCING PERFORMANCE OF AN HPC CLUSTER BY ADOPTING NONDEDICATED NODES ENHANCING PERFORMANCE OF AN HPC CLUSTER BY ADOPTING NONDEDICATED NODES
ENHANCING PERFORMANCE OF AN HPC CLUSTER BY ADOPTING NONDEDICATED NODES
csandit
 
Preparing OpenSHMEM for Exascale
Preparing OpenSHMEM for ExascalePreparing OpenSHMEM for Exascale
Preparing OpenSHMEM for Exascale
inside-BigData.com
 

What's hot (20)

LibOS as a regression test framework for Linux networking #netdev1.1
LibOS as a regression test framework for Linux networking #netdev1.1LibOS as a regression test framework for Linux networking #netdev1.1
LibOS as a regression test framework for Linux networking #netdev1.1
 
Network Stack in Userspace (NUSE)
Network Stack in Userspace (NUSE)Network Stack in Userspace (NUSE)
Network Stack in Userspace (NUSE)
 
PASTE: Network Stacks Must Integrate with NVMM Abstractions
PASTE: Network Stacks Must Integrate with NVMM AbstractionsPASTE: Network Stacks Must Integrate with NVMM Abstractions
PASTE: Network Stacks Must Integrate with NVMM Abstractions
 
VLANs in the Linux Kernel
VLANs in the Linux KernelVLANs in the Linux Kernel
VLANs in the Linux Kernel
 
GTC Japan 2016 Chainer feature introduction
GTC Japan 2016 Chainer feature introductionGTC Japan 2016 Chainer feature introduction
GTC Japan 2016 Chainer feature introduction
 
Linux rumpkernel - ABC2018 (AsiaBSDCon 2018)
Linux rumpkernel - ABC2018 (AsiaBSDCon 2018)Linux rumpkernel - ABC2018 (AsiaBSDCon 2018)
Linux rumpkernel - ABC2018 (AsiaBSDCon 2018)
 
Linux Kernel Library - Reusing Monolithic Kernel
Linux Kernel Library - Reusing Monolithic KernelLinux Kernel Library - Reusing Monolithic Kernel
Linux Kernel Library - Reusing Monolithic Kernel
 
NUSE (Network Stack in Userspace) at #osio
NUSE (Network Stack in Userspace) at #osioNUSE (Network Stack in Userspace) at #osio
NUSE (Network Stack in Userspace) at #osio
 
Tsn linux elce17
Tsn linux elce17Tsn linux elce17
Tsn linux elce17
 
CETH for XDP [Linux Meetup Santa Clara | July 2016]
CETH for XDP [Linux Meetup Santa Clara | July 2016] CETH for XDP [Linux Meetup Santa Clara | July 2016]
CETH for XDP [Linux Meetup Santa Clara | July 2016]
 
Linux Kernel Cryptographic API and Use Cases
Linux Kernel Cryptographic API and Use CasesLinux Kernel Cryptographic API and Use Cases
Linux Kernel Cryptographic API and Use Cases
 
Network emulator
Network emulatorNetwork emulator
Network emulator
 
Kernel Recipes 2017 - EBPF and XDP - Eric Leblond
Kernel Recipes 2017 - EBPF and XDP - Eric LeblondKernel Recipes 2017 - EBPF and XDP - Eric Leblond
Kernel Recipes 2017 - EBPF and XDP - Eric Leblond
 
Network stack personality in Android phone - netdev 2.2
Network stack personality in Android phone - netdev 2.2Network stack personality in Android phone - netdev 2.2
Network stack personality in Android phone - netdev 2.2
 
Open shmem
Open shmemOpen shmem
Open shmem
 
Time Sensitive Networking in the Linux Kernel
Time Sensitive Networking in the Linux KernelTime Sensitive Networking in the Linux Kernel
Time Sensitive Networking in the Linux Kernel
 
Library Operating System for Linux #netdev01
Library Operating System for Linux #netdev01Library Operating System for Linux #netdev01
Library Operating System for Linux #netdev01
 
ENHANCING PERFORMANCE OF AN HPC CLUSTER BY ADOPTING NONDEDICATED NODES
ENHANCING PERFORMANCE OF AN HPC CLUSTER BY ADOPTING NONDEDICATED NODES ENHANCING PERFORMANCE OF AN HPC CLUSTER BY ADOPTING NONDEDICATED NODES
ENHANCING PERFORMANCE OF AN HPC CLUSTER BY ADOPTING NONDEDICATED NODES
 
Om net++
Om net++Om net++
Om net++
 
Preparing OpenSHMEM for Exascale
Preparing OpenSHMEM for ExascalePreparing OpenSHMEM for Exascale
Preparing OpenSHMEM for Exascale
 

Viewers also liked

An overview of D2D in 3GPP LTE standard
An overview of D2D in 3GPP LTE standardAn overview of D2D in 3GPP LTE standard
An overview of D2D in 3GPP LTE standard
ssk
 
3 4 b4-g_workshop_d2d_based_comm_v2
3 4 b4-g_workshop_d2d_based_comm_v23 4 b4-g_workshop_d2d_based_comm_v2
3 4 b4-g_workshop_d2d_based_comm_v2ssk
 
TERM PAPER REVIEW FINAL-VIKAS
TERM PAPER REVIEW FINAL-VIKASTERM PAPER REVIEW FINAL-VIKAS
TERM PAPER REVIEW FINAL-VIKASvikas choudhary
 
A survey on Device-to-Device Communication
A survey on Device-to-Device CommunicationA survey on Device-to-Device Communication
A survey on Device-to-Device CommunicationKuldeep Narayan Singh
 
Device to Device communication
Device to Device communicationDevice to Device communication
Device to Device communication
Sharu Sparky
 
Enabling D2D communication in mmWave 5G networks
Enabling D2D communication in mmWave 5G networks Enabling D2D communication in mmWave 5G networks
Enabling D2D communication in mmWave 5G networks
Bayar shahab
 
D2D - Device to Device Communication
D2D - Device to Device CommunicationD2D - Device to Device Communication
D2D - Device to Device Communication
Francisco Bento da Silva Neto
 
SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014
SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014
SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014
SAMeh Zaghloul
 
Transmission media
Transmission mediaTransmission media
Transmission media
kinish kumar
 
Data communication and network Chapter -1
Data communication and network Chapter -1Data communication and network Chapter -1
Data communication and network Chapter -1
Zafar Ayub
 

Viewers also liked (12)

An overview of D2D in 3GPP LTE standard
An overview of D2D in 3GPP LTE standardAn overview of D2D in 3GPP LTE standard
An overview of D2D in 3GPP LTE standard
 
3 4 b4-g_workshop_d2d_based_comm_v2
3 4 b4-g_workshop_d2d_based_comm_v23 4 b4-g_workshop_d2d_based_comm_v2
3 4 b4-g_workshop_d2d_based_comm_v2
 
TERM PAPER REVIEW FINAL-VIKAS
TERM PAPER REVIEW FINAL-VIKASTERM PAPER REVIEW FINAL-VIKAS
TERM PAPER REVIEW FINAL-VIKAS
 
A survey on Device-to-Device Communication
A survey on Device-to-Device CommunicationA survey on Device-to-Device Communication
A survey on Device-to-Device Communication
 
Device to Device communication
Device to Device communicationDevice to Device communication
Device to Device communication
 
Use case
Use caseUse case
Use case
 
Enabling D2D communication in mmWave 5G networks
Enabling D2D communication in mmWave 5G networks Enabling D2D communication in mmWave 5G networks
Enabling D2D communication in mmWave 5G networks
 
D2D - Device to Device Communication
D2D - Device to Device CommunicationD2D - Device to Device Communication
D2D - Device to Device Communication
 
SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014
SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014
SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014
 
D2DCommunication
D2DCommunicationD2DCommunication
D2DCommunication
 
Transmission media
Transmission mediaTransmission media
Transmission media
 
Data communication and network Chapter -1
Data communication and network Chapter -1Data communication and network Chapter -1
Data communication and network Chapter -1
 

Similar to DCCN 2016 - Tutorial 3 - QoS for D2D

Enabling 5G through end-to-end wireless and optical orchestration
Enabling 5G through end-to-end wireless and optical orchestrationEnabling 5G through end-to-end wireless and optical orchestration
Enabling 5G through end-to-end wireless and optical orchestration
Johann Marquez-Barja
 
Ns fundamentals 1
Ns fundamentals 1Ns fundamentals 1
Ns fundamentals 1
narmada alaparthi
 
Cotopaxi - IoT testing toolkit (Black Hat Asia 2019 Arsenal)
Cotopaxi - IoT testing toolkit (Black Hat Asia 2019 Arsenal)Cotopaxi - IoT testing toolkit (Black Hat Asia 2019 Arsenal)
Cotopaxi - IoT testing toolkit (Black Hat Asia 2019 Arsenal)
Jakub Botwicz
 
Service Function Chaining in Openstack Neutron
Service Function Chaining in Openstack NeutronService Function Chaining in Openstack Neutron
Service Function Chaining in Openstack Neutron
Michelle Holley
 
IWAN Lab Guide
IWAN Lab GuideIWAN Lab Guide
IWAN Lab Guide
jww330015
 
Auto call setup for xcal series 3.x.xx udp
Auto call setup for xcal series 3.x.xx udpAuto call setup for xcal series 3.x.xx udp
Auto call setup for xcal series 3.x.xx udp
Outsource Benchmarking Projectss
 
Coscup2021 open source network os for datacenter
Coscup2021  open source network os for datacenterCoscup2021  open source network os for datacenter
Coscup2021 open source network os for datacenter
Dung-Ru Tsai
 
Introduction to Building Communication Protocols
Introduction to Building Communication Protocols Introduction to Building Communication Protocols
Introduction to Building Communication Protocols
Mahmoud Ahmed
 
Best practices for catalyst 4500 4000, 5500-5000, and 6500-6000 series switch...
Best practices for catalyst 4500 4000, 5500-5000, and 6500-6000 series switch...Best practices for catalyst 4500 4000, 5500-5000, and 6500-6000 series switch...
Best practices for catalyst 4500 4000, 5500-5000, and 6500-6000 series switch...
abdenour boussioud
 
Functional and non-functional testing with IoT-Testware
Functional and non-functional testing with IoT-TestwareFunctional and non-functional testing with IoT-Testware
Functional and non-functional testing with IoT-Testware
Axel Rennoch
 
The IEEE 1149.1 Boundary-scan test standard
The IEEE 1149.1 Boundary-scan test standardThe IEEE 1149.1 Boundary-scan test standard
The IEEE 1149.1 Boundary-scan test standard
Jose Manuel Martins Ferreira
 
C++ neural networks and fuzzy logic
C++ neural networks and fuzzy logicC++ neural networks and fuzzy logic
C++ neural networks and fuzzy logicJamerson Ramos
 
Low Power High-Performance Computing on the BeagleBoard Platform
Low Power High-Performance Computing on the BeagleBoard PlatformLow Power High-Performance Computing on the BeagleBoard Platform
Low Power High-Performance Computing on the BeagleBoard Platform
a3labdsp
 
Advanced Testing with TTCN-3 and UML Testing Profile
Advanced Testing with TTCN-3 and UML Testing ProfileAdvanced Testing with TTCN-3 and UML Testing Profile
Advanced Testing with TTCN-3 and UML Testing Profile
Axel Rennoch
 
Qo s based mac protocol for medical wireless body area sensor networks
Qo s based mac protocol for medical wireless body area sensor networksQo s based mac protocol for medical wireless body area sensor networks
Qo s based mac protocol for medical wireless body area sensor networksIffat Anjum
 
WiMAX implementation in ns3
WiMAX implementation in ns3WiMAX implementation in ns3
WiMAX implementation in ns3
Mustafa Khaleel
 
BRKRST-3066 - Troubleshooting Nexus 7000 (2013 Melbourne) - 2 Hours.pdf
BRKRST-3066 - Troubleshooting Nexus 7000 (2013 Melbourne) - 2 Hours.pdfBRKRST-3066 - Troubleshooting Nexus 7000 (2013 Melbourne) - 2 Hours.pdf
BRKRST-3066 - Troubleshooting Nexus 7000 (2013 Melbourne) - 2 Hours.pdf
aaajjj4
 

Similar to DCCN 2016 - Tutorial 3 - QoS for D2D (20)

Enabling 5G through end-to-end wireless and optical orchestration
Enabling 5G through end-to-end wireless and optical orchestrationEnabling 5G through end-to-end wireless and optical orchestration
Enabling 5G through end-to-end wireless and optical orchestration
 
Ns fundamentals 1
Ns fundamentals 1Ns fundamentals 1
Ns fundamentals 1
 
Cotopaxi - IoT testing toolkit (Black Hat Asia 2019 Arsenal)
Cotopaxi - IoT testing toolkit (Black Hat Asia 2019 Arsenal)Cotopaxi - IoT testing toolkit (Black Hat Asia 2019 Arsenal)
Cotopaxi - IoT testing toolkit (Black Hat Asia 2019 Arsenal)
 
Service Function Chaining in Openstack Neutron
Service Function Chaining in Openstack NeutronService Function Chaining in Openstack Neutron
Service Function Chaining in Openstack Neutron
 
opnet lab report
opnet lab reportopnet lab report
opnet lab report
 
IWAN Lab Guide
IWAN Lab GuideIWAN Lab Guide
IWAN Lab Guide
 
Glomosim scenarios
Glomosim scenariosGlomosim scenarios
Glomosim scenarios
 
Auto call setup for xcal series 3.x.xx udp
Auto call setup for xcal series 3.x.xx udpAuto call setup for xcal series 3.x.xx udp
Auto call setup for xcal series 3.x.xx udp
 
UDP Report
UDP ReportUDP Report
UDP Report
 
Coscup2021 open source network os for datacenter
Coscup2021  open source network os for datacenterCoscup2021  open source network os for datacenter
Coscup2021 open source network os for datacenter
 
Introduction to Building Communication Protocols
Introduction to Building Communication Protocols Introduction to Building Communication Protocols
Introduction to Building Communication Protocols
 
Best practices for catalyst 4500 4000, 5500-5000, and 6500-6000 series switch...
Best practices for catalyst 4500 4000, 5500-5000, and 6500-6000 series switch...Best practices for catalyst 4500 4000, 5500-5000, and 6500-6000 series switch...
Best practices for catalyst 4500 4000, 5500-5000, and 6500-6000 series switch...
 
Functional and non-functional testing with IoT-Testware
Functional and non-functional testing with IoT-TestwareFunctional and non-functional testing with IoT-Testware
Functional and non-functional testing with IoT-Testware
 
The IEEE 1149.1 Boundary-scan test standard
The IEEE 1149.1 Boundary-scan test standardThe IEEE 1149.1 Boundary-scan test standard
The IEEE 1149.1 Boundary-scan test standard
 
C++ neural networks and fuzzy logic
C++ neural networks and fuzzy logicC++ neural networks and fuzzy logic
C++ neural networks and fuzzy logic
 
Low Power High-Performance Computing on the BeagleBoard Platform
Low Power High-Performance Computing on the BeagleBoard PlatformLow Power High-Performance Computing on the BeagleBoard Platform
Low Power High-Performance Computing on the BeagleBoard Platform
 
Advanced Testing with TTCN-3 and UML Testing Profile
Advanced Testing with TTCN-3 and UML Testing ProfileAdvanced Testing with TTCN-3 and UML Testing Profile
Advanced Testing with TTCN-3 and UML Testing Profile
 
Qo s based mac protocol for medical wireless body area sensor networks
Qo s based mac protocol for medical wireless body area sensor networksQo s based mac protocol for medical wireless body area sensor networks
Qo s based mac protocol for medical wireless body area sensor networks
 
WiMAX implementation in ns3
WiMAX implementation in ns3WiMAX implementation in ns3
WiMAX implementation in ns3
 
BRKRST-3066 - Troubleshooting Nexus 7000 (2013 Melbourne) - 2 Hours.pdf
BRKRST-3066 - Troubleshooting Nexus 7000 (2013 Melbourne) - 2 Hours.pdfBRKRST-3066 - Troubleshooting Nexus 7000 (2013 Melbourne) - 2 Hours.pdf
BRKRST-3066 - Troubleshooting Nexus 7000 (2013 Melbourne) - 2 Hours.pdf
 

Recently uploaded

Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
Alex Pruden
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 

Recently uploaded (20)

Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 

DCCN 2016 - Tutorial 3 - QoS for D2D

  • 1. Introduction Tutorial C6 Conclusion DCCN Tutorial C6: Implementation of QoS mechanisms for Device-to-Device (D2D) communication Pavel Masek, Jiri Hosek Brno University of Technology, Faculty of Electrical Engineering and Communication, Department of Telecommunication. masekpavel@feec.vutbr.cz, hosek@feec.vutbr.cz November 24, 2016
  • 2. Introduction Tutorial C6 Conclusion WISLAB Research Group – http://www.wislab.cz WISLAB - Wireless System Laboratory of Brno Coordinated by Dr. Hosek Experienced researchers and MSc. / Ph.D. students Working with the up-to-date equipment Nowadays, focused mainly on the IoT domain Communication in 4G / 5G mobile networks Intel US, Huawei, AT&T, TUT, IITIS, PFUR, SUAI SmartHome Gateway Telekom Austria Group Wearables Augmented reality, smart glasses MTC Communication in NS-3 Member of well-known alliances AllSeen Alliance or HGi Contributor to 3GPP standards and recommendations
  • 3. Introduction Tutorial C6 Conclusion DCCN Tutorials: Agenda Tutorial #1 [Wed 23.11.16] - Communication between devices within LAN/WLAN networks Tutorial #2 [Thu 24.11.16] - Implementation of 4G cellular communication within the SmartGrid ecosystem Tutorial #3 [Thu 24.11.16] - Implementation of QoS mechanisms for Device-to-Device (D2D) communication between mobile devices Main goal From basic network topology to advanced communication mechanisms used in today’s IoT/M2M scenarios – utilizing Network Simulator 3 (NS-3) tool for timely use-cases
  • 4. Introduction Tutorial C6 Conclusion Network Scenario Mobile nodes located in grid (initial position) Communication without the AP → D2D communication RandomWalk2d mobility model QoS implementation – made from scratch, not implemented in NS-3 by default
  • 5. Introduction Tutorial C6 Conclusion Tasks 1 Check structure of given code, understand to QoS implementation 2 Run the prepared simulation scenario 3 View *.xml output files via netAnim, explore tracing *.pcap files using Wireshark, generate GnuPlot file for flow delay 4 Modify the QoS configuration for data flows and check new results 0 = AC BE (Best Effort) 1, 2 = AC BK (Background) 3 = AC BE NQOS (Best Effort no QoS) 4, 5 = AC VI (Video first) 6, 7 = AC VO (Voice first)
  • 6. Introduction Tutorial C6 Conclusion T0: Eclipse Configuration 1/5 Copy the third tutorial (tutorial 3 qos.cc) into the scratch folder: /home/student/ns-allinone-3.23/ns-3.23/scratch
  • 7. Introduction Tutorial C6 Conclusion T0: Eclipse Configuration 2/5 Open the copied file in Eclipse environment
  • 8. Introduction Tutorial C6 Conclusion T0: Eclipse Configuration 3/5 Run → Run configuration
  • 9. Introduction Tutorial C6 Conclusion T0: Eclipse Configuration 4/5 Search project → tutorial 3 qos → Run
  • 10. Introduction Tutorial C6 Conclusion T0: Eclipse Configuration 5/5
  • 11. Introduction Tutorial C6 Conclusion T1: QoS Implementation 1/2 void ReceivePacket (Ptr <const Packet > packet , const Address &) { NS_LOG_UNCOND ("Received one packet!"); QosTag q_tag; if (packet ->PeekPacketTag(q_tag)) { NS_LOG_UNCOND ("Packet Tag value " << (int)q_tag. GetTid ()); } } void TagMarker (uint8_t tid , Ptr <const Packet > packet) { QosTag qosTag; qosTag.SetTid(tid); packet ->AddPacketTag (qosTag); }
  • 12. Introduction Tutorial C6 Conclusion T1: QoS Implementation 2/2 Ptr <OnOffApplication > onoffapp; onoffapp = DynamicCast <OnOffApplication >( serverApps. Get (0)); onoffapp -> TraceConnectWithoutContext ("Tx", MakeBoundCallback (& TagMarker ,3)); // ----------------------------- Ptr <OnOffApplication > onoffapp2; onoffapp2 = DynamicCast <OnOffApplication >( serverApps2.Get (0)); onoffapp2 -> TraceConnectWithoutContext ("Tx", MakeBoundCallback (& TagMarker ,5)); // ----------------------------- Config :: ConnectWithoutContext ("/NodeList /0/ ApplicationList /5/ $ns3 :: PacketSink/Rx", MakeCallback (& ReceivePacket));
  • 13. Introduction Tutorial C6 Conclusion T3: Simulation 1/3 Populating routing tables
  • 14. Introduction Tutorial C6 Conclusion T3: Simulation 2/3 UDP communication - VoIP (voice/video)
  • 15. Introduction Tutorial C6 Conclusion T3: Simulation 3/3 TCP communication - FTP (data transfer)
  • 16. Introduction Tutorial C6 Conclusion T3: FlowMonitor - QoS = 6 (voice/video) Flow ID: 2 Src Addr 10.1.3.1 Dst Addr 10.1.3.6 Tx Packets = 508 Rx Packets = 508 Delay Sum = +287402154072.0 ns Delay = +565752271.0 nsns Delay = +565.0 nsms Jitter Sum = +5085947027.0 ns Jitter = +10031453.0 nsns Throughput: 590.069 Kbps Lost Packets = 0
  • 17. Introduction Tutorial C6 Conclusion T3: QoS Config – Wireshark FTP (data traffic; TCP) VoIP (video; UDP)
  • 18. Introduction Tutorial C6 Conclusion T3: GnuPlot - Flows Delay Open terminal (go to /home/student/ns-allinone-3.23/ns-3.23) → gnuplot delay.plt Open delay.png
  • 19. Introduction Tutorial C6 Conclusion Final Conclusion D2D communication utilizing WiFi Direct Static routing Routing protocols (AODV, DSDV, etc.) QoS tag added for any data flow → tested in Wireshark Visualization using netAnim tool Results automatically generated by GnuPlot and FlowMonitor
  • 20. Introduction Tutorial C6 Conclusion Thank you for your attention. Pavel Masek, Jiri Hosek masekpavel@feec.vutbr.cz, hosek@feec.vutbr.cz Brno University of Technology, Faculty of Electrical Engineering and Communication, Department of Telecommunication.