Wireless scheduling analysis (With ns3) By Pradeep Prathik Saisundatr.

Slides:



Advertisements
Similar presentations
A DISTRIBUTED CSMA ALGORITHM FOR THROUGHPUT AND UTILITY MAXIMIZATION IN WIRELESS NETWORKS.
Advertisements

Nick Feamster CS 4251 Computer Networking II Spring 2008
Winter 2004 UCSC CMPE252B1 CMPE 257: Wireless and Mobile Networking SET 3f: Medium Access Control Protocols.
Maximum Battery Life Routing to Support Ubiquitous Mobile Computing in Wireless Ad Hoc Networks By C. K. Toh.
Channel Allocation Protocols. Dynamic Channel Allocation Parameters Station Model. –N independent stations, each acting as a Poisson Process for the purpose.
Queuing Network Models for Delay Analysis of Multihop Wireless Ad Hoc Networks Nabhendra Bisnik and Alhussein Abouzeid Rensselaer Polytechnic Institute.
1 An Approach to Real-Time Support in Ad Hoc Wireless Networks Mark Gleeson Distributed Systems Group Dept.
Delay and Throughput in Random Access Wireless Mesh Networks Nabhendra Bisnik, Alhussein Abouzeid ECSE Department Rensselaer Polytechnic Institute (RPI)
1 Distributed Control Algorithms for Service Differentiation in Wireless Packet Networks INFOCOM 2001 Michael Barry, Andrew T. Campbell Andras Veres.
Multi-Channel MAC for Ad Hoc Networks: Handling Multi-Channel Hidden Terminals Using A Single Transceiver Nov 2011 Neng Xue Tianxu Wang.
A Hybrid Approach to Effort- Limited Fair (ELF) Scheduling for By David Matsumoto June 20 th, 2003.
Available Bandwidth Estimation in IEEE Based Wireless Networks Samarth Shah, Kai Chen, Klara Nahrstedt Department of Computer Science University.
Priority Queuing Achieving Flow ‘Fairness’ in Wireless Networks Thomas Shen Prof. K.C. Wang SURE 2005.
Scheduling CS 215 W Keshav Chpt 9 Problem: given N packet streams contending for the same channel, how to schedule pkt transmissions?
Generalized Processing Sharing (GPS) Is work conserving Is a fluid model Service Guarantee –GPS discipline can provide an end-to-end bounded- delay service.
Copyright node This presentation is a subset of the one presented by:
A serve flow management strategy for IEEE BWA system in TDD mode Hsin-Hsien Liu
802.11n MAC layer simulation Submitted by: Niv Tokman Aya Mire Oren Gur-Arie.
CS 5253 Workshop 1 MAC Protocol and Traffic Model.
Distributed Priority Scheduling and Medium Access in Ad Hoc Networks Distributed Priority Scheduling and Medium Access in Ad Hoc Networks Vikram Kanodia.
Distributed Fair Scheduling in a Wireless LAN Gautam Kulkarni EE206A (Spring 2001) Nitin Vaidya, Paramvir Bahl and Seema Gupta (appeared in Mobicom 2000.
1 QoS Schemes for IEEE Wireless LAN – An Evaluation by Anders Lindgren, Andreas Almquist and Olov Schelen Presented by Tony Sung, 10 th Feburary.
Selected Data Rate Packet Loss Channel-error Loss Collision Loss Reduced Packet Probing (RPP) Multirate Adaptation For Multihop Ad Hoc Wireless Networks.
Semester EEE449 Computer Networks The Data Link Layer Part 2: Media Access Control En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex,
Packet Scheduling From Ion Stoica. 2 Packet Scheduling  Decide when and what packet to send on output link -Usually implemented at output interface 1.
Wave Relay System and General Project Details. Wave Relay System Provides seamless multi-hop connectivity Operates at layer 2 of networking stack Seamless.
Delay Analysis of IEEE in Single-Hop Networks Marcel M. Carvalho, J.J.Garcia-Luna-Aceves.
Ethernet. Ethernet Goals Simplicity Low Cost Compatibility Address flexibility Fairness –All nodes have equal access to the network High speed Stability.
Fair Real-time Traffic Scheduling over Wireless Local Area Networks Insik Shin Joint work with M. Adamou, S. Khanna, I. Lee, and S. Zhou Dept. of Computer.
Distributed Fair Scheduling in a Wireless LAN
LECTURE9 NET301. DYNAMIC MAC PROTOCOL: CONTENTION PROTOCOL Carrier Sense Multiple Access (CSMA): A protocol in which a node verifies the absence of other.
Company LOGO Provision of Multimedia Services in based Networks Colin Roby CMSC 681 Fall 2007.
Design and Implementation of a Multi-Channel Multi-Interface Network Chandrakanth Chereddi Pradeep Kyasanur Nitin H. Vaidya University of Illinois at Urbana-Champaign.
Demand Based Bandwidth Assignment MAC Protocol for Wireless LANs K.Murugan, B.Dushyanth, E.Gunasekaran S.Arivuthokai, RS.Bhuvaneswaran, S.Shanmugavel.
Fair Queueing. 2 First-Come-First Served (FIFO) Packets are transmitted in the order of their arrival Advantage: –Very simple to implement Disadvantage:
Load-Balancing Routing in Multichannel Hybrid Wireless Networks With Single Network Interface So, J.; Vaidya, N. H.; Vehicular Technology, IEEE Transactions.
Improving Loss Resilience with Multi- Radio Diversity in Wireless Networks by Allen Miu, Hari Balakrishnan and C.E. Koksal Appeared in ACM MOBICOM 2005,
Packet Scheduling: SCFQ, STFQ, WF2Q Yongho Seok Contents Review: GPS, PGPS SCFQ( Self-clocked fair queuing ) STFQ( Start time fair queuing ) WF2Q( Worst-case.
Access Delay Distribution Estimation in Networks Avideh Zakhor Joint work with: E. Haghani and M. Krishnan.
An Energy Efficient MAC Protocol for Wireless LANs, E.-S. Jung and N.H. Vaidya, INFOCOM 2002, June 2002 吳豐州.
Scheduling CS 218 Fall 02 - Keshav Chpt 9 Nov 5, 2003 Problem: given N packet streams contending for the same channel, how to schedule pkt transmissions?
An Efficient Gigabit Ethernet Switch Model for Large-Scale Simulation Dong (Kevin) Jin.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
Mobility Models for Wireless Ad Hoc Network Research EECS 600 Advanced Network Research, Spring 2005 Instructor: Shudong Jin March 28, 2005.
LECTURE9 NET301 11/5/2015Lect 9 NET DYNAMIC MAC PROTOCOL: CONTENTION PROTOCOL Carrier Sense Multiple Access (CSMA): A protocol in which a node verifies.
An Efficient Gigabit Ethernet Switch Model for Large-Scale Simulation Dong (Kevin) Jin.
Quality of Service Schemes for IEEE Wireless LANs-An Evaluation 主講人 : 黃政偉.
Doc.: IEEE /457 Submission December 2000 Mathilde Benveniste, AT&T Labs - ResearchSlide 1 An Enhanced-DCF Proposal Based on ‘Tiered Contention’
CprE 458/558: Real-Time Systems (G. Manimaran)1 CprE 458/558: Real-Time Systems Energy-aware QoS packet scheduling.
Information Theory for Mobile Ad-Hoc Networks (ITMANET): The FLoWS Project Collision Helps! Algebraic Collision Recovery for Wireless Erasure Networks.
SERENA: SchEduling RoutEr Nodes Activity in wireless ad hoc and sensor networks Pascale Minet and Saoucene Mahfoudh INRIA, Rocquencourt Le Chesnay.
Providing QoS in IP Networks
Scheduling for QoS Management. Engineering Internet QoS2 Outline  What is Queue Management and Scheduling?  Goals of scheduling  Fairness (Conservation.
LA-MAC: A Load Adaptive MAC Protocol for MANETs IEEE Global Telecommunications Conference(GLOBECOM )2009. Presented by Qiang YE Smart Grid Subgroup Meeting.
EA C451 (Internetworking Technologies)
QoS & Queuing Theory CS352.
Lab 7 – CSMA/CD (Data Link Layer Layer)
Wireless Fair Scheduling
Topics in Distributed Wireless Medium Access Control
Multiple Access Mahesh Jangid Assistant Professor JVW University.
IEEE : Wireless LANs ALOHA, Slotted ALOHA
Stratified Round Robin: A Low Complexity Packet Scheduler with Bandwidth Fairness and Bounded Delay Sriram Ramabhadran Joseph Pasquale Presented by Sailesh.
Learning Objectives After interacting with this Learning Object, the learner will be able to: Explain the process of collision detection in CSMA/CD.
Provision of Multimedia Services in based Networks
Scheduling Algorithms in Broad-Band Wireless Networks
Computer Science Division
Subject Name: Adhoc Networks Subject Code: 10CS841
EECS 122: Introduction to Computer Networks Packet Scheduling and QoS
Satellite Packet Communications A UNIT -V Satellite Packet Communications.
کنترل جریان امیدرضا معروضی.
Presentation transcript:

Wireless scheduling analysis (With ns3) By Pradeep Prathik Saisundatr

EFFORT LIMITED FAIR SCHEDULING Wireless links exhibit substantial rates of link errors resulting in significant and unpredictable loss of link capacity. The scheduler model distinguishes between effort (air time spent by flow) and outcome (actual throughput achieved by the flow). Weighted Fair Queuing: Assumes an error free link and distributes effort according to weights provided by an admission module Effort Limited Fair Scheduling: Extension of WFQ but it limits how much effort is given to any specific flow, so that one flow experiencing very high error rates cannot degrade the performance of the entire link. Power Factor: In ELF the scheduler should adjust flow weights in response to errors in order to create an hybrid between effort fairness and outcome fairness, this is called Power Factor.

Power Factor In order to characterize the behaviour of ELF Scheduler, we introduce the following notation. Let us assume we have N flows sharing a link with Bandwidth B. Each flow has a weight W i, a Power Factor P i and an Error Rate E i. We can define the adjusted weight of the flow as : A i = min ( W i / 1 – E i, P i x W i ) The throughput T i for for flow i is given by the product of the transmission time it receives and its success rate, T i = (A i /∑ j A j ) x B x (1- E i ) The highest fraction of the link time that flow can take is P i x W i / (( P i x W i ) + ∑ j ≠ I x W j ) Thus, An ELF scheduler strives to achieve the outcome that is envisioned by users (e.g., weighted link sharing or fixed rate reservations) while limiting the effort spent on a flow using a per flow parameter called the power factor, which can be used to administratively implement a variety of fairness and efficiency policies.

DISTRIBUTED FAIR SCHEDULING Wireless links exhibit substantial rates of link errors resulting in significant and unpredictable loss of link capacity. The DFS protocol borrows SCFQ’s idea of transmitting the packet whose finish tag is the smallest, as well as SCFQ’s mechanism for updating the virtual time. A distributed approach for determining the smallest finish tag is employed, using the back off interval mechanism from IEEE MAC. The essential idea is to choose a back off interval that is proportional to the finish tag of the packet to be transmitted. Power Factor: In ELF the scheduler should adjust flow weights in response to errors in order to create an hybrid between effort fairness and outcome fairness, this is called Power Factor.

IMPLEMENTATION Each node i maintains a local virtual clock v i (t) where v i (t)=0. Now P i k represents the kth packet arriving at the flow at node i on the LAN. Each transmitted packet is tagged with its finish tag. With finish tag Z, node i sets its virtual clock equal to maximum (v i (t), Z). Start and finish tags for a packet are not calculated when the packet arrives. Instead, the tags for a packet are calculated when the packet reaches the front of its flow. When packet P i k reaches the front of its flow at node i, the packet is stamped with start tag S i k calculated as S i k = v(f i k ) denotes the real time when packet reaches the front of the flow. f i k is calculated as follows : f i k = S i k + Scaling Factor * (L_i^K)/φ_k = v(f i k ) + Scaling Factor * (L_i^K)/φ_k The objective of the next step is to choose a back off interval such that a packet with a smaller finish tag will ideally be assigned a smaller back off interval. This step is performed at time f i k Specifically, node i picks a back off interval B i for packet P i k as a function of f i k and the current virtual time v i (f i k ), as follows, B i = | f i k - v i (f i k ) | Now observe that, f i k = S i k + Scaling Factor * (L_i^K)/φ_k. Finally, to reduce the possibility of collisions, we randomize the B i value chosen as B i = * B i Where is a random variable with mean 1. In our simulations, is uniformly distributed in the interval.When this step is performed, a variable named Collision Counter is reset to 0.

COLLISION Collision handling: If a collision occurs (because back off intervals of two or more nodes count down to 0 simultaneously), then the following procedure is used. Let node i be one of the nodes whose transmission has collided with some other node(s).Node i chooses a new back off interval as follows: Increment Collision Counter by 1. Choose new B i, which is uniformly distributed. The above procedure tends to choose a relatively small B i (in the range [1,CollisionWindow]) after the first collision for a packet. The motivation for choosing small Bi after the first collision is as follows: The fact that node i was “a potential winner” of the contention for channel access indicates that it is node i’s turn to transmit in the near future. Therefore, Bi is chosen to be small to increase the probability that node i wins again soon. However, to protect against the situation when too many nodes collide, the range for B i grows exponentially with the number of consecutive collisions.

Fair Real Time Scheduling over a Wireless LAN :Scheduling parameters Periodic packets with soft deadline Packets have constant BitRate Each flow “i” represented by a tuple f i which consists of Period v, Deadline D and Packet loss rate e A(P i k )= Time at which K th packet of a flow f i is ready to be transmitted. D i = Deadline of the flow

Earliest Deadline First A packet P i k is scheduled at time ‘t’ if A(P i k )≤ t ≤ d(P i k ) Where d(P i k ) is the minimum among all the packets d(P i k ) = A(P i k ) + D i

Greatest Degradation First At a scheduling time ‘t’, a packet with maximum degradation value is scheduled. Scheduling performance measure through Throughput System Degradation

NS3 open source licensing (GNU GPLv2) and development model Python scripts or C++ programs alignment with real systems (sockets, device driver interfaces)‏ alignment with input/output standards (pcap traces, ns-2 mobility scripts)‏ testbed integration is a priority modular, documented core

11 ns-3 models Project focus has been on the software core, to date

12 Application The basic model Application Protocol stack Node NetDevice Application Protocol stack Node NetDevice Sockets-like API Channel Packet(s)‏

13 Node basics A Node is a husk of a computer to which applications, stacks, and NICs are added Application “DTN”

14 NetDevices and Channels- similar to NIC cards NetDevices are strongly bound to Channels of a matching type Nodes are architected for multiple interfaces WifiNetDevice WifiChannel

15 Node basics Two key abstractions are maintained: 1) applications use an (asynchronous, for now) sockets API 2) the boundary between IP and layer 2 mimics the boundary at the device-independent sublayer in Linux i.e., Linux Packet Sockets