1 / 29

Multicast Pull Scheduling

Multicast Pull Scheduling. Kirk Pruhs. Content Richness. Today’s Internet. Audience Size. The Big Problem. Movie Distribution. Olympics. Database Replication via Internet. Software Download. Harry Potter Book Download. Pay-Per-View Movies.

aolani
Download Presentation

Multicast Pull Scheduling

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. Multicast Pull Scheduling Kirk Pruhs

  2. Content Richness Today’s Internet Audience Size The Big Problem Movie Distribution Olympics Database Replication via Internet Software Download Harry Potter Book Download Pay-Per-View Movies

  3. The Standard Centralized Unicast Pull Approach is Not Scalable • Creates unnecessary network congestion • Overloads the server

  4. One Possible Solution: Multicast

  5. Response Times for the 3 Different Multicast Distribution Methods Unicast Pull Multicast Pull Average response time Multicast Push High load Low load

  6. Appropriate Distribution Method Depends on Popularity of Data Multicast Push Unicast Pull Multicast Pull

  7. Another Application: (RODS) Realtime Outbreak Detection System • Developed at Pitt • Deployed in Utah for Winter Olympics • Now collects information on 70% of doctors visits in Utah • Since the anthrax attacks, RODS has received lots of funding http://www.health.pitt.edu/rods/

  8. Project Goals • Build a prototype data dissemination system that uses all three basic data dissemination methods appropriately • Supported by an NSF grant from ANIR program • Joint work with Panos Chysanthis and Vincenzo Liberatore • Study the interesting data management problems that arise in such a system • Supported by an NSF grant from CCR program

  9. Middleware Architecture and Data Management Issues Application Layer Server Side Client Side Document Selection Unicast Pull Scheduling Multicast Push Scheduling Multicast Pull Scheduling Indexing Caching Multicast Transport Layer, e.g. Java Reliable Multicast

  10. Rest of the Talk:Multicast Pull Scheduling From www.direcpc.com From Newsweek magazine

  11. Simple Example Instance of Multicast Pull Scheduling Input Schedule Average response time = (9 + 18 + 3 + 2 )/4

  12. Standard Worst-case Algorithm Analysis Technique • Competitive ratio of algorithm A is maxI A(I)/Opt(I) • A(I) is the average response time on input I using algorithm A • Opt(I) is the average response time for the optimal schedule • For example, a 2-competitive algorithm A guarantees that it will produce a schedule with average response time at most twice of the optimal average response time

  13. Warm-up Problem:Unit Sized Documents • Obvious Algorithm? • Most Requests First (MRF): Broadcast the document with the most requests • Surprisingly, MRF has unbounded competitive ratio (proof next slide) • Moral: Multicast pull scheduling is trickier than it might first appear

  14. n jobs n2 jobs Most Requests First (MRF) is not anO(1)-competitive algorithm Input Average response time ~ n MRF Optimal Average response time ~ 1

  15. n jobs n2 jobs There is no O(1)-competitive Online Server Scheduling Algorithm for Multicast Pull Input Average response time ~ n Online schedule Average response time ~ 1 Optimal schedule

  16. Resource Augmentation Analysis • Compare the limited (e.g. online) algorithm with more resources (e.g. a faster processor or more processors) to the optimal algorithm with less resources • Online algorithm A is s-speed c-competitive if maxI As(I)/Opt1(I) < c • Subscript denotes processor speed • Example: A 2-speed 3-competitive algorithm equipped with a speed 2 processor guarantees an average response time at most 3 times the optimal average response time for a 1 speed processor

  17. Classic Server QoS Curves • Online is not • O(1)-competitive • Online is O(1)-speed • O(1)-competitive Online Optimal Average response time High load Low load Slow Processor Fast processor

  18. Old Chinese Saying: • Three blind shoemakers are better than one politician

  19. n jobs n2 jobs Most Requests First (MRF) is not anO(1)-competitive algorithm O(1)-speed Input Average response time ~ n MRF Optimal Average response time ~ 1

  20. The Power of the Adversary in Multicast Pull Scheduling Recall general lower bound instance • Intuition: The adversary forces the online algorithm to labor on sequential work

  21. Definition of Parallel and Sequential Work Rate work is completed Rate work is completed low low high high Processing power devoted to the work Processing power devoted to the work Parallel work Sequential work

  22. Another Application Where Sequential Work Arises: Scheduling Jobs on a Multi-Processor Parallel work Sequential work Input One Possible Optimal Schedule P1 P2 Average response time = ( 6 + 3 + 8)/3

  23. The Main Result to Date (with Jeff Edmonds) • A method to construct a multicast pull scheduling algorithm B from a nonclairvoyant unicast scheduling algorithm A. • If algorithm A is an s-speed c-competitive algorithm when jobs have parallel and sequential components, then B is a (2+ ε )s-speed c-competitive • Formalizes the surprising insight that the difficulty of multicast pull scheduling = the difficulty of unicast scheduling of jobs with parallel and sequential components

  24. Multicast pull input Unicast input Algorithm B’s multicast pull schedule Algorithm A’s unicast schedule Constructing the Multicast Pull Algorithm B from the Unicast Algorithm A

  25. Equipoise Algorithm for Unicast Scheduling of Jobs with Parallel and Sequential Components • Equipoise (Round Robin) transmits each file at the same rate. • Edmonds (1999) showed that the algorithm Equipoise is a (2+ ε )-speed O(1 + 1/ε)-competitive algorithm

  26. The BEquipoise Multicast Pull Algorithm • BEquipoise broadcasts each document at a rate proportional to the number of requests to that document • The algorithm BEquipoise is a (4+ε)-speed O(1 + 1/ε)-competitive algorithm • BEquipoise will work reasonably well if the server load < ¼ • Bequipoise is not an 2-speed O(1)-competitive algorithm

  27. Possible O(1)-competitive (1+ε)-speed Algorithms ? • Unit sized files: Longest Wait First (LWF): Send out the document where the sum of the ages of the outstanding requests is maximized • Arbitrary sized files: Longest Total Stretch First (LTSF): Send out the document where the sum of the ages of the outstanding requests, divided by the file size, is maximized • Appear to be the current experimental champions (Acharya and Muthukrishnan)

  28. Future Directions • Are LWF and LTSF (1 + ε)-speed O(1 + 1/ε)-competitive algorithms for multicast pull scheduling? • If not, is an (1 + ε)-speed O(1 + 1/ε)-competitive algorithm possible? • One possibility is to find an (1 + ε)-speed O(1 + 1/ε)-competitive algorithm for unicast scheduling of jobs with arbitrary speed-up curves, and to remove the factor of two in the speed in our reduction. • Is there an O(1)-competitive polynomial-time offline algorithm for multicast pull scheduling? • The problems are known to be NP-hard (Erlebach and Hall) • Open for both the case of unit sized files and arbitrary sized files

  29. Every talk has to have a Dilbert cartoon.

More Related