CPET 565 Mobile Computing Systems Data Dissemination and Management (2) Lecture 8 Hongli Luo Indiana University-Purdue University Fort Wayne.

Slides:



Advertisements
Similar presentations
Dynamic Generation of Data Broadcasting Programs for Dynamic Generation of Data Broadcasting Programs for a Broadcast Disk Array in a Mobile Computing.
Advertisements

February 20, Spatio-Temporal Bandwidth Reuse: A Centralized Scheduling Mechanism for Wireless Mesh Networks Mahbub Alam Prof. Choong Seon Hong.
Dissemination-based Data Delivery Using Broadcast Disks.
Scheduling in Web Server Clusters CS 260 LECTURE 3 From: IBM Technical Report.
Maximum Battery Life Routing to Support Ubiquitous Mobile Computing in Wireless Ad Hoc Networks By C. K. Toh.
TDMA Scheduling in Wireless Sensor Networks
CS 241 Spring 2007 System Programming 1 Queuing Framework for Process Management Evaluation Lecture 20 Klara Nahrstedt.
Introduction to Smartphone Energy Management. Issue 1/2 Rapid expansion of wireless services, mobile data and wireless LANs Greatest limitation: finite.
June 3, 2015Windows Scheduling Problems for Broadcast System 1 Amotz Bar-Noy, and Richard E. Ladner Presented by Qiaosheng Shi.
1 Next Century Challenges: Scalable Coordination in sensor Networks MOBICOMM (1999) Deborah Estrin, Ramesh Govindan, John Heidemann, Satish Kumar Presented.
Harmonic Broadcasting for Video-on- Demand Service Enhanced Harmonic Data Broadcasting And Receiving Scheme For Popular Video Service Li-Shen Juhn and.
Volcano Routing Scheme Routing in a Highly Dynamic Environment Yashar Ganjali Stanford University Joint work with: Nick McKeown SECON 2005, Santa Clara,
Beneficial Caching in Mobile Ad Hoc Networks Bin Tang, Samir Das, Himanshu Gupta Computer Science Department Stony Brook University.
Data Broadcast in Asymmetric Wireless Environments Nitin H. Vaidya Sohail Hameed.
ICNP'061 Benefit-based Data Caching in Ad Hoc Networks Bin Tang, Himanshu Gupta and Samir Das Computer Science Department Stony Brook University.
CS 104 Introduction to Computer Science and Graphics Problems
1 CAPS: A Peer Data Sharing System for Load Mitigation in Cellular Data Networks Young-Bae Ko, Kang-Won Lee, Thyaga Nandagopal Presentation by Tony Sung,
Submitting: Barak Pinhas Gil Fiss Laurent Levy
Data Communication and Networks Lecture 13 Performance December 9, 2004 Joseph Conron Computer Science Department New York University
Queueing Network Model. Single Class Model Open - Infinite stream of arriving customers Closed - Finite population eg Intranet users Indistinguishable.
Online Data Gathering for Maximizing Network Lifetime in Sensor Networks IEEE transactions on Mobile Computing Weifa Liang, YuZhen Liu.
On G-network and resource allocation in multimedia systems 報告者 : 王敬育.
Jianliang XU, Dik L. Lee, and Bo Li Dept. of Computer Science Hong Kong Univ. of Science & Technology April 2002 On Bandwidth Allocation for Data Dissemination.
Internet Queuing Delay Introduction How many packets in the queue? How long a packet takes to go through?
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 34 – Media Server (Part 3) Klara Nahrstedt Spring 2012.
Pipelined Two Step Iterative Matching Algorithms for CIOQ Crossbar Switches Deng Pan and Yuanyuan Yang State University of New York, Stony Brook.
Mobile-to-Mobile Video Recommendation Seshadri Padmanabha Venkatagiri, Mun Choon Chan, Wei Tsang Ooi School of Computing, National University of Singapore.
Dynamic and Decentralized Approaches for Optimal Allocation of Multiple Resources in Virtualized Data Centers Wei Chen, Samuel Hargrove, Heh Miao, Liang.
Fundamental Lower Bound for Node Buffer Size in Intermittently Connected Wireless Networks Yuanzhong Xu, Xinbing Wang Shanghai Jiao Tong University, China.
Massively Distributed Database Systems Broadcasting - Data on air Spring 2014 Ki-Joune Li Pusan National University.
Queuing models Basic definitions, assumptions, and identities Operational laws Little’s law Queuing networks and Jackson’s theorem The importance of think.
جلسه دهم شبکه های کامپیوتری به نــــــــــــام خدا.
Computer Networks Performance Metrics. Performance Metrics Outline Generic Performance Metrics Network performance Measures Components of Hop and End-to-End.
Performance evaluation of adaptive sub-carrier allocation scheme for OFDMA Thesis presentation16th Jan 2007 Author:Li Xiao Supervisor: Professor Riku Jäntti.
Energy-Conserving Access Protocols for Identification Networks By Imrich Chlamtac, Chiara Petrioli, and Jason Redi IEEE/ACM TRANSACTIONS ON NETWORKING,
November 4, 2003APOC 2003 Wuhan, China 1/14 Demand Based Bandwidth Assignment MAC Protocol for Wireless LANs Presented by Ruibiao Qiu Department of Computer.
1 Chapters 8 Overview of Queuing Analysis. Chapter 8 Overview of Queuing Analysis 2 Projected vs. Actual Response Time.
1 Dr. Ali Amiri TCOM 5143 Lecture 8 Capacity Assignment in Centralized Networks.
CSE 535 – Mobile Computing Lecture 8: Data Dissemination Sandeep K. S. Gupta School of Computing and Informatics Arizona State University.
7-1 Introduction to Queueing Theory l Components of a queueing system n probability density function (pdf) of interarrival times n pdf of service times.
Mobile Data Access1 Replication, Caching, Prefetching and Hoarding for Mobile Computing.
Feb 5, ECET 581/CPET/ECET 499 Mobile Computing Technologies & Apps Data Dissemination and Management 2 of 3 Lecture 7 Paul I-Hai Lin, Professor Electrical.
Energy-Efficient Data Caching and Prefetching for Mobile Devices Based on Utility Huaping Shen, Mohan Kumar, Sajal K. Das, and Zhijun Wang P 邱仁傑.
Data Scheduling for Multi-item and transactional Requests in On-demand Broadcast Nitin Pabhu Vijay Kumar MDM 2005.
Data dissemination in wireless computing environments
Content caching and scheduling in wireless networks with elastic and inelastic traffic Group-VI 09CS CS CS30020 Performance Modelling in Computer.
1 Queuing Delay and Queuing Analysis. RECALL: Delays in Packet Switched (e.g. IP) Networks End-to-end delay (simplified) = End-to-end delay (simplified)
Massively Distributed Database Systems Broadcasting - Data on air Spring 2015 Ki-Joune Li Pusan National University.
A Bandwidth Scheduling Algorithm Based on Minimum Interference Traffic in Mesh Mode Xu-Yajing, Li-ZhiTao, Zhong-XiuFang and Xu-HuiMin International Conference.
Wireless Cache Invalidation Schemes with Link Adaptation and Downlink Traffic Presented by Ying Jin.
09/13/04 CDA 6506 Network Architecture and Client/Server Computing Peer-to-Peer Computing and Content Distribution Networks by Zornitza Genova Prodanoff.
The Cellular Concept Early Mobile Communications The Cellular Concept
1 Scheduling Techniques for Broadcasting Popular Media. Amotz Bar-Noy Brooklyn College Richard Ladner Tami Tamir University of Washington.
Feb 5, ECET 581/CPET/ECET 499 Mobile Computing Technologies & Apps Data Dissemination and Management 3 of 4 Lecture 8 Paul I-Hai Lin, Professor Electrical.
-1/16- Maximum Battery Life Routing to Support Ubiquitous Mobile Computing in Wireless Ad Hoc Networks C.-K. Toh, Georgia Institute of Technology IEEE.
Web Server Load Balancing/Scheduling
Web Server Load Balancing/Scheduling
CS 5565 Network Architecture and Protocols
Data Dissemination and Management - Topics
Data Dissemination and Management (2) Lecture 10
Dissemination-based Data Delivery Using Broadcast Disks
Broadcast Information Dissemination
Internet Queuing Delay Introduction
Queuing models Basic definitions, assumptions, and identities
Queuing models Basic definitions, assumptions, and identities
CSE 4340/5349 Mobile Systems Engineering
Queuing Analysis.
CSE 550 Computer Network Design
Waiting Line Models Waiting takes place in virtually every productive process or service. Since the time spent by people and things waiting in line is.
Data Dissemination and Management (2) Lecture 10
Presentation transcript:

