CPET 565/CPET 499 Mobile Computing Systems. Lecture 8. Data Dissemination and Management. 2 of 3

Similar documents
Mobility Management (cont.)

Service Management in PCN Systems

Introduction to Mobile Ubiquitous Computing Systems

CPET 581 Cloud Computing: Technologies and Enterprise IT Strategies

An Adaptive Query Processing Method according to System Environments in Database Broadcasting Systems

A Strategy to Manage Cache Coherency in a Distributed Mobile Wireless Environment

Stretch-Optimal Scheduling for On-Demand Data Broadcasts

Volume 3, Issue 9, September 2013 International Journal of Advanced Research in Computer Science and Software Engineering

Efficient Remote Data Access in a Mobile Computing Environment

Chapter 3 MEDIA ACCESS CONTROL

Andorid Storage Options

Context Aware Computing

Hybrid Cooperative Caching in a Mobile Environment

Power Laws in ALOHA Systems

Energy-Efficient Mobile Cache Invalidation

Cross listed CRN# CPET Mobile Computing Systems. Fall 2012

Pull vs. Hybrid: Comparing Scheduling Algorithms for Asymmetric Time-Constrained Environments

Deadline Guaranteed Service for Multi- Tenant Cloud Storage Guoxin Liu and Haiying Shen

Data Access on Wireless Broadcast Channels using Keywords

Project Report, CS 862 Quasi-Consistency and Caching with Broadcast Disks

Queueing Networks. Lund University /

EL Wireless and Mobile Networking Spring 2002 Mid-Term Exam Solution - March 6, 2002

Large Scale Multiprocessors and Scientific Applications. By Pushkar Ratnalikar Namrata Lele

Improving VoD System Efficiency with Multicast and Caching

Web-based Energy-efficient Cache Invalidation in Wireless Mobile Environment

On a Cooperation of Broadcast Scheduling and Base Station Caching in the Hybrid Wireless Broadcast Environment

DDSS: Dynamic Dedicated Servers Scheduling for Multi Priority Level Classes in Cloud Computing

CPET 565/CPET 499 Mobile Computing Systems Lecture on

Mesh Networks

MODELING OF SMART GRID TRAFFICS USING NON- PREEMPTIVE PRIORITY QUEUES

ETSN01 Exam Solutions

CMPSC 311- Introduction to Systems Programming Module: Caching

Broadcast Disks: Scalable solution for an asymmetric environment

Queuing Systems. 1 Lecturer: Hawraa Sh. Modeling & Simulation- Lecture -4-21/10/2012

Search Engines. Information Retrieval in Practice

Mobile Computing Systems Lecture on

Dynamic Broadcast Scheduling in DDBMS

Analyzing Multi-Channel Medium Access Control Schemes With ALOHA Reservation

LTE and IEEE802.p for vehicular networking: a performance evaluation

Teletraffic theory (for beginners)

Cover sheet for Assignment 3

Analysis of P2P Storage Systems. March 13, 2009

ECSE-4670: Computer Communication Networks (CCN) Informal Quiz 3

Coverage & Capacity in Hybrid Wideband Ad-hoc/cellular Access System. Results & Scenarios. by Pietro Lungaro

CHANNEL SHARING SCHEME FOR CELLULAR NETWORKS USING MDDCA PROTOCOL IN WLAN

ECET 211 Electric Machines & Controls Lecture 6 Contactors and Motor Starters (1 of 2) Lecture 6 Contactors and Motor Starters

Replicated Part Non Replicated

INTERNET ARCHITECTURE & PROTOCOLS

Chapter 6 Objectives

Wireless TCP Performance Issues

Broadcast Disks: Data Management for Asymmetric. Communication Environments. October Abstract

Communication Fundamentals in Computer Networks

Scaling Distributed Machine Learning with the Parameter Server

Priority Traffic CSCD 433/533. Advanced Networks Spring Lecture 21 Congestion Control and Queuing Strategies

On Improving the Performance of Cache Invalidation in Mobile Environments

Lecture 16: Router Design

ROUTING ALGORITHMS Part 2: Data centric and hierarchical protocols

CMPSC 311- Introduction to Systems Programming Module: Caching

A Service Replication Scheme for Service Oriented Computing in Pervasive Environment

Introduction to Queuing Systems

20-EECE-4029 Operating Systems Spring, 2013 John Franco

Lecture 5: Performance Analysis I

Scheduling Computations on a Software-Based Router

