Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd,...

60
Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with: Yossi Azar ,Bruce Shepherd, Seny Kamara

description

Jobs Scheduling Scheduler Server 1 Server N

Transcript of Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd,...

Page 1: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Tight Bounds for Online Vector Bin Packing

Ilan Cohen

Joint work with: Yossi Azar ,Bruce Shepherd, Seny Kamara

Page 2: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.
Page 3: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Jobs Scheduling

Scheduler

Server 1Server N

Page 4: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Jobs Scheduling

CPU

Server

Memory GPU …

Page 5: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Cloud Computing

Page 6: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Vector Bin Packing

Page 7: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

On Line Algorithms

Page 8: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Competitive Ratio

Page 9: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Related Results

Page 10: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Our Results

Page 11: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Vector Bin Packing

Page 12: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Our Results

Page 13: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

VBP(B=1) Lower Bound

Online- VBP(B=1)

α bins.

Online- Graph coloring α colors

Page 14: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

On-line Graph Coloring

aa bb cc dd ee

Page 15: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

On-line Graph Coloring

Page 16: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

VBP(B=1) Lower Bound

Online- VBP(B=1)

α bins

Online- Graph

coloringα colors

Page 17: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Reduction VBP to Graph Coloring

Page 18: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Reduction VBP to Graph Coloring

1n

...

1

0 1

i j

ij

Ind:

Vec:

Page 19: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Reduction VBP to Graph Coloring

aa bb cc dd ee

00001

000151

001051

01

0

51

51

1

00

5151

Page 20: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Reduction VBP to Graph Coloring

( , )

( , )

1 10 1

i j

j i

i jInd:

Vec:

Page 21: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Reduction VBP to Graph Coloring

0000000000001111

00000000111100

01

0000111100000

00

1

000

0000000

1111

1

1

aa bb cc dd

1,1

1,2

1,3

1,4

2,1

2,2

2,3

2,4

3,1

3,2

3,3

3,4

4,1

4,2

4,3

4,4

Page 22: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

VBP(B=1) Lower Bound

Online- VBP(B=1)

α bins

Online- Graph

coloringα colors

Page 23: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

VBP(B=2) Lower Bound

Online VBP(B=2)

α binsα classes of

Triangle-free sub graphs

Online- Graph

coloringα·k colors

k colors for each sub graph

Page 24: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Reduction VBP to Graph Coloring

Page 25: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Reduction VBP(B=2) to Graph Coloring

Page 26: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Reduction VBP(B=2) to Graph Coloring

0000000000001111

00000000111100

01

0010001011110000

1

00

0001000

1111

1

1

n

1,1

1,2

1,3

1,4

2,1

2,2

2,3

2,4

3,1

3,2

3,3

3,4

4,1

4,2

4,3

4,4

a b c d

Page 27: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Reduction VBP(B=2) to Graph Coloring

Page 28: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

VBP(B=2) Lower Bound

Online VBP(B=2)

α binsα classes of

Triangle-free sub graphs

Online- Graph

coloringα·k colors

Page 29: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Reduction VBP(B=2) to Graph Coloring

Page 30: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

On-line Graph Coloring

Page 31: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

On-line Graph Coloring

Page 32: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

VBP(B=2) Lower Bound

Online VBP(B=2)

α binsα classes of

Triangle-free sub graphs

Online- Graph

coloringα·k colors

Page 33: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

a b c d

Coloring vertices of bin j

Page 34: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Correctness

Page 35: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Analysis

Page 36: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

VBP Lower Bound

Online VBP (B)α bins

α classes ofB+1 clique free graphs

Online- Graph coloring

α· colors

α·k classes ofB clique

free graphsBk

Page 37: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

B Clique Free to B-1 Clique Free

Page 38: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Reduction VBP to Graph Coloring

Page 39: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Reduction VBP to Graph Coloring

Page 40: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Scheme

Page 41: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Analysis

Page 42: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Upper Bound (B > 1)

Page 43: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Pack Into Virtual bins

BcBlog(d)

OPT virtual bins

All Vector Stream:

Page 44: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

B

r bins

B

B

B

cBlog(d)

Distribute bin vectors

Virtual Bin i:

Page 45: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

The virtual VBP algorithm.

Page 46: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

The virtual VBP algorithm.

Page 47: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Proof Sketch

Page 48: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

B

r bins

B

B

B

cBlog(d)

Distribute bin vectors

Virtual Bin i:

Page 49: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Distributing the vectors

Page 50: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Distributing the vectors

Page 51: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

De-randomize the algorithm

Page 52: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

De-randomize the algorithm

Page 53: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

De-randomize the algorithm

Page 54: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Conclusions

Page 55: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Open Questions

Page 56: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Thank you!

Page 57: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

The {0,1}-VBP Upper Bound

Page 58: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

The {0,1}-VBP Upper Bound

Page 59: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Unrelated Machine Model

Page 60: Tight Bounds for Online Vector Bin Packing Ilan Cohen Joint work with : Yossi Azar,Bruce Shepherd, Seny Kamara.

Unrelated Machine Model