CPET 565 Mobile Computing Systems Data Dissemination and Management (2) Lecture 8 Hongli Luo Indiana University-Purdue University Fort Wayne

Data Dissemination and Management - Topics Introduction Introduction Challenges Challenges Data Dissemination Data Dissemination Mobile Data Caching Mobile Data Caching Mobile Cache Maintenance Schemes Mobile Cache Maintenance Schemes Mobile Web Caching Mobile Web Caching Summary Summary

Data Dissemination and Management – Data Dissemination

Data Dissemination Pull or On-Demand Mode Pull or On-Demand Mode Request – through uplink Request – through uplink Reply – waiting for response Reply – waiting for response Consume extra battery power Consume extra battery power Competing bandwidth with other Mobile users Competing bandwidth with other Mobile users  Push or Broadcast Mode Data server periodically broadcasts the data Data server periodically broadcasts the data Indexing information: quick check for interesting or not Indexing information: quick check for interesting or not Index, Stock, Traffic, Sales; Index, Stock, Traffic, Sales; … Index, Stock, Traffic, Sales; Index, Stock, Traffic, Sales; … Down Load interesting data Down Load interesting data

Data Dissemination Advantages of Data Dissemination – Push Mode Advantages of Data Dissemination – Push Mode  Pull or On-Demand Mode Send Hot Data Items Send Hot Data Items Conserve bandwidth – eliminates repetitive on- demand data transfers for the same data items to different mobile users Conserve bandwidth – eliminates repetitive on- demand data transfers for the same data items to different mobile users Conserve the mobile node’s energy – eliminating uplink transmission Conserve the mobile node’s energy – eliminating uplink transmission

