implementation of algorithms for right-sizing data centers

55
Implementation of Algorithms for Right-Sizing Data Centers Author: Jonas Hübotter Supervisor: Prof. Dr. Susanne Albers Advisor: Jens Quedenfeld Department of Informatics Technical University of Munich August 13, 2021 1 / 17

Upload: others

Post on 12-Jul-2022

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Implementation of Algorithms for Right-Sizing Data Centers

Implementation of Algorithms forRight-Sizing Data Centers

Author: Jonas Hübotter

Supervisor: Prof. Dr. Susanne AlbersAdvisor: Jens Quedenfeld

Department of InformaticsTechnical University of Munich

August 13, 2021

1 / 17

Page 2: Implementation of Algorithms for Right-Sizing Data Centers

Outline

Motivation

Problem

Model

Algorithms

Results

Future work

2 / 17

Page 3: Implementation of Algorithms for Right-Sizing Data Centers

Motivation

• data centers use between 1% and 3% of global energy1, whichis estimated to increase2

• most data centers are statically provisioned, leading to averageutilization levels between 12% and 18%3

• typically servers operate at energy efficiency levels between 20%and 30%4

• when idling, servers consume half of their peak power4

1Arman Shehabi et al. United States Data Center Energy Usage Report. Tech. rep. Lawrence BerkeleyNational Laboratory, June 2016.

2Nicola Jones. “How to stop data centres from gobbling up the world’s electricity”. In: Nature561.7722 (2018), pp. 163–167.

3Josh Whitney and Pierre Delforge. Data Center Efficiency Assessment. Natural Resources DefenseCouncil, Aug. 2014.

4Luiz André Barroso and Urs Hölzle. “The case for energy-proportional computing”. In: Computer40.12 (2007), pp. 33–37.

3 / 17

Page 4: Implementation of Algorithms for Right-Sizing Data Centers

Motivation

• data centers use between 1% and 3% of global energy1, whichis estimated to increase2

• most data centers are statically provisioned, leading to averageutilization levels between 12% and 18%3

• typically servers operate at energy efficiency levels between 20%and 30%4

• when idling, servers consume half of their peak power4

1Arman Shehabi et al. United States Data Center Energy Usage Report. Tech. rep. Lawrence BerkeleyNational Laboratory, June 2016.

2Nicola Jones. “How to stop data centres from gobbling up the world’s electricity”. In: Nature561.7722 (2018), pp. 163–167.

3Josh Whitney and Pierre Delforge. Data Center Efficiency Assessment. Natural Resources DefenseCouncil, Aug. 2014.

4Luiz André Barroso and Urs Hölzle. “The case for energy-proportional computing”. In: Computer40.12 (2007), pp. 33–37.

3 / 17

Page 5: Implementation of Algorithms for Right-Sizing Data Centers

Motivation

• data centers use between 1% and 3% of global energy1, whichis estimated to increase2

• most data centers are statically provisioned, leading to averageutilization levels between 12% and 18%3

• typically servers operate at energy efficiency levels between 20%and 30%4

• when idling, servers consume half of their peak power4

1Arman Shehabi et al. United States Data Center Energy Usage Report. Tech. rep. Lawrence BerkeleyNational Laboratory, June 2016.

2Nicola Jones. “How to stop data centres from gobbling up the world’s electricity”. In: Nature561.7722 (2018), pp. 163–167.

3Josh Whitney and Pierre Delforge. Data Center Efficiency Assessment. Natural Resources DefenseCouncil, Aug. 2014.

4Luiz André Barroso and Urs Hölzle. “The case for energy-proportional computing”. In: Computer40.12 (2007), pp. 33–37.

3 / 17

Page 6: Implementation of Algorithms for Right-Sizing Data Centers

Motivation

• data centers use between 1% and 3% of global energy1, whichis estimated to increase2

• most data centers are statically provisioned, leading to averageutilization levels between 12% and 18%3

• typically servers operate at energy efficiency levels between 20%and 30%4

• when idling, servers consume half of their peak power4

1Arman Shehabi et al. United States Data Center Energy Usage Report. Tech. rep. Lawrence BerkeleyNational Laboratory, June 2016.

2Nicola Jones. “How to stop data centres from gobbling up the world’s electricity”. In: Nature561.7722 (2018), pp. 163–167.

3Josh Whitney and Pierre Delforge. Data Center Efficiency Assessment. Natural Resources DefenseCouncil, Aug. 2014.

4Luiz André Barroso and Urs Hölzle. “The case for energy-proportional computing”. In: Computer40.12 (2007), pp. 33–37.

3 / 17

Page 7: Implementation of Algorithms for Right-Sizing Data Centers

Problem

f1

4 / 17

Page 8: Implementation of Algorithms for Right-Sizing Data Centers

Problem

x1

f1

4 / 17

Page 9: Implementation of Algorithms for Right-Sizing Data Centers

Problem

f2

x1

x∗ x2

5 / 17

Page 10: Implementation of Algorithms for Right-Sizing Data Centers

Problem

f2

x1x∗

x2

5 / 17

Page 11: Implementation of Algorithms for Right-Sizing Data Centers

Problem

f2

x1x∗ x2

