Flow Charts & Psuedo Code

Slides:



Advertisements
Similar presentations
Dr. Kalpakis CMSC 621, Advanced Operating Systems. Distributed Mutual Exclusion.
Advertisements

1 Agenda TMA2 Feedback TMA3 T821 Bock 2. 2 Packet Switching.
Implementation of the Texas Virtual School Network
Fundamentals of Python: From First Programs Through Data Structures
Comparison and Analysis of FIFO, PQ, and WFQ Disciplines on multimedia
1 Cell Networking Carey Williamson Department of Computer Science University of Calgary.
A Case for Relative Differentiated Services and the Proportional Differentiation Model Constantinos Dovrolis Parameswaran Ramanathan University of Wisconsin-Madison.
1 Distributed Computing Algorithms CSCI Distributed Computing: everything not centralized many processors.
Rheeve: A Plug-n-Play Peer- to-Peer Computing Platform Wang-kee Poon and Jiannong Cao Department of Computing, The Hong Kong Polytechnic University ICDCSW.
ICS 201 Course Overview.
CS335 Principles of Multimedia Systems Multimedia Over IP Networks -- I Hao Jiang Computer Science Department Boston College Nov. 6, 2007.
Session - 14 CONCURRENCY CONTROL CONCURRENCY TECHNIQUES Matakuliah: M0184 / Pengolahan Data Distribusi Tahun: 2005 Versi:
1-1 ICS201: Introduction To Computer Science King Fahd University of Petroleum & Minerals College of Computer Science & Engineering Information & Computer.
Course Material: webcourses.kfupm.edu.sa
Chapter 1 Read (again) chapter 1.
Kyushu University Graduate School of Information Science and Electrical Engineering Department of Advanced Information Technology Supervisor: Professor.
SynchronizationCS-4513, D-Term Synchronization in Distributed Systems CS-4513 D-Term 2007 (Slides include materials from Operating System Concepts,
Updated 1/20021 SMDS Nirmala Shenoy Information technology Department Rochester Institute of Technology.
Synchronization in Distributed Systems CS-4513 D-term Synchronization in Distributed Systems CS-4513 Distributed Computing Systems (Slides include.
Optical Ring Networks Research over MAC protocols for optical ring networks with packet switching. MAC protocols divide the ring bandwidth according to.
Systems Architecture, Fourth Edition1 Internet and Distributed Application Services Chapter 13.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
Research on Networked Structural Laboratories in China Jiping RU 1) ; Yan XIAO 2) ; Xilin LU 3) ; 1)National Natural Science Foundation of China 2) Hunan.
Efficient Scheduling of Heterogeneous Continuous Queries Mohamed A. Sharaf Panos K. Chrysanthis Alexandros Labrinidis Kirk Pruhs Advanced Data Management.
Advanced Network Architecture Research Group 2001/11/149 th International Conference on Network Protocols Scalable Socket Buffer Tuning for High-Performance.
Inter-process Communication and Coordination Chaitanya Sambhara CSC 8320 Advanced Operating Systems.
INTERNATIONAL GRADUATE PARTNERSHIP DUAL DEGREE OPTIONS BOSTON UNIVERSITY ADMINISTRATIVE SCIENCES METROPOLITAN COLLEGE Kip Becker, Chairman
College of Engineering Non-uniform Grid- based Coordinated Routing Priyanka Kadiyala Major Advisor: Dr. Robert Akl Department of Computer Science and Engineering.
An Efficient Approach for Content Delivery in Overlay Networks Mohammad Malli Chadi Barakat, Walid Dabbous Planete Project To appear in proceedings of.
Scheduling Strategies Operating Systems Spring 2004 Class #10.
Wireless Trace Analysis Suyong Lee and Renata Aryanti Advisor: Prof. Suman Banerjee With assistance of : Vladimir Brik and Michael Blodget Fall 2007.
Evolution of the Internet. 1960s  U.S.Department of Defense - Cold War with communist countries - Fear of Nuclear War - Need for global communication.
S.Sathya M.Victor Jose Department of Computer Science and Engineer Noorul Islam Centre for Higher Education Kumaracoil,Tamilnadu,IndiaPROCEEDINGS OF ICETECT.
Summer Chamber of Commerce & Industry, Eastern Province Done By: Abdullah G. K. Baig ICS Student, ID# King Fahd University of Petroleum.
Network Emulation for the Study and Validation of Traffic Models, Congestion and Flow Control in TCP/IP Networks Cheryl Pope Lecturer Department of Computer.
Lecture (Mar 23, 2000) H/W Assignment 3 posted on Web –Due Tuesday March 28, 2000 Review of Data packets LANS WANS.
The Client-Server Model And the Socket API. Client-Server (1) The datagram service does not require cooperation between the peer applications but such.
G.v. Bochmann, revised Jan Comm Systems Arch 1 Different system architectures Object-oriented architecture (only objects, no particular structure)
Scheduling Mechanisms Applied to Packets in a Network Flow CSC /15/03 By Chris Hare, Ricky Johnson, and Fulviu Borcan.
© Oxford University Press All rights reserved. Data Structures Using C, 2e Reema Thareja.
Networking Basics.
Contents. Goal and Overview. Ingredients. The Page Model.
OPERATING SYSTEMS CS 3502 Fall 2017
Data Structures Using C, 2e
Design and implementation of
Design Components are Code Components
Introduction to Load Balancing:
Transactional Information Systems - Chapter 2. ML Lab 나 용 찬
Computational Models Database Lab Minji Jo.
Chapter 3 Internet Applications and Network Programming
CHU HAI COLLEGE OF HIGHER EDUCATION DEPARTMENT OF COMPUTER SCIENCE Preparation of Mid-Term Progress Report Bachelor of Science in Computer Science.
OPERATING SYSTEMS CS3502 Fall 2017
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S
ONOS Drake Release September 2015.
Computer Network Performance Measures
CS 31006: Computer Networks – The Routers
Distributed Shared Memory
UNIX Sockets Outline Homework #1 posted by end of day
What is an Operating System?
Decentralized Distributed Processing
TCP/IP Protocol Suite: Review
Distributed Shared Memory
Objectives To gain a basic understanding of the Programming and Software Development Pathway. To discover career options available within the Programming.
Pouya Ostovari, Jie Wu, and Abdallah Khreishah
MAT 4830 Mathematical Modeling
7- chapter Seven Local Area Networks (LAN)
SOFTWARE DEVELOPMENT LIFE CYCLE
Knowledge Sharing Mechanism in Social Networking for Learning
Representing Higher-order Dependencies in Networks: Hands-on Tasks
Presentation transcript:

Flow Charts & Psuedo Code Priority-based Distributed Floor Control Protocol for Collaborative Applications Cadet Tao-hsiang Chang, Dr. Shankar Banik Department of Mathematics and Computer Science The Citadel, The Military College of South Carolina Goals of the Protocal -First In First Out in high priority -First In First Out in low priority -Distributed Floor Control Flow Charts & Psuedo Code Request Bus Data Bus Receive Request Packet -- if(req_pack.p_used==1){ RQ_1++; if(req_pack.used==1) RQ_0++; } else if(p_msg_to_send==1){ req_pack.p_used=1; DQ_1=RQ_1; RQ_1=0; } else if(req_pack.used==1) RQ_0++; else if(msg_to_send==1){ req_pack.used=1; DQ_0=RQ_0; RQ_0=0; } -- Pass Request packet Receive Wake Up Packet -- if(wu_pack.used==1); else if(DQ_1!=0) DQ_1--; else if(p_msg_to_send==1){ wu_pack.used=1; p_msg_to_send=0; } else if(RQ_1!=0) RQ_1--; else if(DQ_0!=0) DQ_0--; else if(msg_to_send==1){ msg_to_send=0; else if(RQ_0!=0) RQ_0--; Pass Wake Up Packet Abstract Computer supported collaborative applications (video-conferencing, online games, distributed database replications) are popular among Internet users. One important issue in these applications is floor control. Some applications require that the priority of a user should be taken into account while assigning the floor. This implies that the user with higher priority will get the floor before the user with lower priority when both the users have requested for the floor. The rule First In First Out (FIFO) will be maintained if the users have the same priority. Moreover, this coordination should be done without any centralized controller. We propose a priority based distributed floor control protocol for collaborative applications. The Distributed Queue Dual Bus (DQDB) is used as the base of our protocol. We have implemented the protocol using Berkeley Socket Distribution (BSD) Application Programming Interface (API) and tested the protocol on the PlanetLab network. Results & Observation Five node used in the experiment: A: Boston University B: University of Maryland C: Japan Advanced Institute of Science and Technology (JAIST) D: Texas AM University E: National Taiwan University, Department of Information Management Five nodes are used in the experiment. The protocol is tested for different request generation rate at each node with different priority ratio. Average Waiting Time is used as the performance metric. From the results, it is observed that the overall average waiting time increases when the ratio of high priority and low priority floor requests increases. Examples of Protocol Execution Request Order: B0→A1 →D1 →C0 →E1 Expected Order: A1 →D1 →E1 →B0 →C0 (Notion: XY => X has requested a flow with priority Y) (RQ_1,DQ_1,RQ_0,DQ_0) A B C D E 1st Request Packet (0,0,0,0) (0,0,1,0) 2nd Request Packet (1,0,0,0) (1,0,1,0) 3rd Request Packet (0,1,1,0) (2,0,1,0) 4th Request Packet (1,0,0,1) (0,1,2,0) (2,0,2,0) 5th Request Packet (0,2,2,0) 1st Wake Up Packet (0,0,0,1) (0,0,2,0) 2nd Wake Up Packet 3rd Wake Up Packet 4th Wake Up Packet 5th Wake Up Packet Variables in Protocal Implementation On the Nodes:   General: When a node generates a request, it attaches a priority (1:high, 0:low). Node Variables: RQ_1: Number of requests with high priority before the node’s request. DQ_1: Index position of node’s request in the distributed queue for high priority. RQ_0: Number of requests with low priority before the node’s request. DQ_0: Index position of node’s request in the distributed queue for low priority. On the Packets: Request Packet: p_used: Identifies if the packet is used by high priority request. used: Identifies if the packet is used by low priority request.