Data Dissemination – Wireless Bandwidth Utilization  Logical Channels  Uplink Request Channel: Data query  On-Demand Downlink Channel: Reply data items  Broadcast Downlink Channel: hot data items Physical Channels Physical Channels  On-Demand  Distributed medium access channels  Broadcast  Broadcast schedule  Slotted data items (pages)

Data Dissemination Bandwidth Allocation Bandwidth Allocation Bandwidth Allocation Bandwidth for on-demand channel – B 0Bandwidth for on-demand channel – B 0 Bandwidth for broadcast channel – B bBandwidth for broadcast channel – B b Available bandwidth B = B 0 + B bAvailable bandwidth B = B 0 + B b Data Server Data Server N data items: D1, D2, …, DnN data items: D1, D2, …, Dn D1 – the most popular data items, with popularity ratio P1 (between 0 and 1) D1 – the most popular data items, with popularity ratio P1 (between 0 and 1) D2 – the next popular data item with popularity ratio P2 (between 0 and 1) D2 – the next popular data item with popularity ratio P2 (between 0 and 1) Size for each data item – SSize for each data item – S Size of each data query - RSize of each data query - R Each mobile node generates requests at an average rate of r Each mobile node generates requests at an average rate of r

Data Dissemination Allocate All Bandwidth for On-Demand Compute Average Access Time T over all data items Compute Average Access Time T over all data items T = Tb + ToT = Tb + To Tb – average access time to access a data item from the broadcast channelTb – average access time to access a data item from the broadcast channel To – average access time to access an on demand itemTo – average access time to access an on demand item

Data Dissemination Allocate All Bandwidth for On-Demand The Average Time to service an on- demand request The Average Time to service an on- demand request (S + R)/B 0(S + R)/B 0 If all data items are provided only on- demand, the average rate for all the on- demand items will be If all data items are provided only on- demand, the average rate for all the on- demand items will be M x r (queuing generation rate)M x r (queuing generation rate) M – the number of mobile nodes in the wireless cellM – the number of mobile nodes in the wireless cell r –average request rate of a mobile noder –average request rate of a mobile node

Data Dissemination Allocate All Bandwidth for On-Demand Applying Queuing Theory to Analyze the Problem Applying Queuing Theory to Analyze the Problem As the number of mobile users ↑ (increases),As the number of mobile users ↑ (increases), -> the average queuing generation rate (M x r) ↑ -> the average queuing generation rate (M x r) ↑ As (M x r) approaches → the service rate [B0/(S+R)],As (M x r) approaches → the service rate [B0/(S+R)], -> the average service time (including queuing delay) ↑ rapidly -> the average service time (including queuing delay) ↑ rapidly What is acceptable server time threshold?What is acceptable server time threshold? Allocating all the bandwidth to the on-demand channels → Poor ScalabilityAllocating all the bandwidth to the on-demand channels → Poor Scalability