5 / 17

Page 12: Implementation of Algorithms for Right-Sizing Data Centers

Model

What is the cost of operating a data center with xt ∈ N0 activeservers and under load λt ∈ N0?

• How to distribute jobs across the active servers?Distribute evenly across all servers of the same type5.

• What is the cost associated with such an assignment?Consisting of energy costs and the revenue loss incurred by adelayed processing of jobs.Algorithms need to balance energy costs and revenue loss.

Movement costs are on the order of operating an idling server for 1-4hours6.

5Susanne Albers and Jens Quedenfeld. “Algorithms for Right-Sizing Heterogeneous Data Centers”. In:Proceedings of the 33rd ACM Symposium on Parallelism in Algorithms and Architectures. 2021,pp. 48–58.

6Minghong Lin et al. “Dynamic right-sizing for power-proportional data centers”. In: IEEE/ACMTransactions on Networking 21.5 (2012), pp. 1378–1391.

6 / 17

Page 13: Implementation of Algorithms for Right-Sizing Data Centers

Model

What is the cost of operating a data center with xt ∈ N0 activeservers and under load λt ∈ N0?

• How to distribute jobs across the active servers?

Distribute evenly across all servers of the same type5.• What is the cost associated with such an assignment?

Consisting of energy costs and the revenue loss incurred by adelayed processing of jobs.Algorithms need to balance energy costs and revenue loss.

Movement costs are on the order of operating an idling server for 1-4hours6.

5Susanne Albers and Jens Quedenfeld. “Algorithms for Right-Sizing Heterogeneous Data Centers”. In:Proceedings of the 33rd ACM Symposium on Parallelism in Algorithms and Architectures. 2021,pp. 48–58.

6Minghong Lin et al. “Dynamic right-sizing for power-proportional data centers”. In: IEEE/ACMTransactions on Networking 21.5 (2012), pp. 1378–1391.

6 / 17

Page 14: Implementation of Algorithms for Right-Sizing Data Centers

Model

What is the cost of operating a data center with xt ∈ N0 activeservers and under load λt ∈ N0?

• How to distribute jobs across the active servers?Distribute evenly across all servers of the same type5.

• What is the cost associated with such an assignment?Consisting of energy costs and the revenue loss incurred by adelayed processing of jobs.Algorithms need to balance energy costs and revenue loss.

Movement costs are on the order of operating an idling server for 1-4hours6.

5Susanne Albers and Jens Quedenfeld. “Algorithms for Right-Sizing Heterogeneous Data Centers”. In:Proceedings of the 33rd ACM Symposium on Parallelism in Algorithms and Architectures. 2021,pp. 48–58.

6Minghong Lin et al. “Dynamic right-sizing for power-proportional data centers”. In: IEEE/ACMTransactions on Networking 21.5 (2012), pp. 1378–1391.

6 / 17

Page 15: Implementation of Algorithms for Right-Sizing Data Centers

Model

What is the cost of operating a data center with xt ∈ N0 activeservers and under load λt ∈ N0?

• How to distribute jobs across the active servers?Distribute evenly across all servers of the same type5.

• What is the cost associated with such an assignment?

Consisting of energy costs and the revenue loss incurred by adelayed processing of jobs.Algorithms need to balance energy costs and revenue loss.

Movement costs are on the order of operating an idling server for 1-4hours6.

5Susanne Albers and Jens Quedenfeld. “Algorithms for Right-Sizing Heterogeneous Data Centers”. In:Proceedings of the 33rd ACM Symposium on Parallelism in Algorithms and Architectures. 2021,pp. 48–58.

6Minghong Lin et al. “Dynamic right-sizing for power-proportional data centers”. In: IEEE/ACMTransactions on Networking 21.5 (2012), pp. 1378–1391.

6 / 17

Page 16: Implementation of Algorithms for Right-Sizing Data Centers

Model

What is the cost of operating a data center with xt ∈ N0 activeservers and under load λt ∈ N0?

• How to distribute jobs across the active servers?Distribute evenly across all servers of the same type5.

• What is the cost associated with such an assignment?Consisting of energy costs and the revenue loss incurred by adelayed processing of jobs.

Algorithms need to balance energy costs and revenue loss.

Movement costs are on the order of operating an idling server for 1-4hours6.

5Susanne Albers and Jens Quedenfeld. “Algorithms for Right-Sizing Heterogeneous Data Centers”. In:Proceedings of the 33rd ACM Symposium on Parallelism in Algorithms and Architectures. 2021,pp. 48–58.

6Minghong Lin et al. “Dynamic right-sizing for power-proportional data centers”. In: IEEE/ACMTransactions on Networking 21.5 (2012), pp. 1378–1391.

6 / 17

Page 17: Implementation of Algorithms for Right-Sizing Data Centers

Model

What is the cost of operating a data center with xt ∈ N0 activeservers and under load λt ∈ N0?

• How to distribute jobs across the active servers?Distribute evenly across all servers of the same type5.

• What is the cost associated with such an assignment?Consisting of energy costs and the revenue loss incurred by adelayed processing of jobs.Algorithms need to balance energy costs and revenue loss.

Movement costs are on the order of operating an idling server for 1-4hours6.

