Online scheduling for buffering problems [Elektronische Ressource] / vorgelegt von Matthias Englert
107 pages
English

Découvre YouScribe en t'inscrivant gratuitement

Je m'inscris

Online scheduling for buffering problems [Elektronische Ressource] / vorgelegt von Matthias Englert

Découvre YouScribe en t'inscrivant gratuitement

Je m'inscris
Obtenez un accès à la bibliothèque pour le consulter en ligne
En savoir plus
107 pages
English
Obtenez un accès à la bibliothèque pour le consulter en ligne
En savoir plus

Description

Online Schedulingfor Bu ering ProblemsVon der Fakult at fur Mathematik, Informatik und Naturwissenschaftender RWTH Aachen University zur Erlangung des akademischen Gradeseines Doktors der Naturwissenschaften genehmigte Dissertationvorgelegt vonDiplom-InformatikerMatthias Englertaus WarendorfBerichter: Dr. Matthias WestermannUniversit atsprofessor Dr. Ir. Joost-Pieter KatoenUniversit Dr. Rolf NiedermeierTag der mundlic hen Prufung: 30. Mai 2008Diese Dissertation ist auf den Internetseiten der Hochschulbibliothek online verfugbar.AbstractIn a scheduling problem, tasks have to be assigned to resources in such a way thatsome speci ed objective is accomplished. Often times, tasks either can or have tobe stored in a bu er before they are assigned to a resource. In these cases, a bu ermanagement strategy has to constantly facilitate decisions as to which tasks to storein the bu er, which tasks to execute, and which tasks to delete from the bu er. Ifthe tasks arrive over time, these decisions have to be made online, that is, withoutknowledge of the future.The predominant method to investigate online algorithms is the competitiveanalysis. An online algorithm isc-competitive if, for every input, the solution returnedby the algorithm is at most by a factor of c worse than a solution given by an optimalo ine algorithm. We study four di erent online scheduling problems, in which buersare a crucial component, in a competitive analysis.

Sujets

Informations

Publié par
Publié le 01 janvier 2008
Nombre de lectures 14
Langue English

Extrait