Data Dissemination Allocate All Bandwidth for Broadcast Channel If all the data items are published on the broadcast channel with the same frequency (ignoring the popularity ratio) If all the data items are published on the broadcast channel with the same frequency (ignoring the popularity ratio) Average waiting: n/2 data items Average waiting: n/2 data items Average access time for a data item: Average access time for a data item: (n/2) x (S/B b )(n/2) x (S/B b ) Independent of number of mobile nodes in the cellIndependent of number of mobile nodes in the cell Average access time proportional to the number of data items nAverage access time proportional to the number of data items n Average Access Time ↑ as the number of data items to broadcast ↑Average Access Time ↑ as the number of data items to broadcast ↑

Data Dissemination Bandwidth Allocation – A Simple Case Two data items: D1 and D2 Two data items: D1 and D2 P1 of D1 > P2 of D2 (D1 is more popular than D2) P1 of D1 > P2 of D2 (D1 is more popular than D2) Temp to broadcast D1 all the time → cause D2 access time to be infinite (D2 is never available)Temp to broadcast D1 all the time → cause D2 access time to be infinite (D2 is never available) Broadcast frequency calculation to achieve minimum average access time Broadcast frequency calculation to achieve minimum average access time F1 = √P1/(√P1 + √P2)F1 = √P1/(√P1 + √P2) F2 = √P2/(√P1 + √P2)F2 = √P2/(√P1 + √P2) An example: P1 = 0.9, P2 = 0.1An example: P1 = 0.9, P2 = 0.1 sqrt(0.9) = , sqrt(0.1) = sqrt(0.9) = , sqrt(0.1) = F1 = 0.75 F1 = 0.75 F2 = 0.25 F2 = 0.25 D1 broadcast 3-times more often than D2, even D1 is 9-times more popular than D2 D1 broadcast 3-times more often than D2, even D1 is 9-times more popular than D2

Data Dissemination Bandwidth Allocation – N Data Items N data items: D1, D2, …, Dn N data items: D1, D2, …, Dn Popularity Ratio: P1, P2, …, Pn Popularity Ratio: P1, P2, …, Pn Broadcast Frequencies: F1, F2, …, Fn, for achieving minimum latency Broadcast Frequencies: F1, F2, …, Fn, for achieving minimum latency Where fi = √Pi/Q,Where fi = √Pi/Q, Q = √P1 + √P √PnQ = √P1 + √P √Pn Minimum latency: P1*t1 + P2*t2 +… + Pn*tnMinimum latency: P1*t1 + P2*t2 +… + Pn*tn t1, t2, …, tn are average access latencies of D1, D2, …, Dnt1, t2, …, tn are average access latencies of D1, D2, …, Dn

Data Dissemination Algorithm by Imielinski and Viswanathan 1994 Publishing modes save the energy of mobile node Publishing modes save the energy of mobile node At the cost of increasing access latencyAt the cost of increasing access latency Goal: to put as many hot items on the broadcast channel as possible Goal: to put as many hot items on the broadcast channel as possible Under the constraint that the average access latency is below a certain threshold LUnder the constraint that the average access latency is below a certain threshold L Algorithm Algorithm What data items to put on the broadcast channel?What data items to put on the broadcast channel? Bandwidth allocation?Bandwidth allocation?

Data Dissemination Algorithm by Imielinski and Viswanathan 1994 Algorithm For i = N down to 1 do: Begin 1. Assign D 1, …, D i to the broadcast channel 2. Assign D i+1, …, D N to the on-demand channel 3. Determine the optimal value of B b and B o, to minimize the access time T, as follows a. Compute T o by modeling on-demand channel as M/M/1 (or M/D/1) queue b. Compute T b by using the optimal broadcast frequencies F 1, …, F i c. Compute optimal value of B b which minimizes the function T = T o + T b. 4. if T <= L then break End