Where Are We? Basics: Network Classification Network Architecture Reliable Data Transfer Delay Models Implementation: Protocol Design

RTT TECHNOLOGY TOPIC October 1998 WCDMA

Dynamic Cache Consistency Schemes for Wireless Cellular Networks

CHAPTER 5. QoS RPOVISIONING THROUGH EFFECTIVE RESOURCE ALLOCATION

SmartSaver: Turning Flash Drive into a Disk Energy Saver for Mobile Computers

Towards Deadline Guaranteed Cloud Storage Services Guoxin Liu, Haiying Shen, and Lei Yu

On Simulation Modeling of Information Dissemination Systems in Mobile Environments

A Call Admission Protocol for Wireless Cellular Multimedia Networks

Announcements / Wireless Networks and Applications Lecture 9: Wireless LANs Wireless. Regular Ethernet CSMA/CD.

CSCI-GA Database Systems Lecture 8: Physical Schema: Storage

Pervasive data access in wireless and mobile computing environments

048866: Packet Switch Architectures

of-service Support on the Internet

Advanced Internet Technologies

AODV-PA: AODV with Path Accumulation

Read Chapter 4 of Kurose-Ross

Disseminating Updates on Broadcast Disks

Can Multiple Subchannels Improve the Delay Performance of RTS/CTS-based MAC Schemes?

Intelligent Data Receiver Mechanism for Wireless Broadcasting System

Scaling Without Sharding. Baron Schwartz Percona Inc Surge 2010

Can Multiple Subchannels Improve the Delay Performance of RTS/CTS-based MAC Schemes?

This formula shows that partitioning the network decreases the total traffic if 1 N R (1 + p) < N R p < 1, i.e., if not all the packets have to go

Management and Analysis of Multi Class Traffic in Single and Multi-Band Systems

Load Sharing in Peer-to-Peer Networks using Dynamic Replication

Module 17: "Interconnection Networks" Lecture 37: "Introduction to Routers" Interconnection Networks. Fundamentals. Latency and bandwidth

CS 261 Fall Caching. Mike Lam, Professor. (get it??)

Chapter 6 Medium Access Control Protocols and Local Area Networks

THE falling cost of both communication and mobile

SIMULATION OF NETWORK CONGESTION RATE BASED ON QUEUING THEORY USING OPNET

Topics of Discussion

EP2210 Scheduling. Lecture material:

Today: World Wide Web! Traditional Web-Based Systems!

CS 344/444 Computer Network Fundamentals Final Exam Solutions Spring 2007

Lecture Little s Law Flux Queueing Theory Simulation Definition. CMPSCI 691ST Systems Fall 2011

CSC 4900 Computer Networks: Introduction

Computer Networking

WEB OBJECT SIZE SATISFYING MEAN WAITING TIME IN MULTIPLE ACCESS ENVIRONMENT

Transcription:

CPET 565/CPET 499 Mobile Computing Systems Lecture 8 and Management 2 of 3 Based on the Text used in the course: Fundamentals of Mobile & Pervasive Computing, 2005, by Frank Adelstein, et. al, from McGraw-Hill Fall 2012 A Specialty Course for Purdue University s M.S. in Technology Graduate Program Paul I-Hai Lin, Professor Dept. of Computer, Electrical and Information Technology Purdue University Fort Wayne Campus 1 and Management - Topics Introduction Challenges Mobile Data Caching Mobile Cache Maintenance Schemes Mobile Web Caching Summary 2 1

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

Advantages of Push Mode Pull or On-Demand Mode Send Hot Data Items Conserve bandwidth eliminates repetitive ondemand data transfers for the same data items to different mobile users Conserve the mobile node s energy eliminating uplink transmission 5 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 On-Demand Distributed medium access channels Broadcast Broadcast schedule Slotted data items (pages) 6 3

Bandwidth Allocation Bandwidth Allocation Bandwidth for on-demand channel B 0 Bandwidth for broadcast channel B b Available bandwidth B = B 0 + B b Data Server N data items: D1, D2,, Dn 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) Size for each data item S Size of each data query - R Each mobile node generates requests at an average rate of r 7 Allocate All Bandwidth for On-Demand Compute Average Access Time T over all data items T = Tb + To Tb average access time to access a data item from the broadcast channel To average access time to access an on demand item 8 4