Online Scheduling
for Bu ering Problems
Von der Fakult at fur Mathematik, Informatik und Naturwissenschaften
der RWTH Aachen University zur Erlangung des akademischen Grades
eines Doktors der Naturwissenschaften genehmigte Dissertation
vorgelegt von
Diplom-Informatiker
Matthias Englert
aus Warendorf
Berichter: Dr. Matthias Westermann
Universit atsprofessor Dr. Ir. Joost-Pieter Katoen
Universit Dr. Rolf Niedermeier
Tag der mundlic hen Prufung: 30. Mai 2008
Diese Dissertation ist auf den Internetseiten der Hochschulbibliothek online verfugbar.Abstract
In a scheduling problem, tasks have to be assigned to resources in such a way that
some speci ed objective is accomplished. Often times, tasks either can or have to
be stored in a bu er before they are assigned to a resource. In these cases, a bu er
management strategy has to constantly facilitate decisions as to which tasks to store
in the bu er, which tasks to execute, and which tasks to delete from the bu er. If
the tasks arrive over time, these decisions have to be made online, that is, without
knowledge of the future.
The predominant method to investigate online algorithms is the competitive
analysis. An online algorithm isc-competitive if, for every input, the solution returned
by the algorithm is at most by a factor of c worse than a solution given by an optimal
o ine algorithm. We study four di erent online scheduling problems, in which buers
are a crucial component, in a competitive analysis.
First, we introduce and study reordering bu ers , which are used to reorder a
stream of tasks, requests, or jobs in such a way that they can be served more e ciently.
This concept can be applied to various scheduling problems in order to improve
performance.
To demonstrate the power of reordering bu ers and to show how they can be
e ciently used, we apply reordering bu ers to two exemplary scheduling problems. In
the rst problem, the bu er is used to minimize the sum of the distances
between consecutive elements in a sequence of points from a metric space. We design
the rst algorithm achieving a polylogarithmic competitive ratio for general metric
spaces. In the second problem, the reordering bu er is used to obtain improved
competitive ratios for the well-known online minimum makespan scheduling problem.
For the identical machine model, we present matching upper and lower bounds on the
competitive ratio which are signi cantly lower than the bounds for the classic online
minimum makespan scheduling problem without reordering bu ers. This is somewhat
surprising considering that, for more than four machines, no tight bounds are known
for the problem without reordering, despite the great e ort that was spent on this
problem.
Bu ers cannot only be an optional tool for improving performance for various
scheduling problems, they can also be a problem-speci c necessity. We investigate twodi erent scheduling problems that are motivated by the problem of packet forwarding
in network switches that have so-called Quality-of-Service (QoS) capabilities, i.e.,
switches which are able to treat di erent kind of packets with di erent priority. Since
a network switch may not be able to instantly forward every arriving data packet,
network switches are equipped with bu ers to temporarily store not yet forwarded
data packets. The di erent packet priorities in the QoS scenario are abstracted by
assigning each packet a certain value which re ects its priority. A scheduling strategy
is used to decide which packets from the bu ers are to be sent at any given time.
First, we study a scenario in which the bu ers in the network switch have limited
capacity and packets have to be sent in the order they arrive. Since the capacity of
the outgoing link is also limited, bu er over ow events may occur. In case of a bu er
over ow, packets have to be dropped and cannot be forwarded anymore. In order to
avoid dropping very valuable packets, it can make sense to preemptively drop packets
of lower value at a point in time where it would otherwise not be necessary to drop
packets at all. The challenge is to design algorithms that drop the right packets at
the right time to achieve the best possible performance.
In the second scenario we study, the capacity of bu ers is unbounded and packets
can be sent in arbitrary order. However, each packet has a deadline by which it has to
be either sent or dropped. In this model, there is a trade-o between sending packets
which are to expire shortly and sending packets with large values.
We completely solve both problems for the case that only two dierent packet
values appear in the input sequence and improve the previous bounds for the general
case. For the rst problem variant, we study the so-called preemptive greedy strategy,
which is currently the only algorithm achieving a competitive ratio below 2. We
analyze this algorithm more carefully and show improved upper and lower bounds
on the competitive ratio of preemptive greedy. For the second problem variant, we
introduce the novel concept of suppressed packets and demonstrate the potential of
this approach by, among other things, presenting an algorithm achieving the currently
best known competitive ratio.
For many optimization problems that are interesting in an online setting, computing
an optimal solution is intractable under reasonable complexity theoretic assumptions.
Thus, even if we had clairvoyant abilities, it might still be impractical to compute
an optimal solution. The optimal o ine algorithm which the online algorithm is
compared to might have an unacceptable worst-case running time. This is the case,
for example, for the reordering bu er problems we study. These problems are NP-hard
in their respective o ine variant. In contrast, all online algorithms investigated in
this thesis are relatively simple and can be implemented e ciently. Hence, we do not
focus on the running times of the algorithms and instead concentrate on the quality
of the solution obtained.
All the bounds we present are the currently best known for the speci c problem.
Our bounds for the online minimum makespan scheduling problem for identical
machines with reordering and the bounds for packet forwarding in switches with two
packet values are optimal. For the remaining problems, we improve the known upper
bounds considerably.Acknowledgements
First of all, I would like to thank my advisor Matthias Westermann with whom I
searched for proofs and Indian restaurants, who always supported me, and who openly
shared his insights into computer science, economics, politics, and life with me. I also
thank Joost-Pieter Katoen and Rolf Niedermeier for agreeing to act as reviewers for
this thesis.
I thank Berthold V ocking for creating a research group with an atmosphere that
was not only extremely productive but also fun. In fact, I thank all the people of
the Algorithms and Complexity Group in Aachen for that. I especially would like to
thank Heiko R oglin for fruitful collaborations, for proofreading this thesis, and for
always staying calm even if I disturbed him during his work. I am also indebted to
Harald R acke with whom I spend a very productive and entertaining summer despite
the fact that the climate in our o ce was closer to that of a Finnish sauna than to
that of an o ce.
This work was supported by DFG grant WE 2848/1.Contents
1 Introduction 1
1.1 Reordering Bu ers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.1.1 The Reordering Bu er Problem . . . . . . . . . . . . . . . . . . 4
1.1.2 Online Minimum Makespan Scheduling with Reordering . . . . 6
1.1.3 Our Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.1.4 Related Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.2 Bu er Management for Switches Supporting Quality of Service . . . . 13
1.2.1 The FIFO Model . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.2.2 The Bounded-Delay Model . . . . . . . . . . . . . . . . . . . . 14
1.2.3 Our Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.2.4 Related Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1.3 Bibliographic Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2 Reordering Bu ers 19
2.1 The Reordering Bu er Problem . . . . . . . . . . . . . . . . . . . . . . 19
2.1.1 Tree Metric Spaces . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.1.2 HST . . . . . . . . . . . . . . . . . . . . . . . . . 26
2.1.3 General Metric Spaces . . . . . . . . . . . . . . . . . . . . . . . 29
2.2 Online Minimum Makespan Scheduling with Reordering . . . . . . . . 30
2.2.1 Identical Machines . . . . . . . . . . . . . . . . . . . . . . . . . 30
2.2.2 Uniformly Related Machines . . . . . . . . . . . . . . . . . . . 35
3 Bu er Management for Switches Supporting Quality of Service 37
3.1 The FIFO Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
3.1.1 Two Packet Values . . . . . . . . . . . . . . . . . . . . . . . . . 38
3.1.2 General Packet Values and the Preemptive Greedy Strategy . . 46
3.2 The Bounded-Delay Model . . . . . . . . . . . . . . . . . . . . . . . . 53
3.2.1 Provisional Schedules . . . . . . . . . . . . . . . . . . . . . . . 53
3.2.2 First Approach . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
3.2.3 Suppressed Packets and Our Strategies . . . . . . . . . . . . . . 5

  • Univers Univers
  • Ebooks Ebooks
  • Livres audio Livres audio
  • Presse Presse
  • Podcasts Podcasts
  • BD BD
  • Documents Documents