CSE6488: Mobile Computing Systems

Similar documents
A Broadcast Disk Scheme for Mobile Information System

Efficient algorithms for constructing broadcast disks programs in asymmetric communication environments

UCS-805 MOBILE COMPUTING NIT Agartala, Dept of CSE Jan-May,2011

Data Dissemination and Broadcasting Systems Lesson 06 Adaptive Dispersal Algorithms, Bandwidth allocation and Scheduling

MOBILE COMPUTING NIT Agartala, Dept of CSE Jan-May,2012

THE rapid development of wireless network and powerful

Dynamic Generation of Data Broadcasting Programs for a Broadcast Disk Array in a Mobile Computing Environment

Environments y. Nitin H. Vaidya Sohail Hameed. Phone: (409) FAX: (409)

Downlink Erlang Capacity of Cellular OFDMA

TOSA: A Near-Optimal Scheduling Algorithm for Multi-Channel Data Broadcast

CS 621 Mobile Computing

A Simple knn Search Protocol using Data Broadcasting in Wireless Mobile Environments

Global State and Gossip

COMP Online Algorithms. Paging and k-server Problem. Shahin Kamali. Lecture 9 - Oct. 4, 2018 University of Manitoba

HETEROGENEOUS LINK ASYMMETRY IN TDD MODE CELLULAR SYSTEMS

Chapter 1 Introduction to Mobile Computing (16 M)

Scheduling broadcasts with deadlines

Achieving Desirable Gameplay Objectives by Niched Evolution of Game Parameters

Mobile & Wireless Networking. Lecture 4: Cellular Concepts & Dealing with Mobility. [Reader, Part 3 & 4]

Dynamic Subcarrier, Bit and Power Allocation in OFDMA-Based Relay Networks

Inter-Cell Interference Mitigation in Cellular Networks Applying Grids of Beams

Cognitive Wireless Network : Computer Networking. Overview. Cognitive Wireless Networks

Lecture Notes 3: Paging, K-Server and Metric Spaces

CDMA Bunched Systems for Improving Fairness Performance of the Packet Data Services

Ad Hoc Resource Allocation in Cellular Systems

Spectral- and Energy-Efficient Transmission Over Frequency-Orthogonal Channels

GSM FREQUENCY PLANNING

A GRASP HEURISTIC FOR THE COOPERATIVE COMMUNICATION PROBLEM IN AD HOC NETWORKS

Module 3 Greedy Strategy

ECE 476/ECE 501C/CS Wireless Communication Systems Winter Lecture 3: Cellular Fundamentals

A GRASP heuristic for the Cooperative Communication Problem in Ad Hoc Networks

Assignment Problem. Introduction. Formulation of an assignment problem

Analysis and Improvements of Linear Multi-user user MIMO Precoding Techniques

Balancing Bandwidth and Bytes: Managing storage and transmission across a datacast network

EE6604 Personal & Mobile Communications. Week 16. Multi-carrier Multi-access Techniques

A Location-Aware Routing Metric (ALARM) for Multi-Hop, Multi-Channel Wireless Mesh Networks

Low-Complexity Beam Allocation for Switched-Beam Based Multiuser Massive MIMO Systems

Fall 2015 COMP Operating Systems. Lab #7

Probability-Based Tile Pre-fetching and Cache Replacement Algorithms for Web Geographical Information Systems

Adaptive CDMA Cell Sectorization with Linear Multiuser Detection

A LOW COMPLEXITY SCHEDULING FOR DOWNLINK OF OFDMA SYSTEM WITH PROPORTIONAL RESOURCE ALLOCATION

IEEE Working Group on Mobile Broadband Wireless Access <

Time-Critical On-Demand Data Broadcast: Algorithms, Analysis, and Performance Evaluation

Next: Broadcast Systems

University of Bristol - Explore Bristol Research. Peer reviewed version. Link to published version (if available): /VETECF.2011.

Near Optimal Joint Channel and Power Allocation Algorithms in Multicell Networks

WiMAX Basestation: Software Reuse Using a Resource Pool. Arnon Friedmann SW Product Manager

Peak-to-Average Power Ratio (PAPR)

UNIT-III LIFE-CYCLE PHASES

VLSI System Testing. Outline

The US Chess Rating system

Centaur: Locating Devices in an Office Environment

Multiple Antenna Techniques

Low-Power CMOS VLSI Design

Multilevel RS/Convolutional Concatenated Coded QAM for Hybrid IBOC-AM Broadcasting

BMT 2018 Combinatorics Test Solutions March 18, 2018

MIMO Channel Capacity in Co-Channel Interference

Distributed Power Control in Cellular and Wireless Networks - A Comparative Study

CHAPTER 5 DIVERSITY. Xijun Wang

Gradient-based scheduling and resource allocation in OFDMA systems