Allocate All Bandwidth for On-Demand The Average Time to service an ondemand request (S + R)/B 0 If all data items are provided only ondemand, the average rate for all the ondemand items will be M x r (queuing generation rate) M the number of mobile nodes in the wireless cell r average request rate of a mobile node 9 Allocate All Bandwidth for On-Demand Applying Queuing Theory to Analyze the Problem As the number of mobile users (increases), the average queuing generation rate (M x r) As (M x r) approaches the service rate [B0/(S+R)], the average service time (including queuing delay) rapidly What is acceptable server time threshold? Allocating all the bandwidth to the on-demand channels Poor Scalability 10 5

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) Average waiting: n/2 data items Average access time for a data item: (n/2) x (S/B b ) Independent of number of mobile nodes in the cell Average access time proportional to the number of data items n Avg. Access Time as the number of data items to broadcast 11 Bandwidth Allocation A Simple Case Two data items: D1 and 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) Broadcast frequency calculation to achieve minimum average access time F1 = P1/( P1 + P2) F2 = P2/( P1 + P2) An example: P1 = 0.9, P2 = 0.1 sqrt(0.9) = 0.9487, sqrt(0.1) = 0.3162 F1 = 0.75 F2 = 0.25 D1 broadcast 3-times more than D2, even D1 is 9- times more popular than D2 12 6

Bandwidth Allocation N Data Items N data items: D1, D2,, Dn Popularity Ratio: P1, P2,, Pn Broadcast Frequencies: F1, F2,, Fn, for achieving minimum latency Where fi = Pi/Q, Q = P1 + P2 +.. + Pn Minimum latency: P1*t1 + P2*t2 + + Pn*tn t1, t2,, tn are average access latencies of D1, D2,, Dn 13 Algorithm by Imielinski and Viswanathan 1994 Publishing modes save the energy of mobile node At the cost of increasing access latency 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 L Algorithm What data items to put on the broadcast channel? Bandwidth allocation? 7

Algorithm by Imielinski and Viswanathan 1994 Algorithm For i = N down to 1 do: Begin 1. Assign D1,, Di to the broadcast channel 2. Assign Di+1,, DN to the on-demand channel 3. Determine the optimal value of Bb and Bo, to minimize the access time T, as follows a. Compute To by modeling on-demand channel as M/M/1 (or M/D/1) queue b. Compute Tb by using the optimal broadcast frequencies F1,, Fi c. Compute optimal value of B b which minimizes the function T = To + Tb. 4. if T <= L then break End 15 Queuing Theory An Introduction The M/M/1 Queue (Makovian, Poisson arrival, with exponential service time) The most basic and important queuing model with Poisson arrivals (random arrival with rate λ) Exponential service times (with mean 1/µ, µ is the service rate) 1 Server An infinite length buffer: FIFO 16 8

Queuing Theory An Introduction The M/D/1 Queue (Makovian, Poisosn arrival process, with a deterministic service time) A single-queue single server model Poisson arrivals (random arrival with rate λ) Constant service times 1 Server with constant service time An infinite length buffer: FIFO 17 Broadcast Disk Scheduling The Task Decide which data items to publish Determine how often to publish a data item Logical View of Broadcast Channel A memory disk in the air: an extension to the memory hierarchy of the mobile device Physical Structure Multiple virtual disks, spinning at different rated Fastest-spinning disk: hottest data item Next-fast disk: next hottest data item 18 9

An Example (Figure 3-5) 9 Data items: D1, D2,, D9 3 Disks Disk 1: D1 Disk 2: D2, D3, D4, D5 Disk 3: D6, D7, D8, D9 Broadcast Disk Scheduling Frequency of Broadcast Items 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 3 Speed of Spinning Disk 1 Fastest Disk 2 - Middle Disk 3 - Slowest 19 Broadcast Disk Scheduling 20 10

Broadcast Disk Scheduling AAFZ Algorithm Developed by Acharaya, Alonso, Franklin, and Zodnik Scheduling of Broadcast Channel that achieves a selected relative spinning of the disk Inputs Number of disks The assignment of data items to the disk Relative spinning frequencies of the disks Output Broadcast schedule An Example Figure 3-5 Rel_freq(disk_1) = 4 Rel_freq(disk_2) = 2 Rel_freq(disk_3) = 1 21 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), where max_chunks is the least common multiple of relative frequencies 22 11

Broadcast Disk Scheduling AAFZ Algorithm 5. Create broadcast schedule as follows: a. For i = 0 to mark_chunks -1 i. For j = 1 to n 1. K = I mod num_chunks(j) 2. Broadcast chunk Cj,k ii. End_for b. End_for 23 12