5Susanne Albers and Jens Quedenfeld. “Algorithms for Right-Sizing Heterogeneous Data Centers”. In:Proceedings of the 33rd ACM Symposium on Parallelism in Algorithms and Architectures. 2021,pp. 48–58.

6Minghong Lin et al. “Dynamic right-sizing for power-proportional data centers”. In: IEEE/ACMTransactions on Networking 21.5 (2012), pp. 1378–1391.

6 / 17

Page 18: Implementation of Algorithms for Right-Sizing Data Centers

Model

What is the cost of operating a data center with xt ∈ N0 activeservers and under load λt ∈ N0?

• How to distribute jobs across the active servers?Distribute evenly across all servers of the same type5.

• What is the cost associated with such an assignment?Consisting of energy costs and the revenue loss incurred by adelayed processing of jobs.Algorithms need to balance energy costs and revenue loss.

Movement costs are on the order of operating an idling server for 1-4hours6.

5Susanne Albers and Jens Quedenfeld. “Algorithms for Right-Sizing Heterogeneous Data Centers”. In:Proceedings of the 33rd ACM Symposium on Parallelism in Algorithms and Architectures. 2021,pp. 48–58.

6Minghong Lin et al. “Dynamic right-sizing for power-proportional data centers”. In: IEEE/ACMTransactions on Networking 21.5 (2012), pp. 1378–1391.

6 / 17

Page 19: Implementation of Algorithms for Right-Sizing Data Centers

Algorithms for one dimension

problem algorithm results

fractional

Lazy Capacity Provisioning7 3-competitiveMemoryless8 3-competitiveProbabilistic8 2-competitiveRandomly Biased Greedy9,θ ≥ 1

(1 + θ)-competitive,O(max{T/θ, θ})-regret

integral

Lazy Capacity Provisioning10 3-competitiveRandomized10 2-competitive

7Minghong Lin et al. “Dynamic right-sizing for power-proportional data centers”. In: IEEE/ACMTransactions on Networking 21.5 (2012), pp. 1378–1391.

8Nikhil Bansal et al. “A 2-competitive algorithm for online convex optimization with switching costs”.In: Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques(APPROX/RANDOM 2015). Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik. 2015.

9Lachlan Andrew et al. “A tale of two metrics: Simultaneous bounds on competitiveness and regret”.In: Conference on Learning Theory. PMLR. 2013, pp. 741–763.

10Susanne Albers and Jens Quedenfeld. “Optimal algorithms for right-sizing data centers”. In:Proceedings of the 30th on Symposium on Parallelism in Algorithms and Architectures. 2018,pp. 363–372.

7 / 17

Page 20: Implementation of Algorithms for Right-Sizing Data Centers

Algorithms for one dimension

problem algorithm results

fractional

Lazy Capacity Provisioning7 3-competitive

Memoryless8 3-competitiveProbabilistic8 2-competitiveRandomly Biased Greedy9,θ ≥ 1

(1 + θ)-competitive,O(max{T/θ, θ})-regret

integral

Lazy Capacity Provisioning10 3-competitiveRandomized10 2-competitive

7Minghong Lin et al. “Dynamic right-sizing for power-proportional data centers”. In: IEEE/ACMTransactions on Networking 21.5 (2012), pp. 1378–1391.

8Nikhil Bansal et al. “A 2-competitive algorithm for online convex optimization with switching costs”.In: Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques(APPROX/RANDOM 2015). Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik. 2015.

9Lachlan Andrew et al. “A tale of two metrics: Simultaneous bounds on competitiveness and regret”.In: Conference on Learning Theory. PMLR. 2013, pp. 741–763.

10Susanne Albers and Jens Quedenfeld. “Optimal algorithms for right-sizing data centers”. In:Proceedings of the 30th on Symposium on Parallelism in Algorithms and Architectures. 2018,pp. 363–372.

7 / 17

Page 21: Implementation of Algorithms for Right-Sizing Data Centers

Algorithms for one dimension

problem algorithm results

fractional

Lazy Capacity Provisioning7 3-competitiveMemoryless8 3-competitive

Probabilistic8 2-competitiveRandomly Biased Greedy9,θ ≥ 1

(1 + θ)-competitive,O(max{T/θ, θ})-regret

integral

Lazy Capacity Provisioning10 3-competitiveRandomized10 2-competitive

7Minghong Lin et al. “Dynamic right-sizing for power-proportional data centers”. In: IEEE/ACMTransactions on Networking 21.5 (2012), pp. 1378–1391.

8Nikhil Bansal et al. “A 2-competitive algorithm for online convex optimization with switching costs”.In: Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques(APPROX/RANDOM 2015). Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik. 2015.

9Lachlan Andrew et al. “A tale of two metrics: Simultaneous bounds on competitiveness and regret”.In: Conference on Learning Theory. PMLR. 2013, pp. 741–763.

10Susanne Albers and Jens Quedenfeld. “Optimal algorithms for right-sizing data centers”. In:Proceedings of the 30th on Symposium on Parallelism in Algorithms and Architectures. 2018,pp. 363–372.

7 / 17

Page 22: Implementation of Algorithms for Right-Sizing Data Centers