MITOCW watch?v=-qcpo_dwjk4

9/24/08. Broadcast Systems. Unidirectional distribution systems. Unidirectional distribution. Unidirectional distribution systems DAB Architecture

DISTRIBUTED DYNAMIC CHANNEL ALLOCATION ALGORITHM FOR CELLULAR MOBILE NETWORK

Wireless Networked Systems

Context-Aware Planning and Verification

An Overlaid Hybrid-Duplex OFDMA System with Partial Frequency Reuse

Multi-user Space Time Scheduling for Wireless Systems with Multiple Antenna

MSC. Exploiting Modulation Scheme Diversity in Multicarrier Wireless Networks IEEE SECON Michigan State University

On the Achievable Diversity-vs-Multiplexing Tradeoff in Cooperative Channels

Link Activation with Parallel Interference Cancellation in Multi-hop VANET

Multiple Antenna Processing for WiMAX

Opportunistic Beamforming Using Dumb Antennas

Capture the Flag Design Document Authors: Luke Colburn, Tyler Johnson, Chris LaBauve

How (Information Theoretically) Optimal Are Distributed Decisions?

Multiuser Scheduling and Power Sharing for CDMA Packet Data Systems

GWiQ-P: : An Efficient, Decentralized Quota Enforcement Protocol

Wireless ad hoc networks. Acknowledgement: Slides borrowed from Richard Y. Yale

Chapter 1 Introduction

Analysis of Code-expanded Random Access

On Channel-Aware Frequency-Domain Scheduling With QoS Support for Uplink Transmission in LTE Systems

Location Polling Algorithm for Alerting Service Based on Location

Subcarrier Index Coordinate Expression (SICE): An Ultra-low-power OFDM-Compatible Wireless Communications Scheme Tailored for Internet of Things

Chapter 1 Basic concepts of wireless data networks (cont d.)

A TWO-PART PREDICTIVE CODER FOR MULTITASK SIGNAL COMPRESSION. Scott Deeann Chen and Pierre Moulin

ENERGY EFFICIENT WATER-FILLING ALGORITHM FOR MIMO- OFDMA CELLULAR SYSTEM

Energy-Efficient Data Management for Sensor Networks

Contents. IEEE family of standards Protocol layering TDD frame structure MAC PDU structure

Frequency Reuse How Do I Maximize the Value of My Spectrum?

MRN -4 Frequency Reuse

Design of Parallel Algorithms. Communication Algorithms

Optimizing Client Association in 60 GHz Wireless Access Networks

IMPLEMENTATION OF SOFTWARE-BASED 2X2 MIMO LTE BASE STATION SYSTEM USING GPU

Opportunistic Communication in Wireless Networks

Chapter 1. Introduction

Optimum Rate Allocation for Two-Class Services in CDMA Smart Antenna Systems

An Optimal (d 1)-Fault-Tolerant All-to-All Broadcasting Scheme for d-dimensional Hypercubes

A Brief Review of Opportunistic Beamforming

Medium Access Control via Nearest-Neighbor Interactions for Regular Wireless Networks

Mobile Communications Chapter 6: Broadcast Systems

LTE Radio Channel Emulation for LTE User. Equipment Testing

Transcription:

CSE6488: Mobile Computing Systems Sungwon Jung Dept. of Computer Science and Engineering Sogang University Seoul, Korea Email : jungsung@sogang.ac.kr Your Host Name: Sungwon Jung Email: jungsung@sogang.ac.kr Course web page: http://mclab.sogang.ac.kr Class time: Wed. 15:00 17:45 AS912 Office: AS811, phone: 705-8930 Office hours: Tu Wed Th. 10:00 12:00, or by appointment/email 2 1

Course Logistics No textbook. Research papers from major database conferences and journals. VLDB, SIGMOD, ICDE CIKM, SSDBM, SSTD, GIS Journals: ACM TODS, IEEE TKDE, VLDB Journal, etc. Grading Criteria Mid Exam 35% Final Exam 40% Class participation 5% Term Project 20% 3 Course Topics Data Dissemination in Wireless Broadcast Environment Indexing Techniques for Spatial Data LBS Query Processing Methods in Mobile Clients & Server Environment LBS Query Processing Methods in Road Network DB Range, knn, Shortest Path Query Processing in Wireless Broad cast Environments Preference Aware Query Processing Methods Location Data Privacy 4 2

Data Dissemination in Mobile Computing Environments (1) Sungwon Jung Dept. of Computer Science and Engineering Sogang University Seoul, Korea Email : jungsung@sogang.ac.kr Properties of Mobile Computing Environment Mobility Portability Limited Computing Resources Wireless Communications Weak and Intermittent Connectivity Frequent Disconnections 6 3

