1 / 21

Interpolating the Air for Optimizing Wireless Data Broadcast

Interpolating the Air for Optimizing Wireless Data Broadcast. Fotis Tsakiridis, Panagiotis Bozanis, Dimitrios Katsaros Dept. of Computer & Communication Engineering University of Thessaly, Volos, Greece Mobi WAC 2007, October 22, Chania, Crete Island, Greece. Introduction.

mauli
Download Presentation

Interpolating the Air for Optimizing Wireless Data Broadcast

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Interpolating the Air for Optimizing Wireless Data Broadcast Fotis Tsakiridis, Panagiotis Bozanis, Dimitrios Katsaros Dept. of Computer & Communication Engineering University of Thessaly, Volos, Greece MobiWAC 2007, October 22, Chania, Crete Island, Greece

  2. Introduction Rapid advent of wireless technology + popularity of smart mobiles = pervasive information services Examples Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece

  3. B C A D downlink broadcast channel D A C B Preliminaries (1/2) • Servers: • cyclically broadcast totally ordered data • Mobile clients: • tune in and actively find the needed data Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece

  4. Preliminaries (2/2) Querying process Tuning time Latency Probe wait Bcast wait An aid to the search process: interleaving of auxiliary index items within the data items Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece

  5. Previous Work (state-of-the-art) (1/2) • The Exponential Index • simulates the exponential searching technique over the periodical broadcast • When exponent=2  binary search OR skip-list • uses aux information • each bucket consists of logarithmic number of pairs (pntr; maxKey) Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece

  6. Previous Work (state-of-the-art)(2/2) where C is the number of data chunks • The average tuning time is: where t(l) is the tuning time for a data chunk that is l chunks away from the current chunk • the index space overhead per chunk is: • In an error-free broadcasting environment • The average access latency is: I/2 + N/2, N the size of bcast • The worst case tuning time is: Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece

  7. Interpolation: Basic Notions (1/2) • How can we achieve log-log behaviour in main memory? • Suppose that there is an array of totally ordered keys x1 < x2 < … < xn, drawn independently from a uniform distribution over the range (x0, xn+1) • Searching by interpolation for the item y in the array proceeds as follows: • Let be the percentage of the keys expected to be less than y • Then, compare y to , and, in case of inequality, we search recursively either: • subarray • or subarray • The above procedure gives loglogn average access time and linear worst case time Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece

  8. Interpolation: Basic Notions (2/2) • A further improvement to this scheme can be achieved: • If • y is successively compared with to locate the smallest i such that • If • y is successively compared with • In either case, the located pertinent subarray of size is recursively searched • It can be shown that: • the average access time is bounded by: • its worst case time complexity is: Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece

  9. Interpolation and Broadcasting • Exploit interpolation search to design an air index • Broadcast Index set up • Every bucket is a hybrid one, containing: • The minimum (m1) and the maximum (Mn) keys • Pairs (pntr, maxKey), where maxkey is the maximum data entry of the bucket pntr slots ahead, such that: • the 0-th entry refers to the immediately upcoming bucket, • the i-th entry holds i.e., the maximum data entry slots ahead • Space consumption • loglogn+1 entries per bucket Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece

  10. The access protocol (1/3) • Let • k : be the bucket the client currently tuned into • y : the search item • l : the level of recursion • j : the probing position Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece

  11. The access protocol (2/3) • When client tunes for the first time • Both y and j lie ahead of k: If , cd, the client dozes until bucket 1 arrives, and then he conducts linear search with sqrt(n) long jumps. Else, the client switches to doze mode until bucket arrives, ca being an interpolation adjustment parameter. In case of successful prediction, client conducts linear search from this point, else starts the linear search from bucket 1. • j precedes k, and y succeeds k: The client starts switching between doze and active mode, with sqrt(n) intervening slots, until he locates the desired sqrt(n)-sized interval, to which he recurs. • y precedes k, and j succeeds k: The client missed the broadcast. if , the client dozes until the arrival of bucket 1 and linear searches. Else, he goes back to active mode when bucket arrives. If he is lucky, he starts linear searching. Else, the bcast is useless and starts linear search from bucket 1. Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece

  12. The access protocol (3/3) • The General Case (l level of recursion): y is lying between buckets k and • y seems to belong after bucket , while j lies between k and : The client dozes until arrives and then linear searches to locate the pertinent subinterval. • y is located between k and : Nothing to do! Client is already in the pertinent subinterval, towhich he recurs. • Both y and j lie after bucket : If , the client linear searches the rest of the bcast from slot . Else, he dozes until bucket j- ca sqrt(n) arrives. If the adjusted prediction is proven to be true, he linear searches; Else, he missed the bcast, and linear searching is performed from “secure” bucket Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece

  13. A Searching Instance • cd=1.2, ca=cx=1, and 40 is the key the client searches • Initially tunes into eighth bucket. • Since 40<60, he interpolates to get • Since , he switches into doze mode until the bucket arrives. • 21<40, so must continue linear searching in upcoming buckets. • Since level 1 pointer (52) bounds 40, recurs in level 2. • Applies once again interpolation, giving • Because 40 is located after , he sleeps until bucket 4 is transmitted, where he figures out that 40 belongs to the following bucket 5. Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece

  14. Performance The average tuning time is O(loglog n) Heuristic tuning of parameter C Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece

  15. Tuning Time Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece

  16. Access Latency Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece

  17. Space Overhead (Same Tuning Time) Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece

  18. Tuning Time (Same Space Overhead) Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece

  19. Conclusions • Interpolation Air Index • efficient air index • exhibits a linear structure, suitable for the broadcast environment • the index space overhead is log-logarithmic per transmitted bucket • tuning time is log-logarithmically proportional to the broadcast size • very easily configurable • the access latency and the tuning can be simply adjusted by a single parameter • the experimental results attest that our index outperforms the exponential index (state-of-the-art air-index) • both in tuning time and space overhead • while achieving the same access latency Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece

  20. Future Work How skewed data can be accommodated in our scheme? What is its performance in multi-channel data broadcast environments? Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece

  21. Thank you for your attention! Any questions? Dept. of Computer & Communication Engineering, Univ. of Thessaly, Greece

More Related