Algorithms for one dimension

problem algorithm results

fractional

Lazy Capacity Provisioning7 3-competitiveMemoryless8 3-competitiveProbabilistic8 2-competitive

Randomly Biased Greedy9,θ ≥ 1

(1 + θ)-competitive,O(max{T/θ, θ})-regret

integral

Lazy Capacity Provisioning10 3-competitiveRandomized10 2-competitive

7Minghong Lin et al. “Dynamic right-sizing for power-proportional data centers”. In: IEEE/ACMTransactions on Networking 21.5 (2012), pp. 1378–1391.

8Nikhil Bansal et al. “A 2-competitive algorithm for online convex optimization with switching costs”.In: Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques(APPROX/RANDOM 2015). Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik. 2015.

9Lachlan Andrew et al. “A tale of two metrics: Simultaneous bounds on competitiveness and regret”.In: Conference on Learning Theory. PMLR. 2013, pp. 741–763.

10Susanne Albers and Jens Quedenfeld. “Optimal algorithms for right-sizing data centers”. In:Proceedings of the 30th on Symposium on Parallelism in Algorithms and Architectures. 2018,pp. 363–372.

7 / 17

Page 23: Implementation of Algorithms for Right-Sizing Data Centers

Algorithms for one dimension

problem algorithm results

fractional

Lazy Capacity Provisioning7 3-competitiveMemoryless8 3-competitiveProbabilistic8 2-competitiveRandomly Biased Greedy9,θ ≥ 1

(1 + θ)-competitive,O(max{T/θ, θ})-regret

integral

Lazy Capacity Provisioning10 3-competitiveRandomized10 2-competitive

7Minghong Lin et al. “Dynamic right-sizing for power-proportional data centers”. In: IEEE/ACMTransactions on Networking 21.5 (2012), pp. 1378–1391.

8Nikhil Bansal et al. “A 2-competitive algorithm for online convex optimization with switching costs”.In: Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques(APPROX/RANDOM 2015). Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik. 2015.

9Lachlan Andrew et al. “A tale of two metrics: Simultaneous bounds on competitiveness and regret”.In: Conference on Learning Theory. PMLR. 2013, pp. 741–763.

10Susanne Albers and Jens Quedenfeld. “Optimal algorithms for right-sizing data centers”. In:Proceedings of the 30th on Symposium on Parallelism in Algorithms and Architectures. 2018,pp. 363–372.

7 / 17

Page 24: Implementation of Algorithms for Right-Sizing Data Centers

Algorithms for one dimension

problem algorithm results

fractional

Lazy Capacity Provisioning7 3-competitiveMemoryless8 3-competitiveProbabilistic8 2-competitiveRandomly Biased Greedy9,θ ≥ 1

(1 + θ)-competitive,O(max{T/θ, θ})-regret

integral Lazy Capacity Provisioning10 3-competitive

Randomized10 2-competitive

7Minghong Lin et al. “Dynamic right-sizing for power-proportional data centers”. In: IEEE/ACMTransactions on Networking 21.5 (2012), pp. 1378–1391.

8Nikhil Bansal et al. “A 2-competitive algorithm for online convex optimization with switching costs”.In: Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques(APPROX/RANDOM 2015). Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik. 2015.

9Lachlan Andrew et al. “A tale of two metrics: Simultaneous bounds on competitiveness and regret”.In: Conference on Learning Theory. PMLR. 2013, pp. 741–763.

10Susanne Albers and Jens Quedenfeld. “Optimal algorithms for right-sizing data centers”. In:Proceedings of the 30th on Symposium on Parallelism in Algorithms and Architectures. 2018,pp. 363–372.

7 / 17

Page 25: Implementation of Algorithms for Right-Sizing Data Centers

Algorithms for one dimension

problem algorithm results

fractional

Lazy Capacity Provisioning7 3-competitiveMemoryless8 3-competitiveProbabilistic8 2-competitiveRandomly Biased Greedy9,θ ≥ 1

(1 + θ)-competitive,O(max{T/θ, θ})-regret

integral Lazy Capacity Provisioning10 3-competitiveRandomized10 2-competitive

7Minghong Lin et al. “Dynamic right-sizing for power-proportional data centers”. In: IEEE/ACMTransactions on Networking 21.5 (2012), pp. 1378–1391.

8Nikhil Bansal et al. “A 2-competitive algorithm for online convex optimization with switching costs”.In: Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques(APPROX/RANDOM 2015). Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik. 2015.

9Lachlan Andrew et al. “A tale of two metrics: Simultaneous bounds on competitiveness and regret”.In: Conference on Learning Theory. PMLR. 2013, pp. 741–763.

10Susanne Albers and Jens Quedenfeld. “Optimal algorithms for right-sizing data centers”. In:Proceedings of the 30th on Symposium on Parallelism in Algorithms and Architectures. 2018,pp. 363–372.

7 / 17

Page 26: Implementation of Algorithms for Right-Sizing Data Centers

Algorithms for multiple dimensions

problem algorithm resultsintegral; linear,

time-indep. cost

Lazy Budgeting11

(deterministic)2d-competitive

Lazy Budgeting11