Data Dissemination in Mobile Computing Environments Communication asymmetry Network asymmetry High Bandwidth Downlink Low Bandwidth Uplink Client to server ratio Data volume Data Dissemination options Pull Push (Wireless Data Broadcasting) Allows simultaneous access 7 Commercial Wireless Broadcasting Services SPOT(Smart Personal Object Technology) http://www.microsoft.com.net Micro Framework Based on DirectBand Network using FM radio subcarrier frequencies StarBand http://www.starband.com DIRECTWAY http://www.directway.com 8 4

Parameters of Concern in Wireless Data Broadcast Tuning Time: t0 + t1 + t2 + t3 Access Time: t4 time time Index Info A B C D E Index Info A B C D E t0 t1 t2 t3 t4 Mobile client 3 requests data B Mobile client 3 receive data B 9 Research Issues on Wireless Data Broadcast Scheduling Data Broadcast Over a Single Wireless Channel Scheduling Data Broadcast Over Multiple Wireless Channels Indexing Techniques for Broadcast Data Cache Invalidation Methods for Mobile Clients Concurrency Control Methods for Mobile Transactions 10 5

Scheduling Data Broadcast Over a Single Wireless Channel Cell E D Mobile Client C B A A Server Base Station B C D E Mobile Client Mobile Client 11 Scheduling Data Broadcast Over a Single Wireless Channel Restrictions of a broadcast environment the client population and their access patterns do not change the content and organization of the broadcast program remain static data is read-only there are no updates either by the clients or at the servers clients retrieve data items from the broadcast on demand there is no prefetching clients make no use of their upstream communications capability they provide no feedback to servers 12 6

Scheduling Data Broadcast Over a Single Wireless Channel Two main interrelated issues Given a client population and a specification of their access probabilities for the data items, how does the server construct a broadcast program? Given that the server has chosen a particular broadcast program, how does each client manage its local data cache to maximize its own performance? 13 Scheduling Data Broadcast Over a Single Wireless Channel Flat Broadcast: (a) Skewed (random) Broadcast: (b) Multi-disk (regular) broadcast: (c) Broadcast Disk 14 7

Scheduling Data Broadcast Over a Single Wireless Channel Broadcast Program Generation Assume that data items are pages, that is, they are of a uniform, fixed length 1. Order the page from hottest (most popular) to coldest 2. Partition the list of pages into multiple ranges, where each range contains pages with similar access probabilities. These ranges are referred to as disks 3. Choose the relative frequency of broadcast for each of the disks. The only restriction on the relative frequencies is that they must be integers. 4. Split each disk into a number of smaller units. These units are called chunks (Cij refers to the jth chunk in disk i). First, calculate max_chunks as the Least Common Multiple (LCM) of the relative frequencies. Then split each disk i into num_chunks(i) = max_chunks / rel_freq(i) chunks. 5. Create the broadcast program by interleaving the chunks of each disk in the following manner: 1. for i := 0 to max_chunks 1 2. for j := 1 to num_disks 3. Broadcast chunk Cj,(i mod num_chunks(j)) 15 Example of Broadcast Disk Program Generation Assume a list of pages that has been partitioned into three disks the pages in disk 1 are to be broadcast twice as frequently as those in disk 2, and four times as frequently as those in disk 3 rel_freq(1) = 4, rel_freq(2) = 2, and rel_freq(3) = 1 max_chunks = 4, num_chunks(1) = 1, num_chunks(2) = 2, and num_chunk(3) = 4 Database (pages) HOT 1 2 3 4 5 6 7 8 9 1011 COLD 16 8

Example of Broadcast Disk Program Database (pages) HOT 1 2 3 4 5 6 7 8 9 1011 COLD Disks 1 2 3 4 5 6 7 8 9 1011 D 1 D 2 D 3 Chunks 1 2 3 4 5 6 7 8 9 1011 C 1,1 C 2,1 C 2,2 C 3,1 C 3,2 C 3,3 C 3,4 Major Cycle 1 2 4 5 1 3 6 7 1 2 8 9 1 3 10 11 C 1,1 C 2,1 C 3,1 C 1,1 C 2,2 C 3,2 C 1,1 C 2,1 C 3,3 C 1,1 C 2,2 C 3,4 Minor Cycle 17 Parameters of Broadcast Disk Program the number of disks (num_disks) Determine the number of different frequencies with which pages will be broadcast The number of pages per disk, and its relative frequency of broadcast (rel_freq(i)) Determine the size of the broadcast, and hence the arrival rate for pages on each disk Adding a page to a fast disk can significantly increase the delay for pages on the slower disks Expect that fast disks will be configured to have many fewer pages than the slower disks this model does not enforce this constraint Possible to have arbitrarily fine distinctions in broadcasts such as disk that rotates 141 times for every 98 times a slower disk rotates Result in a broadcast having a very long period (141*98 rotations of the fast disk) 18 9

