Skip to main content Accessibility help
×
Hostname: page-component-77c89778f8-vsgnj Total loading time: 0 Render date: 2024-07-19T10:23:02.532Z Has data issue: false hasContentIssue false

14 - Scheduling with Speed Scaling

Published online by Cambridge University Press:  07 May 2024

Rahul Vaze
Affiliation:
Tata Institute of Fundamental Research, Mumbai, India
Get access

Summary

Introduction

In this chapter, we supplement the problem of minimizing the flow time with multiple fixedspeed servers considered in Chapter 13 by allowing the flexibility for each server to have a tuneable speed. This setup is typically referred to as speed scaling in the literature. Increasing server speed decreases the flow time but comes at a cost of increased energy consumption, which is typically accounted for by defining a speed based power cost function P(s) that is an increasing function of speed s.

A variety of problems can now be formulated, such as minimizing flow time subject to a constraint on the total energy cost, or minimizing a linear combination of flow time and total energy cost, etc. The most popular problem studied in literature is the linear combination of flow time and total energy cost, generally referred to as the flow time plus energy problem.

In this chapter, we consider the flow time plus energy problem and begin with the single server case. With a single server, SRPT remains an optimal scheduling algorithm, and the only non-trivial decision is the speed choice. We will show that an algorithm that chooses speed such that the power consumption at each time instant is equal to the number of incomplete jobs in the system plus one is 3-competitive, independent of the power cost function P.

Next, we consider the more challenging speed scaling problem when there are multiple identical servers, i.e., with the same power cost function P. We consider the multi-server version of the SRPT algorithm for scheduling, and the following speed choice: the total power consumption across all servers at any time instant is equal to the number of incomplete jobs in the system, and all servers process their jobs at the same speed. We show that this algorithm is constant competitive, where the constant depends only on the cost function P. Recall from Chapter 13 that the competitive ratio of the SRPT algorithm with fixed speed servers to minimize the flow time is, where n is the number of jobs and m is the number of servers, and wmax and wmin are the maximum and minimum job sizes.

Type
Chapter
Information
Online Algorithms , pp. 305 - 328
Publisher: Cambridge University Press
Print publication year: 2023

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Scheduling with Speed Scaling
  • Rahul Vaze, Tata Institute of Fundamental Research, Mumbai, India
  • Book: Online Algorithms
  • Online publication: 07 May 2024
  • Chapter DOI: https://doi.org/10.1017/9781009349178.015
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Scheduling with Speed Scaling
  • Rahul Vaze, Tata Institute of Fundamental Research, Mumbai, India
  • Book: Online Algorithms
  • Online publication: 07 May 2024
  • Chapter DOI: https://doi.org/10.1017/9781009349178.015
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Scheduling with Speed Scaling
  • Rahul Vaze, Tata Institute of Fundamental Research, Mumbai, India
  • Book: Online Algorithms
  • Online publication: 07 May 2024
  • Chapter DOI: https://doi.org/10.1017/9781009349178.015
Available formats
×