(randomized)≈ 1.582d-competitive

integral; hom. load

Lazy Budgeting12 (2d + 1 + ϵ)-competitive

fractional; α-loc.polyhedral costs;

ℓ2 movement

Primal OBD13 3 +O(1/α)-competitiveDual OBD13 O(

√T )-regret

fractional;prediction window

RHC14 (1 +O(1/w))-competitive in 1d

AFHC14 (1 +O(1/w))-competitive

11Susanne Albers and Jens Quedenfeld. “Algorithms for Energy Conservation in Heterogeneous DataCenters.”. In: CIAC. 2021, pp. 75–89.

12Susanne Albers and Jens Quedenfeld. “Algorithms for Right-Sizing Heterogeneous Data Centers”. In:Proceedings of the 33rd ACM Symposium on Parallelism in Algorithms and Architectures. 2021,pp. 48–58.

13Niangjun Chen, Gautam Goel, and Adam Wierman. “Smoothed online convex optimization in highdimensions via online balanced descent”. In: Conference On Learning Theory. PMLR. 2018,pp. 1574–1594.

14Minghong Lin et al. “Online algorithms for geographical load balancing”. In: 2012 international greencomputing conference (IGCC). IEEE. 2012, pp. 1–10.

8 / 17

Page 27: Implementation of Algorithms for Right-Sizing Data Centers

Algorithms for multiple dimensions

problem algorithm resultsintegral; linear,

time-indep. costLazy Budgeting11

(deterministic)2d-competitive

Lazy Budgeting11

(randomized)≈ 1.582d-competitive

integral; hom. load

Lazy Budgeting12 (2d + 1 + ϵ)-competitive

fractional; α-loc.polyhedral costs;

ℓ2 movement

Primal OBD13 3 +O(1/α)-competitiveDual OBD13 O(

√T )-regret

fractional;prediction window

RHC14 (1 +O(1/w))-competitive in 1d

AFHC14 (1 +O(1/w))-competitive

11Susanne Albers and Jens Quedenfeld. “Algorithms for Energy Conservation in Heterogeneous DataCenters.”. In: CIAC. 2021, pp. 75–89.

12Susanne Albers and Jens Quedenfeld. “Algorithms for Right-Sizing Heterogeneous Data Centers”. In:Proceedings of the 33rd ACM Symposium on Parallelism in Algorithms and Architectures. 2021,pp. 48–58.

13Niangjun Chen, Gautam Goel, and Adam Wierman. “Smoothed online convex optimization in highdimensions via online balanced descent”. In: Conference On Learning Theory. PMLR. 2018,pp. 1574–1594.

14Minghong Lin et al. “Online algorithms for geographical load balancing”. In: 2012 international greencomputing conference (IGCC). IEEE. 2012, pp. 1–10.

8 / 17

Page 28: Implementation of Algorithms for Right-Sizing Data Centers

Algorithms for multiple dimensions

problem algorithm resultsintegral; linear,

time-indep. costLazy Budgeting11

(deterministic)2d-competitive

Lazy Budgeting11

(randomized)≈ 1.582d-competitive

integral; hom. load

Lazy Budgeting12 (2d + 1 + ϵ)-competitive

fractional; α-loc.polyhedral costs;

ℓ2 movement

Primal OBD13 3 +O(1/α)-competitiveDual OBD13 O(

√T )-regret

fractional;prediction window

RHC14 (1 +O(1/w))-competitive in 1d

AFHC14 (1 +O(1/w))-competitive

11Susanne Albers and Jens Quedenfeld. “Algorithms for Energy Conservation in Heterogeneous DataCenters.”. In: CIAC. 2021, pp. 75–89.

12Susanne Albers and Jens Quedenfeld. “Algorithms for Right-Sizing Heterogeneous Data Centers”. In:Proceedings of the 33rd ACM Symposium on Parallelism in Algorithms and Architectures. 2021,pp. 48–58.

13Niangjun Chen, Gautam Goel, and Adam Wierman. “Smoothed online convex optimization in highdimensions via online balanced descent”. In: Conference On Learning Theory. PMLR. 2018,pp. 1574–1594.

14Minghong Lin et al. “Online algorithms for geographical load balancing”. In: 2012 international greencomputing conference (IGCC). IEEE. 2012, pp. 1–10.

8 / 17

Page 29: Implementation of Algorithms for Right-Sizing Data Centers

Algorithms for multiple dimensions

problem algorithm resultsintegral; linear,

time-indep. costLazy Budgeting11

(deterministic)2d-competitive

Lazy Budgeting11

(randomized)≈ 1.582d-competitive

integral; hom. load Lazy Budgeting12 (2d + 1 + ϵ)-competitivefractional; α-loc.polyhedral costs;

ℓ2 movement

Primal OBD13 3 +O(1/α)-competitiveDual OBD13 O(

√T )-regret

fractional;prediction window

RHC14 (1 +O(1/w))-competitive in 1d

AFHC14 (1 +O(1/w))-competitive

11Susanne Albers and Jens Quedenfeld. “Algorithms for Energy Conservation in Heterogeneous DataCenters.”. In: CIAC. 2021, pp. 75–89.