Client Cache Management in Broadcast Disks Approach Tuning the performance of the broadcast is a zero-sum game: Improving the broadcast for any one access probability distribution will hurt the performance of clients with different access distributions Clients can t simply cache their hottest data as in traditional pullbased client-server systems (e.g., LRU). In the push-based environment, this use of a cache can lead to a poor performance if the server s broadcast is poorly matched to the client s page access distribution Broadcast pages are not all equidistant from the client!!! The server can tailor the broadcast program to the needs of a particular client the client cache the hottest pages obtained from the broadcast disk. Once the client has loaded the hottest pages into its cache, then server can place those pages on a slower spinning disk. Frees up valuable space in the fastest spinning disks for additional pages 19 Client Cache Management in Broadcast Disks Approach Clients must use their cache to store those pages for which the local probability of access is significantly greater than the page s frequency of broadcast For a page P accessed frequently only by client C and no other clients a page P is likely to be broadcast on a slow disk To avoid long waits for the page, client C caches P locally For a page Q accessed frequently by most clients including C Broadcast Q on a very fast disk, thus reducing the value of caching it 20 10

Client Cache Management in Broadcast Disks Approach Use a cost-based replacement algorithm that takes the frequency of broadcast into account PIX = p/x where p is the probability of access and x is the frequency of broadcast PIX ejects the cached page with the lowest value of p/x e.g., For pages a and b, consider p a = 0.3 and x a = 4 vs. p b = 0.1 and x b = 1 PIX is not a practical policy to implement because it requires: perfect knowledge of access probabilities comparison of PIX values for all cache-resident pages at page replacement time Use LIX, an LRU-style policy, to approximate the performance of PIX 21 Client Cache Management in Broadcast Disks Approach LIX LIX maintains a number of smaller chains: one corresponding to each disk of the broadcast LIX reduces to LRU if the broadcast uses a single flat disk Algorithm A page always enters the chain corresponding to the disk in which it is broadcast Like LRU, when a page hit, it is moved to the top of its own chain When a new page enters the cache, LIX evaluates lix value only for the page at the bottom of each chain The page with the smallest lix value is ejected and the new page is inserted in the top of the appropriate chain The chains in LIX do not have fixed sizes 22 11

Client Cache Management in Broadcast Disks Approach An example of page replacement in LIX Lix i = p i / x i where p i = / (CurrentTime t i ) + (1-)p i x i = the frequency of the page i which is known exactly When the page i enters a chain, p i is initially set to zero and t i is set to the current time If the page i is hit again, the new probability p i is calculated and t i is then subsequently updated to the current time is a constant (e.g. 0.25) 23 Scheduling Data Broadcast Over Multiple Wireless Channels Why multiple wireless channels? Application Scalability Fault Tolerance Reconfiguration of adjoining cells Multiple channel allocation problem Allocate data to multiple channels to reduce the average expected delay of a request 24 12

Multiple Channel Allocation Problem K channels in a broadcast area, each denoted C i, 1 i K A database is made up of N unit-sized items, denoted by d j, 1 j N K Channel i broadcast N i items, 1 i K where Ni N Each item d i is assigned an access probability, p i. N j Expected delay wi 2 the expected number of ticks a client must wait for the broadcast of item i i 1 25 Multiple Channel Allocation Problem Average Expected Delay (AED) for channel j N j N j wi pi where wi i1 2 the number of ticks a client must wait for an average request K Multichannel Average Expected Delay (MCAED) K K j p i N j pi j1 2 d C 2 i j j1 dic j N 1 26 13

Multiple Channel Allocation Problem Goal: To allocate database items to K channels to minimize MCAED flat design allocates an equal number of items to each channel N i N K, MCAED = i N 2K Focus on skewed design, where items are placed on varying sized channels, depending on their popularities 27 Example of MCAED 1 MCAED 2 K j 1 N j di C j p i a set of N = 6 items, {A, B, C, D, E, F} with the access probabilities such as: Consider skewed design, allocating {A, B} to one channel and {C, D, E, F} to the other when K = 2 channels 28 14

Allocation Algorithms for MCAED Optimal Allocation with DP Algorithm Single Channel AED (SCAED) = C ij = j i 1 2 opt_sol i, K = the optimal solution (i.e., minimum MCAED) for allocating items from i through N on K channels The optimal solution for items i to N given one channel is opt_sol i, 1 = C i, N Although DP yields an optimal solution, its time and space complexity may preclude it from practical use. Requires O(KN 2 ) time and O(KN) space j qi p where j i, 1 i, j N opt _ soli, K minl{ i, i1,..., N1} ( Cil opt _ soll 1, K1) q 29 Allocation Algorithms for MCAED GREEDY approach: O((N+K) log K) 30 15

Example of Greedy Algorithm 31 Performance Results 32 16

Performance Results 33 17