Upload
others
View
0
Download
0
Embed Size (px)
Citation preview
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Systèmes pair à pair de partage de donnéesAnd some other things I do
Remigiusz ModrzejewskiMay 11, 2012
MASCOTTE ProjectI3S(CNRS/UNS)–INRIA, PACA
1 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Outline
1 Peer-to-peer storage
2 Peer-to-peer streaming
3 Energy Efficient Content Distribution
4 Weighted Improper Colouring
2 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Intuition of P2P
Peer to peer networks — end systems creating a virtual overlay
3 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Peer-to-peer storage
With: Frédéric Giroire, Sandeep Kumar Gupta, Julian Monteiro,Stéphane Perennes
Related works:Analysis of Failure Correlation Impact on Peer-to-Peer StorageSystems by Dalle et al. looks into whole disk failures, butassumes exponential reconstruction time; 2009
Simulation analysis of download and recovery processes in P2Pstorage systems by Dandoush et al. find download/recovery timehypo-exponential, but looks only at single fragment level; 2009
Availability in Globally Distributed Storage Systems by Ford etal. bases on a large body of data tracing Google storage systems;2010
4 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Peer-to-peer storage
Considered system:Indefinite backup
negligible read ratehigh reliability: 10−5 loss probability/100GB ; 10−12 loss probability/5MB
Cheap and scalablehighly distributedunreliable hardwareuses consumer connections
Our work: find a better model of the system, thoroughly validate
5 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Peer-to-peer storage
Considered system:Indefinite backup
negligible read ratehigh reliability: 10−5 loss probability/100GB ; 10−12 loss probability/5MB
Cheap and scalablehighly distributedunreliable hardwareuses consumer connections
Our work: find a better model of the system, thoroughly validate
5 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Peer-to-peer storage
Considered system:Indefinite backup
negligible read ratehigh reliability: 10−5 loss probability/100GB ; 10−12 loss probability/5MB
Cheap and scalablehighly distributedunreliable hardwareuses consumer connections
Our work: find a better model of the system, thoroughly validate
5 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Redundancy
Blocks divided into s fragments
Additional r fragments of redundancyUsing erasure codes
Reed-SolomonRegenerating codes
All data can be reconstructed as long as ≥ s fragments areavailable
a b c
a + b + 2c a + 2b + c
6 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Redundancy
Blocks divided into s fragments
Additional r fragments of redundancyUsing erasure codes
Reed-SolomonRegenerating codes
All data can be reconstructed as long as ≥ s fragments areavailable
a b c
a + b + 2c a + 2b + c
6 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
System mechanics
Data redundancy maintained in continuous repair process
7 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
System mechanics
Data redundancy maintained in continuous repair process
7 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
System mechanics
Data redundancy maintained in continuous repair process
7 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
System mechanics
Data redundancy maintained in continuous repair process
7 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
System mechanics
Data redundancy maintained in continuous repair process
7 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
System mechanics
Data redundancy maintained in continuous repair process
7 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
System mechanics
Data redundancy maintained in continuous repair process
7 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Factor of efficiency
Workload proportional to stored data ∧ new disks have little data∧ nearly all repairs need a full disk ⇒ wasted bandwidthLet:
x be the disk overcapacity — average capacity / average usage
ρ be the factor of efficiency — total throughput / total bandwidth
We found out that:ρ ≈ 1
x
8 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Factor of efficiency
Workload proportional to stored data ∧ new disks have little data∧ nearly all repairs need a full disk ⇒ wasted bandwidthLet:
x be the disk overcapacity — average capacity / average usage
ρ be the factor of efficiency — total throughput / total bandwidth
We found out that:ρ ≈ 1
x
8 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Markovian queuing model
Global Mβ/D/1 queue of all blocks needing repair
States — number of fragments in queue
Transitions — reconstructions or failings
9 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Case study
Scenario:Users have 1Mbps connections, but allocate 128kbps to repairs
Users allocate 300GB disk space, insert 100GB data
Expected lifetime = 1 year, neighbourhood size = 100 peers
Simple intuition:Repair time of 1 disk = 17 hours (= 100 · 8 · 106kb/(100 · 128kbps))
Probability of data loss per year (PDLPY) of 10−8
Our model (more realistic assumptions, validated by simulationand experiments):
Repair time = 9 days
PDLPY = 0.2
10 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Case study
Scenario:Users have 1Mbps connections, but allocate 128kbps to repairs
Users allocate 300GB disk space, insert 100GB data
Expected lifetime = 1 year, neighbourhood size = 100 peers
Simple intuition:Repair time of 1 disk = 17 hours (= 100 · 8 · 106kb/(100 · 128kbps))
Probability of data loss per year (PDLPY) of 10−8
Our model (more realistic assumptions, validated by simulationand experiments):
Repair time = 9 days
PDLPY = 0.2
10 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Case study
Scenario:Users have 1Mbps connections, but allocate 128kbps to repairs
Users allocate 300GB disk space, insert 100GB data
Expected lifetime = 1 year, neighbourhood size = 100 peers
Simple intuition:Repair time of 1 disk = 17 hours (= 100 · 8 · 106kb/(100 · 128kbps))
Probability of data loss per year (PDLPY) of 10−8
Our model (more realistic assumptions, validated by simulationand experiments):
Repair time = 9 days
PDLPY = 0.2
10 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Peer-to-peer streaming
With: Frédéric Giroire, Stéphane Perennes
Related works:Epidemic live streaming: optimal performance trade-offs, byBonald, Massoulié, Mathieu, Perino, and Twigg; simple randomschemes
Prime: Peer-to-peer receiver-driven mesh-based streaming, byMagharei and Rejaie; an unstructured algorithm which yieldstemporarily structured flows
SplitStream: high-bandwidth multicast in cooperativeenvironments, by Castro, Druschel, Kermarrec, Nandi, Rowstronand Singh; the best known structured network
11 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Video distribution
File sharing Live streaming
12 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Video distribution
File sharing Live streaming
12 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Video distribution
File sharing Live streaming
12 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Problem definition
Disseminate a stream of data
Single source
Multiple recipients
Recipients contribute to further disseminate
Finite dissemination deadline
High bandwidth utilization
Participants are autonomous – distributed algorithms
Local, delayed view
13 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Churn
Node dynamics shown to be biggest problem of live systems
When n ≈ 20000, almost 1000 peers join and leave per minute
Often overlooked in literature
14 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Churn
Node dynamics shown to be biggest problem of live systems
When n ≈ 20000, almost 1000 peers join and leave per minute
Often overlooked in literature
14 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Churn
Node dynamics shown to be biggest problem of live systems
When n ≈ 20000, almost 1000 peers join and leave per minute
Often overlooked in literature
14 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Types of overlays
Structured:
S
Random:
S
15 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Simulator
Test overlays under bandwidth constraints and churn
Custom discrete event simulator
Implemented 6 overlay algorithms
Total 9889 lines of Python code
572 automated tests
16 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Simulation results for varying churn
100 200 300 400 500 600
expected life time
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.0
rate
prime random pull spontan
17 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Dynamic online tree balancing
k-ary tree (simple case: binary)
Preserve a balanced state
Random node arrivals and departures
Local, distributed algorithm
18 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Subtree size
Number of nodes in subtree rooted at a given node
“Size of the node”
Periodically reported by the node to its parent
19 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
The algorithm1 Parent left ; reattach to grandparent2 Overloaded ; push a child to become a grandchild3 Underloaded ; pull a grandchild to become a child4 Children imbalanced ; balance the children
Smallest underloaded ; move a child of the biggest to the smallestSmallest saturated ; swap 2 children between smallest and biggest
GP
P
N
GP
N
20 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
The algorithm1 Parent left ; reattach to grandparent2 Overloaded ; push a child to become a grandchild3 Underloaded ; pull a grandchild to become a child4 Children imbalanced ; balance the children
Smallest underloaded ; move a child of the biggest to the smallestSmallest saturated ; swap 2 children between smallest and biggest
P
A B C
P
B
A
C
20 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
The algorithm1 Parent left ; reattach to grandparent2 Overloaded ; push a child to become a grandchild3 Underloaded ; pull a grandchild to become a child4 Children imbalanced ; balance the children
Smallest underloaded ; move a child of the biggest to the smallestSmallest saturated ; swap 2 children between smallest and biggest
P
A
B
P
A B
20 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
The algorithm1 Parent left ; reattach to grandparent2 Overloaded ; push a child to become a grandchild3 Underloaded ; pull a grandchild to become a child4 Children imbalanced ; balance the children
Smallest underloaded ; move a child of the biggest to the smallestSmallest saturated ; swap 2 children between smallest and biggest
P
A
C
B
D E
P
A
C D
B
E
20 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
The algorithm1 Parent left ; reattach to grandparent2 Overloaded ; push a child to become a grandchild3 Underloaded ; pull a grandchild to become a child4 Children imbalanced ; balance the children
Smallest underloaded ; move a child of the biggest to the smallestSmallest saturated ; swap 2 children between smallest and biggest
P
A
C D
B
E F
P
A
E D
B
C F
20 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Model
1 Each node performs operations according to a Poisson process
or
2 In each round each node performs one operation, random order
21 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
ExampleLast change: 0.000000 1
1
1 1 1 1 1 1
1 1 1
1
1
1
1
1
1 1
1
1
22 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Example
Last change: 1.372299 13
5 8
1 2 4
1
1
1 2 1
1
1
3 5
1 1 4
1 1
22 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Example
Last change: 3.274388 18
10 7
5 5
3 1
2
1
4 1
1
3 5
1 1 1 3
1 1
22 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Example
Last change: 5.828149 22
12 9
6 3
2 1
1
1 1
5 5
2 2
1 1
3 1
2
1
22 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Example
Last change: 6.186987 21
11 9
3 4
1 1 1 2
1
5 5
2 2
1 1
3 1
1 1
22 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Example
Last change: 32.386742 20
10 9
4 5
1 2
1
2 2
1 1
4 4
2 1
1
1 2
1
22 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Work in progress
Already done:Guaranteed stop in tree of optimal height
Expected time to fix tree after single failure = k − 1 + logk logk n
Convergent in O(n3) rounds
Still working on:Proof of convergence in O(n2) rounds or O(n2) operations
Worst cases: convergent in O(n) rounds or O(n log n) operations
More practical model:Extend to heterogenous out-degree
Extend to multi-trees
23 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Work in progress
Already done:Guaranteed stop in tree of optimal height
Expected time to fix tree after single failure = k − 1 + logk logk n
Convergent in O(n3) rounds
Still working on:Proof of convergence in O(n2) rounds or O(n2) operations
Worst cases: convergent in O(n) rounds or O(n log n) operations
More practical model:Extend to heterogenous out-degree
Extend to multi-trees
23 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Work in progress
Already done:Guaranteed stop in tree of optimal height
Expected time to fix tree after single failure = k − 1 + logk logk n
Convergent in O(n3) rounds
Still working on:Proof of convergence in O(n2) rounds or O(n2) operations
Worst cases: convergent in O(n) rounds or O(n log n) operations
More practical model:Extend to heterogenous out-degree
Extend to multi-trees
23 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Energy Efficient Content Distribution
With: Julio Araujo, Frédéric Giroire, Yaning Liu,Joanna Moulierac
Related works:Minimizing Routing Energy Consumption: from Theoretical toPractical Results by Giroire, Mazauric, Moulierac and Onfroy;turning off links with traditional demands
Energy-Aware Network Management and Content Distributionby Chiaraviglio and Matta; turning off links and servers in CDN
24 / 36Systèmes pair à pair de partage de donnéesN
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Energy Efficient Content Distribution
We want to shut down links in anetwork
Traditional demandsOverlay demands
Demands can be served by any oneof replicated serversServers have limited capacity
Content cachesCaches located at routersCan be on/off, consume energyCan be selective in what to cache
Routing is fractional, links areundirected
a b
c d
25 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Energy Efficient Content Distribution
We want to shut down links in anetwork
Traditional demandsOverlay demands
Demands can be served by any oneof replicated serversServers have limited capacity
Content cachesCaches located at routersCan be on/off, consume energyCan be selective in what to cache
Routing is fractional, links areundirected
a b
c d
25 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Energy Efficient Content Distribution
We want to shut down links in anetwork
Traditional demandsOverlay demands
Demands can be served by any oneof replicated serversServers have limited capacity
Content cachesCaches located at routersCan be on/off, consume energyCan be selective in what to cache
Routing is fractional, links areundirected
a b
c d
25 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Energy Efficient Content Distribution
We want to shut down links in anetwork
Traditional demandsOverlay demands
Demands can be served by any oneof replicated serversServers have limited capacity
Content cachesCaches located at routersCan be on/off, consume energyCan be selective in what to cache
Routing is fractional, links areundirected
a b
c d
25 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Energy Efficient Content Distribution
We want to shut down links in anetwork
Traditional demandsOverlay demands
Demands can be served by any oneof replicated serversServers have limited capacity
Content cachesCaches located at routersCan be on/off, consume energyCan be selective in what to cache
Routing is fractional, links areundirected
a b
c d
25 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Energy Efficient Content Distribution
We want to shut down links in anetwork
Traditional demandsOverlay demands
Demands can be served by any oneof replicated serversServers have limited capacity
Content cachesCaches located at routersCan be on/off, consume energyCan be selective in what to cache
Routing is fractional, links areundirected
a b
c d
25 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Energy Efficient Content Distribution
We want to shut down links in anetwork
Traditional demandsOverlay demands
Demands can be served by any oneof replicated serversServers have limited capacity
Content cachesCaches located at routersCan be on/off, consume energyCan be selective in what to cache
Routing is fractional, links areundirected
a
b
1.0
c
0.8 0.2
25 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Work in progress
Already done:NP-Complete, APX-har
ILP formulations and 5 heuristics (without caches)
Still working on:Find a good model for caches
Extend the algorithms for caches
Find good instance set
26 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Work in progress
Already done:NP-Complete, APX-har
ILP formulations and 5 heuristics (without caches)
Still working on:Find a good model for caches
Extend the algorithms for caches
Find good instance set
26 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Weighted Improper Colouring
With: Julio Araujo, Jean-Claude Bermond, Frédéric Giroire,Frédéric Havet, Dorian Mazauric
Related works:Models and solution techniques for frequency assignmentproblems by Aardal, van Hoesel, Koster, Mannino and Sassano;survey on FAP
An enumerative algorithm for the frequency assignment problemby Mannino and Sassano; similar model, different results
Frequency assignment in mobile radio systems usingbranch-and-cut techniques by Fischetti, Lepschy, Minerva,Romanin-Jacur and Toto; similar model, different results
27 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Weighted Improper Colouring
We assign colours to nodes of a graphNodes of the same colour interfere with each other
Interference is function of distanceIn general case f (a, b) → R+
A certain amount of interference can be tolerated at each node
28 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Simple distance function
We consider a simple interference function:
f (d) =
1, if d = 112 , if d = 20, otherwise
In other words: given a graph G = (V ,E ) andits square G 2 = (V ,E 2), we study from nowon the function w : E → {1, 0.5} such thatw(e) = 0.5 if, and only if, e ∈ E 2\E .
a
b c
d
a
b
1
c1
d
1
0.5 0.5
29 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Simple distance function
We consider a simple interference function:
f (d) =
1, if d = 112 , if d = 20, otherwise
In other words: given a graph G = (V ,E ) andits square G 2 = (V ,E 2), we study from nowon the function w : E → {1, 0.5} such thatw(e) = 0.5 if, and only if, e ∈ E 2\E .
a
b c
d
a
b
1
c1
d
1
0.5 0.5
29 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Simple distance function
We consider a simple interference function:
f (d) =
1, if d = 112 , if d = 20, otherwise
In other words: given a graph G = (V ,E ) andits square G 2 = (V ,E 2), we study from nowon the function w : E → {1, 0.5} such thatw(e) = 0.5 if, and only if, e ∈ E 2\E .
a
b c
d
a
b
1
c1
d
1
0.5 0.5
29 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Simple distance function
We consider a simple interference function:
f (d) =
1, if d = 112 , if d = 20, otherwise
In other words: given a graph G = (V ,E ) andits square G 2 = (V ,E 2), we study from nowon the function w : E → {1, 0.5} such thatw(e) = 0.5 if, and only if, e ∈ E 2\E .
a
b c
d
a
b
1
c1
d
1
0.5 0.5
29 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Results
NP-Complete, APX-hard
General bounds (e.g. χt(G ,w) ≤⌈
∆(G ,w)+gcd(w)t+gcd(w)
⌉)
Optimal solutions for infinite grids
IP, greedy heuristic and branch-and-bound algorithm
30 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Hexagonal grid
If G is an infinite hexagonalgrid, then
χwt (G
2) =
4, if 0 ≤ t < 1;3, if 1 ≤ t < 2;2, if 2 ≤ t < 6;1, if 6 ≤ t.
1
2
1 1
3
0
1
3
2
3
0
0 0
2
1
2
3
1
3
2
03
2
0
31 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Square grid
If G is an infinite square grid,then
χwt (G
2) =
5, if 0 ≤ t < 0.5;4, if 0.5 ≤ t < 1;3, if 1 ≤ t < 3;2, if 3 ≤ t < 8;1, if 8 ≤ t.
0
1
1
0
1
1
0
1
0
1
101
0
0
1
1
0
0
1
1
1
0
0
1
1
0
0
0
0
0
0
0
01
1
00
0
0
0
0
0
1
0
1
0
0
0
1
1
0
1
1
1
1
0
0
11
0
1
1
1
0
1
11
1
1
1
0
0
1
1
0
0
1
1
0
32 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
6-regular grid
TheoremIf G is an infinite triangular grid, then
χwt (G
2) =
≤ 7, if t = 0;≤ 6, if t = 0.5;≤ 5, if t = 1;≤ 4, if 1.5 ≤ t < 3;≤ 3, if 3 ≤ t < 5;≤ 2, if 5 ≤ t < 12;1, if 12 ≤ t.
33 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Delaunay graph
Effect of Delaunay tesselation for a set of random points.Dual of Voronoi diagram.
34 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Algorithms performance
10−1 100 101 102 103
l - Time limit [seconds]
0
5
10
15
20
25
30
35t
-int
erfe
renc
efo
und
Delaunay graph, n=2000 vertices, k=2 colors
Branch & Bound Heuristic IP
35 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Algorithms performance
10−1 100 101 102 103
l - Time limit [seconds]
0
5
10
15
20
25
30
35t
-int
erfe
renc
efo
und
Delaunay graph, n=2000 vertices, k=5 colors
Branch & Bound Heuristic IP
35 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Algorithms performance
0 500 1000 1500 2000 2500 3000 3500
n - number of vertices
0
5
10
15
20
25
30
35t
-int
erfe
renc
efo
und
Delaunay graph, k=2 colors, l=60 sec
Branch & Bound Heuristic IP
35 / 36Systèmes pair à pair de partage de données
N
Peer-to-peer storage Peer-to-peer streaming Networks Colouring
Questions
? ??
??????? ???????????
??????? ?????????
36 / 36Systèmes pair à pair de partage de données
N