12Susanne Albers and Jens Quedenfeld. “Algorithms for Right-Sizing Heterogeneous Data Centers”. In:Proceedings of the 33rd ACM Symposium on Parallelism in Algorithms and Architectures. 2021,pp. 48–58.

13Niangjun Chen, Gautam Goel, and Adam Wierman. “Smoothed online convex optimization in highdimensions via online balanced descent”. In: Conference On Learning Theory. PMLR. 2018,pp. 1574–1594.

14Minghong Lin et al. “Online algorithms for geographical load balancing”. In: 2012 international greencomputing conference (IGCC). IEEE. 2012, pp. 1–10.

8 / 17

Page 30: Implementation of Algorithms for Right-Sizing Data Centers

Algorithms for multiple dimensions

problem algorithm resultsintegral; linear,

time-indep. costLazy Budgeting11

(deterministic)2d-competitive

Lazy Budgeting11

(randomized)≈ 1.582d-competitive

integral; hom. load Lazy Budgeting12 (2d + 1 + ϵ)-competitivefractional; α-loc.polyhedral costs;

ℓ2 movement

Primal OBD13 3 +O(1/α)-competitive

Dual OBD13 O(√T )-regret

fractional;prediction window

RHC14 (1 +O(1/w))-competitive in 1d

AFHC14 (1 +O(1/w))-competitive

11Susanne Albers and Jens Quedenfeld. “Algorithms for Energy Conservation in Heterogeneous DataCenters.”. In: CIAC. 2021, pp. 75–89.

12Susanne Albers and Jens Quedenfeld. “Algorithms for Right-Sizing Heterogeneous Data Centers”. In:Proceedings of the 33rd ACM Symposium on Parallelism in Algorithms and Architectures. 2021,pp. 48–58.

13Niangjun Chen, Gautam Goel, and Adam Wierman. “Smoothed online convex optimization in highdimensions via online balanced descent”. In: Conference On Learning Theory. PMLR. 2018,pp. 1574–1594.

14Minghong Lin et al. “Online algorithms for geographical load balancing”. In: 2012 international greencomputing conference (IGCC). IEEE. 2012, pp. 1–10.

8 / 17

Page 31: Implementation of Algorithms for Right-Sizing Data Centers

Algorithms for multiple dimensions

problem algorithm resultsintegral; linear,

time-indep. costLazy Budgeting11

(deterministic)2d-competitive

Lazy Budgeting11

(randomized)≈ 1.582d-competitive

integral; hom. load Lazy Budgeting12 (2d + 1 + ϵ)-competitivefractional; α-loc.polyhedral costs;

ℓ2 movement

Primal OBD13 3 +O(1/α)-competitiveDual OBD13 O(

√T )-regret

fractional;prediction window

RHC14 (1 +O(1/w))-competitive in 1d

AFHC14 (1 +O(1/w))-competitive

11Susanne Albers and Jens Quedenfeld. “Algorithms for Energy Conservation in Heterogeneous DataCenters.”. In: CIAC. 2021, pp. 75–89.

12Susanne Albers and Jens Quedenfeld. “Algorithms for Right-Sizing Heterogeneous Data Centers”. In:Proceedings of the 33rd ACM Symposium on Parallelism in Algorithms and Architectures. 2021,pp. 48–58.

13Niangjun Chen, Gautam Goel, and Adam Wierman. “Smoothed online convex optimization in highdimensions via online balanced descent”. In: Conference On Learning Theory. PMLR. 2018,pp. 1574–1594.

14Minghong Lin et al. “Online algorithms for geographical load balancing”. In: 2012 international greencomputing conference (IGCC). IEEE. 2012, pp. 1–10.

8 / 17

Page 32: Implementation of Algorithms for Right-Sizing Data Centers

Algorithms for multiple dimensions

problem algorithm resultsintegral; linear,

time-indep. costLazy Budgeting11

(deterministic)2d-competitive

Lazy Budgeting11

(randomized)≈ 1.582d-competitive

integral; hom. load Lazy Budgeting12 (2d + 1 + ϵ)-competitivefractional; α-loc.polyhedral costs;

ℓ2 movement

Primal OBD13 3 +O(1/α)-competitiveDual OBD13 O(

√T )-regret

fractional;prediction window

RHC14 (1 +O(1/w))-competitive in 1d

AFHC14 (1 +O(1/w))-competitive

11Susanne Albers and Jens Quedenfeld. “Algorithms for Energy Conservation in Heterogeneous DataCenters.”. In: CIAC. 2021, pp. 75–89.

12Susanne Albers and Jens Quedenfeld. “Algorithms for Right-Sizing Heterogeneous Data Centers”. In:Proceedings of the 33rd ACM Symposium on Parallelism in Algorithms and Architectures. 2021,pp. 48–58.

13Niangjun Chen, Gautam Goel, and Adam Wierman. “Smoothed online convex optimization in highdimensions via online balanced descent”. In: Conference On Learning Theory. PMLR. 2018,pp. 1574–1594.

14Minghong Lin et al. “Online algorithms for geographical load balancing”. In: 2012 international greencomputing conference (IGCC). IEEE. 2012, pp. 1–10.

8 / 17