Data Dissemination Queuing Theory – An Introduction The M/M/1 Queue (Makovian, Poisson arrival, with exponential service time) The M/M/1 Queue (Makovian, Poisson arrival, with exponential service time) The most basic and important queuing model withThe most basic and important queuing model with Poisson arrivals (random arrival with rate λ)Poisson arrivals (random arrival with rate λ) Exponential service times (with mean 1/µ, µ is the service rate)Exponential service times (with mean 1/µ, µ is the service rate) 1 Server1 Server An infinite length buffer: FIFOAn infinite length buffer: FIFO

Data Dissemination Queuing Theory – An Introduction The M/D/1 Queue (Makovian, Poisson arrival process, with a deterministic service time) The M/D/1 Queue (Makovian, Poisson arrival process, with a deterministic service time) A single-queue single server modelA single-queue single server model Poisson arrivals (random arrival with rate λ)Poisson arrivals (random arrival with rate λ) Constant service timesConstant service times 1 Server with constant service time1 Server with constant service time An infinite length buffer: FIFOAn infinite length buffer: FIFO

Data Dissemination Broadcast Disk Scheduling The Task The Task Decide which data items to publishDecide which data items to publish Determine how often to publish a data itemDetermine how often to publish a data item Logical View of Broadcast Channel Logical View of Broadcast Channel A memory disk in the air: an extension to the memory hierarchy of the mobile deviceA memory disk in the air: an extension to the memory hierarchy of the mobile device Physical Structure Physical Structure Multiple virtual disks, spinning at different ratedMultiple virtual disks, spinning at different rated Fastest-spinning disk: hottest data itemFastest-spinning disk: hottest data item Next-fast disk: next hottest data itemNext-fast disk: next hottest data item

Data Dissemination Broadcast Disk Scheduling An Example (Figure 3- 5) An Example (Figure 3- 5) 9 Data items: 9 Data items: D1, D2, …, D9D1, D2, …, D9 3 Disks 3 Disks Disk 1: D1Disk 1: D1 Disk 2: D2, D3, D4, D5Disk 2: D2, D3, D4, D5 Disk 3: D6, D7, D8, D9Disk 3: D6, D7, D8, D9 Frequency of Broadcast Frequency of Broadcast Items on Disk 1 appear 4-times as frequently as those on disk 3Items on Disk 1 appear 4-times as frequently as those on disk 3 Items on Disk 2 appear 2-times as frequently as those on disk 3Items on Disk 2 appear 2-times as frequently as those on disk 3 Speed of Spinning Speed of Spinning Disk 1 – FastestDisk 1 – Fastest Disk 2 - MiddleDisk 2 - Middle Disk 3 - SlowestDisk 3 - Slowest

Data Dissemination Broadcast Disk Scheduling

Data Dissemination Broadcast Disk Scheduling – AAFZ Algorithm Developed by Acharaya, Alonso, Franklin, and Zodnik Developed by Acharaya, Alonso, Franklin, and Zodnik Scheduling of Broadcast Channel that achieves a selected relative spinning of the disk Scheduling of Broadcast Channel that achieves a selected relative spinning of the disk Inputs Inputs Number of disksNumber of disks The assignment of data items to the diskThe assignment of data items to the disk Relative spinning frequencies of the disksRelative spinning frequencies of the disks Output Output Broadcast scheduleBroadcast schedule An Example – Figure 3-5 An Example – Figure 3-5 Rel_freq(disk_1) = 4Rel_freq(disk_1) = 4 Rel_freq(disk_2) = 2Rel_freq(disk_2) = 2 Rel_freq(disk_3) = 1Rel_freq(disk_3) = 1

Data Dissemination Broadcast Disk Scheduling – AAFZ Algorithm 1.Order the data items from the hottest to coldest 2.Partition the list into multiple ranges, called disks. Each disk consists of data items which nearly same popularity ratio. Let the number of disks chosen be num_disks. 3.Choose the relative frequency of broadcast for each disk 4.Cluster the items in each disk into smaller units called chunks; number_chunk(i) = max_chunks/rel_freq(i), number_chunk(i) = max_chunks/rel_freq(i), where max_chunks is the least common multiple of relative frequencies where max_chunks is the least common multiple of relative frequencies

Data Dissemination Broadcast Disk Scheduling – AAFZ Algorithm 5.Create broadcast schedule as follows: (see references) a.For i = 0 to max_chunks -1 i. For j = 1 to num_disks 1.K = i mod num_chunks(j) 2.Broadcast chunk Cj,k ii. End_for b.End_for