Page 33: Implementation of Algorithms for Right-Sizing Data Centers

Algorithms for multiple dimensions

problem algorithm resultsintegral; linear,

time-indep. costLazy Budgeting11

(deterministic)2d-competitive

Lazy Budgeting11

(randomized)≈ 1.582d-competitive

integral; hom. load Lazy Budgeting12 (2d + 1 + ϵ)-competitivefractional; α-loc.polyhedral costs;

ℓ2 movement

Primal OBD13 3 +O(1/α)-competitiveDual OBD13 O(

√T )-regret

fractional;prediction window

RHC14 (1 +O(1/w))-competitive in 1d

AFHC14 (1 +O(1/w))-competitive

11Susanne Albers and Jens Quedenfeld. “Algorithms for Energy Conservation in Heterogeneous DataCenters.”. In: CIAC. 2021, pp. 75–89.

12Susanne Albers and Jens Quedenfeld. “Algorithms for Right-Sizing Heterogeneous Data Centers”. In:Proceedings of the 33rd ACM Symposium on Parallelism in Algorithms and Architectures. 2021,pp. 48–58.

13Niangjun Chen, Gautam Goel, and Adam Wierman. “Smoothed online convex optimization in highdimensions via online balanced descent”. In: Conference On Learning Theory. PMLR. 2018,pp. 1574–1594.

14Minghong Lin et al. “Online algorithms for geographical load balancing”. In: 2012 international greencomputing conference (IGCC). IEEE. 2012, pp. 1–10.

8 / 17

Page 34: Implementation of Algorithms for Right-Sizing Data Centers

Traces

0

200

400

600

800

1,000load

5 10 15 20

0

200

400

600

800

1,000

time (hours)

num

ber

ofse

rver

s

OPTOPTs

(a) LANL Mustang

0

0.5

1

1.5

·105

load

very longlong

mediumshort

5 10 15 20

0

0.2

0.4

0.6

0.8

1

1.2·104

time (hours)

OPTOPTs

(b) Alibaba

9 / 17

Page 35: Implementation of Algorithms for Right-Sizing Data Centers

Performance metrics

• normalized cost: c(ALG )/c(OPT )

• cost reduction:

c(OPTs)− c(ALG )

c(OPTs)

• static/dynamic ratio: c(OPTs)/c(OPT )

10 / 17

Page 36: Implementation of Algorithms for Right-Sizing Data Centers

Performance metrics

• normalized cost: c(ALG )/c(OPT )

• cost reduction:

c(OPTs)− c(ALG )

c(OPTs)

• static/dynamic ratio: c(OPTs)/c(OPT )

10 / 17

Page 37: Implementation of Algorithms for Right-Sizing Data Centers

Performance metrics

• normalized cost: c(ALG )/c(OPT )

• cost reduction:

c(OPTs)− c(ALG )

c(OPTs)

• static/dynamic ratio: c(OPTs)/c(OPT )

10 / 17

Page 38: Implementation of Algorithms for Right-Sizing Data Centers

Results in one dimension

Mem

oryl

ess

LCP

Int-

LCP

Pro

babi

listic

Ran

d-Pro

babi

listic

1

1.2

1.4

1.6

1.8

2

2.2

2.4

norm

aliz

edco

st

model 1model 2

(a) LANL Mustang

Mem

oryl

ess

LCP

Int-

LCP

Pro

babi

listic

Ran

d-Pro

babi

listic

1

1.05

1.1

1.15

1.2

1.25

1.3model 1model 2

(b) Alibaba

11 / 17

Page 39: Implementation of Algorithms for Right-Sizing Data Centers

Results in one dimension

1 2 3 4 5 6 7

1

1.5

2

2.5

PMR

stat

ic/d

ynam

icra

tio

model 1model 2

1 1.2 1.4 1.6 1.8 2 2.2 2.4

1

1.5

2

static/dynamic ratio

norm

aliz

edco

st

model 1model 2

−20 0 20 40

1

1.5

2

cost reduction (%)

norm

aliz

edco

st

model 1model 2

12 / 17

Page 40: Implementation of Algorithms for Right-Sizing Data Centers

Results in one dimension

1 2 3 4 5 6 7

1

1.5

2

2.5

PMR

stat

ic/d

ynam

icra

tio

model 1model 2

1 1.2 1.4 1.6 1.8 2 2.2 2.4

1

1.5

2

static/dynamic ratio

norm

aliz

edco

st

model 1model 2

−20 0 20 40

1

1.5

2

cost reduction (%)

norm

aliz

edco

st

model 1model 2

12 / 17

Page 41: Implementation of Algorithms for Right-Sizing Data Centers

Results in one dimension

1 2 3 4 5 6 7

1

1.5

2

2.5

PMR

stat

ic/d

ynam

icra

tio

model 1model 2

1 1.2 1.4 1.6 1.8 2 2.2 2.4

1

1.5

2

static/dynamic ratio

norm

aliz

edco

st

model 1model 2

−20 0 20 40

1

1.5

2

cost reduction (%)

norm

aliz

edco

st

model 1model 2

12 / 17

Page 42: Implementation of Algorithms for Right-Sizing Data Centers

Other results

Multiple dimensions

• lazy budgeting algorithms perform nearly optimally (normalizedcost ∈ [1.05, 1.25]), without consideration of revenue loss

• descent methods achieve normalized costs of ≈ 2.5

With predictions

• even a short prediction window of several hours can significantlyimprove the results (by ≈ 5%)

• robust to imperfect (realistic) predictions

13 / 17

Page 43: Implementation of Algorithms for Right-Sizing Data Centers

Other results

Multiple dimensions

• lazy budgeting algorithms perform nearly optimally (normalizedcost ∈ [1.05, 1.25]), without consideration of revenue loss

• descent methods achieve normalized costs of ≈ 2.5

With predictions

• even a short prediction window of several hours can significantlyimprove the results (by ≈ 5%)

• robust to imperfect (realistic) predictions

13 / 17

Page 44: Implementation of Algorithms for Right-Sizing Data Centers

Other results

Multiple dimensions

• lazy budgeting algorithms perform nearly optimally (normalizedcost ∈ [1.05, 1.25]), without consideration of revenue loss

• descent methods achieve normalized costs of ≈ 2.5

With predictions

• even a short prediction window of several hours can significantlyimprove the results (by ≈ 5%)

• robust to imperfect (realistic) predictions

13 / 17

Page 45: Implementation of Algorithms for Right-Sizing Data Centers

Other results

Multiple dimensions

• lazy budgeting algorithms perform nearly optimally (normalizedcost ∈ [1.05, 1.25]), without consideration of revenue loss

• descent methods achieve normalized costs of ≈ 2.5

With predictions

• even a short prediction window of several hours can significantlyimprove the results (by ≈ 5%)

• robust to imperfect (realistic) predictions

13 / 17

Page 46: Implementation of Algorithms for Right-Sizing Data Centers

Future work

• compare performance to algorithms for convex body chasing

• performance of algorithms in other applications• better algorithms to make use of predictions

14 / 17

Page 47: Implementation of Algorithms for Right-Sizing Data Centers

Future work

• compare performance to algorithms for convex body chasing• performance of algorithms in other applications

• better algorithms to make use of predictions

14 / 17

Page 48: Implementation of Algorithms for Right-Sizing Data Centers

Future work

• compare performance to algorithms for convex body chasing• performance of algorithms in other applications• better algorithms to make use of predictions

14 / 17

Page 49: Implementation of Algorithms for Right-Sizing Data Centers

Thanks for your attention! Questions?

15 / 17

Page 50: Implementation of Algorithms for Right-Sizing Data Centers

Problem

Smoothed online convex optimization (or convex function chasing)15:

Given a convex decision space X ⊂ Rd , a norm ∥·∥ on Rd , and asequence F of non-negative convex functions ft : X → R≥0, findx ∈ XT such that

T∑t=1

ft(xt) + ∥xt − xt−1∥

is minimized where T is the time horizon and x0 = 0.

15Minghong Lin et al. “Dynamic right-sizing for power-proportional data centers”. In: IEEE/ACMTransactions on Networking 21.5 (2012), pp. 1378–1391.

16 / 17

Page 51: Implementation of Algorithms for Right-Sizing Data Centers

Problem

Smoothed online convex optimization (or convex function chasing)15:Given a convex decision space X ⊂ Rd , a norm ∥·∥ on Rd , and asequence F of non-negative convex functions ft : X → R≥0

, findx ∈ XT such that

T∑t=1

ft(xt) + ∥xt − xt−1∥

is minimized where T is the time horizon and x0 = 0.

15Minghong Lin et al. “Dynamic right-sizing for power-proportional data centers”. In: IEEE/ACMTransactions on Networking 21.5 (2012), pp. 1378–1391.

16 / 17

Page 52: Implementation of Algorithms for Right-Sizing Data Centers

Problem

Smoothed online convex optimization (or convex function chasing)15:Given a convex decision space X ⊂ Rd , a norm ∥·∥ on Rd , and asequence F of non-negative convex functions ft : X → R≥0, findx ∈ XT such that

T∑t=1

ft(xt) + ∥xt − xt−1∥

is minimized where T is the time horizon and x0 = 0.

15Minghong Lin et al. “Dynamic right-sizing for power-proportional data centers”. In: IEEE/ACMTransactions on Networking 21.5 (2012), pp. 1378–1391.

16 / 17

Page 53: Implementation of Algorithms for Right-Sizing Data Centers

Problem

• similar to online convex optimization with movement costs andlookahead 1

• equivalent to convex body chasing in d + 1• fundamental incompatibility between competitive ratio and

regret even for linear hitting costs in one dimension

17 / 17

Page 54: Implementation of Algorithms for Right-Sizing Data Centers

Problem

• similar to online convex optimization with movement costs andlookahead 1

• equivalent to convex body chasing in d + 1

• fundamental incompatibility between competitive ratio andregret even for linear hitting costs in one dimension

17 / 17

Page 55: Implementation of Algorithms for Right-Sizing Data Centers

Problem

• similar to online convex optimization with movement costs andlookahead 1

• equivalent to convex body chasing in d + 1• fundamental incompatibility between competitive ratio and

regret even for linear hitting costs in one dimension

17 / 17