Different facets of the repair problem Alexander Barg University of - - PowerPoint PPT Presentation

different facets of the repair problem
SMART_READER_LITE
LIVE PREVIEW

Different facets of the repair problem Alexander Barg University of - - PowerPoint PPT Presentation

Different facets of the repair problem Alexander Barg University of Maryland, College Park LAWCI, July 2018 Overview 1. Motivation 2. Codes with hierarchical locality LRC codes on curves Codes on curves with hierarchical locality 3.


slide-1
SLIDE 1

Different facets of the repair problem

Alexander Barg

University of Maryland, College Park LAWCI, July 2018

slide-2
SLIDE 2

Overview

  • 1. Motivation
  • 2. Codes with hierarchical locality

LRC codes on curves Codes on curves with hierarchical locality

  • 3. Regenerating codes

Regenerating codes and the repair problem

  • 4. Cooperative repair

Centralized and cooperative models Cooperative repair of two nodes

  • 5. Rack-aware storage model

(*) Repair of RS codes Repair bandwidth of RS codes

Alexander Barg, University of Maryland Facets of the repair problem 2 / 45

slide-3
SLIDE 3

Motivation: Distributed Storage Systems (DSS)

  • DSS spread data across thousands of storage nodes

Alexander Barg, University of Maryland Facets of the repair problem 3 / 45

slide-4
SLIDE 4

Motivation: Distributed Storage Systems (DSS)

  • DSS spread data across thousands of storage nodes
  • Individual storage nodes fail frequently

Alexander Barg, University of Maryland Facets of the repair problem 3 / 45

slide-5
SLIDE 5

Motivation: Distributed Storage Systems (DSS)

  • DSS spread data across thousands of storage nodes
  • Individual storage nodes fail frequently
  • To protect the data we rely on erasure codes

Alexander Barg, University of Maryland Facets of the repair problem 3 / 45

slide-6
SLIDE 6

Erasure codes for storage

  • The file of size M is divided into l-vectors over a finite field Fq (chunks of size l).

Alexander Barg, University of Maryland Facets of the repair problem 4 / 45

slide-7
SLIDE 7

Erasure codes for storage

  • The file of size M is divided into l-vectors over a finite field Fq (chunks of size l).
  • Each chunk is placed on a separate storage node

Alexander Barg, University of Maryland Facets of the repair problem 4 / 45

slide-8
SLIDE 8

Erasure codes for storage

  • The file of size M is divided into l-vectors over a finite field Fq (chunks of size l).
  • Each chunk is placed on a separate storage node
  • The data is encoded using an erasure-correcting code

Alexander Barg, University of Maryland Facets of the repair problem 4 / 45

slide-9
SLIDE 9

Erasure codes for storage

  • The file of size M is divided into l-vectors over a finite field Fq (chunks of size l).
  • Each chunk is placed on a separate storage node
  • The data is encoded using an erasure-correcting code
  • Data encoding

C1, C2, C3, . . . , Cn´1, Cn where each Ci is located on its own node

Alexander Barg, University of Maryland Facets of the repair problem 4 / 45

slide-10
SLIDE 10

Erasure codes for storage

  • The file of size M is divided into l-vectors over a finite field Fq (chunks of size l).
  • Each chunk is placed on a separate storage node
  • The data is encoded using an erasure-correcting code
  • Data encoding

C1, C2, C3, . . . , Cn´1, Cn where each Ci is located on its own node

  • Inoperable (failed) node Ci in the encoding

C1 . . . Ci . . . Cn needs to be repaired to preserve the integrity of the data

Alexander Barg, University of Maryland Facets of the repair problem 4 / 45

slide-11
SLIDE 11

Erasure codes for storage

  • The file of size M is divided into l-vectors over a finite field Fq (chunks of size l).
  • Each chunk is placed on a separate storage node
  • The data is encoded using an erasure-correcting code
  • Data encoding

C1, C2, C3, . . . , Cn´1, Cn where each Ci is located on its own node

  • Inoperable (failed) node Ci in the encoding

C1 . . . Ci . . . Cn needs to be repaired to preserve the integrity of the data

  • The repair task amounts to correcting a single erased coordinate in the encoding

Alexander Barg, University of Maryland Facets of the repair problem 4 / 45

slide-12
SLIDE 12

Erasure codes for storage

  • The file of size M is divided into l-vectors over a finite field Fq (chunks of size l).
  • Each chunk is placed on a separate storage node
  • The data is encoded using an erasure-correcting code
  • Data encoding

C1, C2, C3, . . . , Cn´1, Cn where each Ci is located on its own node

  • Inoperable (failed) node Ci in the encoding

C1 . . . Ci . . . Cn needs to be repaired to preserve the integrity of the data

  • The repair task amounts to correcting a single erased coordinate in the encoding
  • Repair involves transmitting the data between the nodes

Alexander Barg, University of Maryland Facets of the repair problem 4 / 45

slide-13
SLIDE 13

Erasure codes for storage

  • The file of size M is divided into l-vectors over a finite field Fq (chunks of size l).
  • Each chunk is placed on a separate storage node
  • The data is encoded using an erasure-correcting code
  • Data encoding

C1, C2, C3, . . . , Cn´1, Cn where each Ci is located on its own node

  • Inoperable (failed) node Ci in the encoding

C1 . . . Ci . . . Cn needs to be repaired to preserve the integrity of the data

  • Efficient operation of the storage system depends on the amount of communication

between the nodes

Alexander Barg, University of Maryland Facets of the repair problem 4 / 45

slide-14
SLIDE 14

Local Information Processing

Metric Operation

locality/ access bandwidth/ communication repair error correction

Alexander Barg, University of Maryland Facets of the repair problem 5 / 45

slide-15
SLIDE 15

Local Information Processing

Metric Operation

locality/ access bandwidth/ communication repair error correction

1

1 Locally Recoverable codes (local recovery)

Alexander Barg, University of Maryland Facets of the repair problem 5 / 45

slide-16
SLIDE 16

Local Information Processing

Metric Operation

locality/ access bandwidth/ communication repair error correction

1 2

1 Locally Recoverable codes (local recovery) 2 Regenerating codes (local recovery)

Alexander Barg, University of Maryland Facets of the repair problem 5 / 45

slide-17
SLIDE 17

Local Information Processing

Metric Operation

locality/ access bandwidth/ communication repair error correction

1 2 3

1 Locally Recoverable codes (local recovery) 2 Regenerating codes (local recovery) 3 LDPC codes (global recovery)

Alexander Barg, University of Maryland Facets of the repair problem 5 / 45

slide-18
SLIDE 18

Local Information Processing

Metric Operation

locality/ access bandwidth/ communication repair error correction

1 2 3 4

1 Locally Recoverable codes (local recovery) 2 Regenerating codes (local recovery) 3 LDPC codes (global recovery) 4 Fractional decoding (global recovery)

Alexander Barg, University of Maryland Facets of the repair problem 5 / 45

slide-19
SLIDE 19

Local Information Processing

Metric Operation

locality/ access bandwidth/ communication repair error correction

1 2

In this talk we are interested in: 1 Locally Recoverable codes (local recovery) 2 Regenerating codes (local recovery)

Alexander Barg, University of Maryland Facets of the repair problem 5 / 45

slide-20
SLIDE 20

Local erasure correction

  • The encoding of k data symbols over a field Fq constitutes a codeword C of a linear

k-dimensional code C.

Alexander Barg, University of Maryland Facets of the repair problem 6 / 45

slide-21
SLIDE 21

Local erasure correction

  • The encoding of k data symbols over a field Fq constitutes a codeword C of a linear

k-dimensional code C.

  • Coordinates Ci are written on different storage nodes

Alexander Barg, University of Maryland Facets of the repair problem 6 / 45

slide-22
SLIDE 22

Local erasure correction

  • The encoding of k data symbols over a field Fq constitutes a codeword C of a linear

k-dimensional code C.

  • Coordinates Ci are written on different storage nodes
  • Problem: Repair a failed coordinate by contacting as few, say r ! n, surviving nodes

as possible

Alexander Barg, University of Maryland Facets of the repair problem 6 / 45

slide-23
SLIDE 23

Local erasure correction

  • The encoding of k data symbols over a field Fq constitutes a codeword C of a linear

k-dimensional code C.

  • Coordinates Ci are written on different storage nodes
  • Problem: Repair a failed coordinate by contacting as few, say r ! n, surviving nodes

as possible

  • Any parity-check equation that involves the failed coordinate can be used for repair

Alexander Barg, University of Maryland Facets of the repair problem 6 / 45

slide-24
SLIDE 24

Local erasure correction

  • The encoding of k data symbols over a field Fq constitutes a codeword C of a linear

k-dimensional code C.

  • Coordinates Ci are written on different storage nodes
  • Problem: Repair a failed coordinate by contacting as few, say r ! n, surviving nodes

as possible

  • Any parity-check equation that involves the failed coordinate can be used for repair
  • If every Ci, i “ 1, . . . , n is involved in a parity of weight r ` 1, the code has the locality

property

Alexander Barg, University of Maryland Facets of the repair problem 6 / 45

slide-25
SLIDE 25

Local erasure correction

  • The encoding of k data symbols over a field Fq constitutes a codeword C of a linear

k-dimensional code C.

  • Coordinates Ci are written on different storage nodes
  • Problem: Repair a failed coordinate by contacting as few, say r ! n, surviving nodes

as possible

  • Any parity-check equation that involves the failed coordinate can be used for repair
  • If every Ci, i “ 1, . . . , n is involved in a parity of weight r ` 1, the code has the locality

property What other features of the encoding are of interest?

Alexander Barg, University of Maryland Facets of the repair problem 6 / 45

slide-26
SLIDE 26

Locally recoverable codes

In addition to correcting one erasure, sometimes the code is used to recover the data from a multi-node failure. Global correction: repairing a large number of failed nodes by contacting all the remaining coordinates Problem: What is largest possible minimum distance of an LRC code C?

GOPALAN ET AL. bound:

d ď n ´ k ´ Qk r U ` 2

Alexander Barg, University of Maryland Facets of the repair problem 7 / 45

slide-27
SLIDE 27

Variants of LRC codes

  • A linear code is LRC with locality r if every coordinate is involved in a parity check of

weight r ` 1 For every i P t1, 2, . . . , nu there exists a punctured code Ci :“ C|tiuYIi such that

  • |Ii| “ r
  • dimpCiq ď r
  • distance dpCiq “ 2.
  • Local correction of s “ 2, 3, ... erasures:
  • A linear code C is LRC with locality pr, ρq if every coordinate is contained in a “local

code” of distance ρ This means that we can locally repair up to ρ ´ 1 erasures by contacting r helper nodes The distance of C is bounded above as follows: d ď n ´ k ` 1 ´ ´Qk r U ´ 1 ¯ pρ ´ 1q

Alexander Barg, University of Maryland Facets of the repair problem 8 / 45

slide-28
SLIDE 28

Codes with hierarchical locality

An pn, k, dq linear code with two levels of locality

Alexander Barg, University of Maryland Facets of the repair problem 9 / 45

slide-29
SLIDE 29

Codes with hierarchical locality

An pn, k, dq linear code with two levels of locality

  • Repair a single node by querying r2 helper nodes;
  • Repair ρ ´ 1 nodes by querying r1 helper nodes;
  • Repair d ´ 1 nodes by addressing all the remaining n ´ pd ´ 1q nodes

Alexander Barg, University of Maryland Facets of the repair problem 9 / 45

slide-30
SLIDE 30

Codes with hierarchical locality

An pn, k, dq linear code with two levels of locality

  • Repair a single node by querying r2 helper nodes;
  • Repair ρ ´ 1 nodes by querying r1 helper nodes;
  • Repair d ´ 1 nodes by addressing all the remaining n ´ pd ´ 1q nodes

Defintion: Let ρ1 ą 2 and r2 ď r1. A linear code C is H-LRC and parameters ppr1, ρ1q, pr2, 2qq if for every i P t1, . . . , nu there is a punctured code Ci such that

  • 1. dimpCiq ď r1,
  • 2. dpCiq ě ρ, and
  • 3. Ci is an pr2, 2q LRC code.

Alexander Barg, University of Maryland Facets of the repair problem 9 / 45

slide-31
SLIDE 31

Reed-Solomon codes

F “ Fq the finite field of q elements Example: q “ 8, α3 “ α ` 1

F8 “ t0, 1, α, α2, α3 “ α ` 1, α4 “ α2 ` α, α5 “ α2 ` α ` 1, α6 “ α2 ` 1u

The elements of F8 can also be written as binary vectors p000q, p001q, p010q, p101q, p110q, p111q, p101q Encoding example: Let q “ 8, pn, kq “ p7, 3q Suppose that data symbols are 1, α, α To encode, form a polynomial fpxq “ 1 ` αx ` αx2 and compute the values of fpxq at the points 1, α, α2, . . . , α6 x 1 α α2 α3 α4 α5 α6 fpxq 1 α4 α6 α4 α α α6 This encodes k “ 3 data symbols p1, α, αq into n “ 7 symbols of the codeword

Alexander Barg, University of Maryland Facets of the repair problem 10 / 45

slide-32
SLIDE 32

Evaluation codes

Alexander Barg, University of Maryland Facets of the repair problem 11 / 45

slide-33
SLIDE 33

Evaluation codes

Given a polynomial f P Fqrxs and a set A “ tP1, . . . , Pnu Ă Fq define the map evA : f ÞÑ pfpPiq, i “ 1, . . . , nq

Alexander Barg, University of Maryland Facets of the repair problem 11 / 45

slide-34
SLIDE 34

Evaluation codes

Given a polynomial f P Fqrxs and a set A “ tP1, . . . , Pnu Ă Fq define the map evA : f ÞÑ pfpPiq, i “ 1, . . . , nq Example: Let q “ 8, fpxq “ 1 ` αx ` αx2 fpxq ÞÑ p1, α4, α6, α4, α, α, α6q

Alexander Barg, University of Maryland Facets of the repair problem 11 / 45

slide-35
SLIDE 35

Evaluation codes

Given a polynomial f P Fqrxs and a set A “ tP1, . . . , Pnu Ă Fq define the map evA : f ÞÑ pfpPiq, i “ 1, . . . , nq Example: Let q “ 8, fpxq “ 1 ` αx ` αx2 fpxq ÞÑ p1, α4, α6, α4, α, α, α6q Evaluation code CpAq Let V “ tf P Fqrxsu be a set of polynomials, dimpVq “ k C : V Ñ Fn

q

f ÞÑ evApfq “ pfpPiq, i “ 1, . . . , nq

Alexander Barg, University of Maryland Facets of the repair problem 11 / 45

slide-36
SLIDE 36

Construction of pn, k, rq LRC codes: Example

Parameters: n “ 12, k “ 6, r “ 3, q “ 13; Set of points: A “ t1, . . . , 12u Ă F13 A “ tA1 “ p1, 5, 12, 8q, A2 “ p2, 10, 11, 3q, A3 “ p4, 7, 9, 6qu Basis of functions: Take gpxq constant on Ai, i “ 1, 2, 3, e.g., gpxq “ x4 ´ 1 V “ A gpxqjxi, i “ 0, 1, 2; j “ 0, 1 E ; dimpVq “ 6 Evaluation code C : V Ñ Fn

q is an LRC code of length |A| “ 12 with r “ 3 and d “ 6

Alexander Barg, University of Maryland Facets of the repair problem 12 / 45

slide-37
SLIDE 37

Construction of pn, k, rq LRC codes: Example

Parameters: n “ 12, k “ 6, r “ 3, q “ 13; Set of points: A “ t1, . . . , 12u Ă F13 A “ tA1 “ p1, 5, 12, 8q, A2 “ p2, 10, 11, 3q, A3 “ p4, 7, 9, 6qu Basis of functions: Take gpxq constant on Ai, i “ 1, 2, 3, e.g., gpxq “ x4 ´ 1 V “ A gpxqjxi, i “ 0, 1, 2; j “ 0, 1 E ; dimpVq “ 6 Evaluation code C : V Ñ Fn

q is an LRC code of length |A| “ 12 with r “ 3 and d “ 6

‚ This construction is general, and gives distance-optimal LRC codes which form certain subcodes of RS codes

Alexander Barg, University of Maryland Facets of the repair problem 12 / 45

slide-38
SLIDE 38

Geometric view of LRC codes

A “ t1, . . . , 12u Ă F13 A “ A1 Y A2 Y A3

A1 “ p1, 5, 12, 8q A2 “ p2, 10, 11, 3q A3 “ p4, 7, 9, 6q

Alexander Barg, University of Maryland Facets of the repair problem 13 / 45

slide-39
SLIDE 39

Geometric view of LRC codes

A “ t1, . . . , 12u Ă F13 A “ A1 Y A2 Y A3

A1 “ p1, 5, 12, 8q A2 “ p2, 10, 11, 3q A3 “ p4, 7, 9, 6q

g :A Ñ F13 x ÞÑ x4 ´ 1

Alexander Barg, University of Maryland Facets of the repair problem 13 / 45

slide-40
SLIDE 40

Geometric view of LRC codes

A “ t1, . . . , 12u Ă F13 A “ A1 Y A2 Y A3

A1 “ p1, 5, 12, 8q A2 “ p2, 10, 11, 3q A3 “ p4, 7, 9, 6q

g :A Ñ F13 x ÞÑ x4 ´ 1 g :F13 Ñ t0, 2, 8u Ă F13 |g´1pyq| “ r ` 1

Alexander Barg, University of Maryland Facets of the repair problem 13 / 45

slide-41
SLIDE 41

Geometric view of LRC codes

A “ t1, . . . , 12u Ă F13 A “ A1 Y A2 Y A3

A1 “ p1, 5, 12, 8q A2 “ p2, 10, 11, 3q A3 “ p4, 7, 9, 6q

g :A Ñ F13 x ÞÑ x4 ´ 1 g :F13 Ñ t0, 2, 8u Ă F13 |g´1pyq| “ r ` 1

In the basic construction, X “ Y “ P1

Alexander Barg, University of Maryland Facets of the repair problem 13 / 45

slide-42
SLIDE 42

LRC codes on curves

Consider the set of pairs px, yq P F9 that satisfy the equation x3 ` x “ y4 α7 ‚ ‚ ‚ ‚ α6 ‚ α5 ‚ ‚ ‚ ‚ α4 ‚ ‚ ‚ ‚ x α3 ‚ ‚ ‚ ‚ α2 ‚ α ‚ ‚ ‚ ‚ 1 ‚ ‚ ‚ ‚ 0 ‚ 0 1 α α2 α3 α4 α5 α6 α7 y

Alexander Barg, University of Maryland Facets of the repair problem 14 / 45

slide-43
SLIDE 43

LRC codes on curves

Consider the set of pairs px, yq P F9 that satisfy the equation x3 ` x “ y4 α7 ‚ ‚ ‚ ‚ α6 ‚ α5 ‚ ‚ ‚ ‚ α4 ‚ ‚ ‚ ‚ x α3 ‚ ‚ ‚ ‚ α2 ‚ α ‚ ‚ ‚ ‚ 1 ‚ ‚ ‚ ‚ 0 ‚ 0 1 α α2 α3 α4 α5 α6 α7 y Affine points of the Hermitian curve X over F9; α2 “ α ` 1

Alexander Barg, University of Maryland Facets of the repair problem 14 / 45

slide-44
SLIDE 44

Hermitian codes

g : X Ñ P1 px, yq ÞÑ y Space of functions V :“ x1, y, y2, x, xy, xy2y A={Affine points of the Hermitian curve over F9}; n “ 27, k “ 6 C : V Ñ Fn

9

Alexander Barg, University of Maryland Facets of the repair problem 15 / 45

slide-45
SLIDE 45

Hermitian codes

g : X Ñ P1 px, yq ÞÑ y Space of functions V :“ x1, y, y2, x, xy, xy2y A={Affine points of the Hermitian curve over F9}; n “ 27, k “ 6 C : V Ñ Fn

9

E.g., message p1, α, α2, α3, α4, α5q Fpx, yq “ 1 ` αy ` α2y2 ` α3x ` α4xy ` α5xy2 Fp0, 0q “ 1 etc.

Alexander Barg, University of Maryland Facets of the repair problem 15 / 45

slide-46
SLIDE 46

LRC codes on algebraic curves: General construction

Alexander Barg, University of Maryland Facets of the repair problem 16 / 45

slide-47
SLIDE 47

LRC codes on algebraic curves: General construction

  • φ : X Ñ Y degree-pr ` 1q separable morphism of curves X, Y over K “ Fq

Alexander Barg, University of Maryland Facets of the repair problem 16 / 45

slide-48
SLIDE 48

LRC codes on algebraic curves: General construction

  • φ : X Ñ Y degree-pr ` 1q separable morphism of curves X, Y over K “ Fq
  • Q1, Q2, . . . , Qs P YpKq split completely in the cover X Ñ Y

Alexander Barg, University of Maryland Facets of the repair problem 16 / 45

slide-49
SLIDE 49

LRC codes on algebraic curves: General construction

  • φ : X Ñ Y degree-pr ` 1q separable morphism of curves X, Y over K “ Fq
  • Q1, Q2, . . . , Qs P YpKq split completely in the cover X Ñ Y
  • Let Pi,j, j “ 1, . . . , r ` 1 be the set of points on XpKq above Qi P YpKq

Alexander Barg, University of Maryland Facets of the repair problem 16 / 45

slide-50
SLIDE 50

LRC codes on algebraic curves: General construction

  • φ : X Ñ Y degree-pr ` 1q separable morphism of curves X, Y over K “ Fq
  • Q1, Q2, . . . , Qs P YpKq split completely in the cover X Ñ Y
  • Let Pi,j, j “ 1, . . . , r ` 1 be the set of points on XpKq above Qi P YpKq
  • φ˚ : KpYq ã

Ñ KpXq

Alexander Barg, University of Maryland Facets of the repair problem 16 / 45

slide-51
SLIDE 51

LRC codes on algebraic curves: General construction

  • φ : X Ñ Y degree-pr ` 1q separable morphism of curves X, Y over K “ Fq
  • Q1, Q2, . . . , Qs P YpKq split completely in the cover X Ñ Y
  • Let Pi,j, j “ 1, . . . , r ` 1 be the set of points on XpKq above Qi P YpKq
  • φ˚ : KpYq ã

Ñ KpXq

  • e1, . . . er P KpXq linearly independent over KpYq and such that Pi,j R supppelq8

Alexander Barg, University of Maryland Facets of the repair problem 16 / 45

slide-52
SLIDE 52

LRC codes on algebraic curves: General construction

  • φ : X Ñ Y degree-pr ` 1q separable morphism of curves X, Y over K “ Fq
  • Q1, Q2, . . . , Qs P YpKq split completely in the cover X Ñ Y
  • Let Pi,j, j “ 1, . . . , r ` 1 be the set of points on XpKq above Qi P YpKq
  • φ˚ : KpYq ã

Ñ KpXq

  • e1, . . . er P KpXq linearly independent over KpYq and such that Pi,j R supppelq8
  • f1, . . . , ft P KpYq l.i. over K and Ql R supppfjq8

Alexander Barg, University of Maryland Facets of the repair problem 16 / 45

slide-53
SLIDE 53

LRC codes on algebraic curves: General construction

  • φ : X Ñ Y degree-pr ` 1q separable morphism of curves X, Y over K “ Fq
  • Q1, Q2, . . . , Qs P YpKq split completely in the cover X Ñ Y
  • Let Pi,j, j “ 1, . . . , r ` 1 be the set of points on XpKq above Qi P YpKq
  • φ˚ : KpYq ã

Ñ KpXq

  • e1, . . . er P KpXq linearly independent over KpYq and such that Pi,j R supppelq8
  • f1, . . . , ft P KpYq l.i. over K and Ql R supppfjq8
  • Given the data a “ pau,v, 1 ď u ď s; 0 ď v ď rq P Kpr`1qs, evaluate

fa :“

r

ÿ

u“1

eu ÿ

v“1

au,vφ˚fv at each of the points Pij

Alexander Barg, University of Maryland Facets of the repair problem 16 / 45

slide-54
SLIDE 54

LRC codes on algebraic curves: Main results

  • A general construction of LRC codes from covering maps of curves (including quotient

curves, fiber products)

  • Families of LRC codes of length n ě q
  • Infinite families of codes from the Garcia-Stichtenoth tower
  • Asymptotic tradeoff between the rate and distance better than the Gilbert-Varshamov

bound

  • Codes with locality on algebraic surfaces

Alexander Barg, University of Maryland Facets of the repair problem 17 / 45

slide-55
SLIDE 55

Codes on curves with hierarchical locality (H-LRC codes)

Consider a code C over the field Fq with distance d

Alexander Barg, University of Maryland Facets of the repair problem 18 / 45

slide-56
SLIDE 56

Codes on curves with hierarchical locality (H-LRC codes)

Consider a code C over the field Fq with distance d Each coordinate i is included in a rν, r1, ρs code C1 which is also an LRC code with locality r2, where 2 ă ρ ă d

Alexander Barg, University of Maryland Facets of the repair problem 18 / 45

slide-57
SLIDE 57

Codes on curves with hierarchical locality (H-LRC codes)

Consider a code C over the field Fq with distance d Each coordinate i is included in a rν, r1, ρs code C1 which is also an LRC code with locality r2, where 2 ă ρ ă d Flexible functionality:

  • A single node failure is repaired by contacting r2 nodes
  • Up to ρ ´ 1 failures are repaired by contacting ν helper nodes
  • Up to d ´ 1 failures can be corrected by contacting all the functional nodes in the encoding

Alexander Barg, University of Maryland Facets of the repair problem 18 / 45

slide-58
SLIDE 58

Codes on curves with hierarchical locality (H-LRC codes)

Consider a code C over the field Fq with distance d Each coordinate i is included in a rν, r1, ρs code C1 which is also an LRC code with locality r2, where 2 ă ρ ă d Flexible functionality:

  • A single node failure is repaired by contacting r2 nodes
  • Up to ρ ´ 1 failures are repaired by contacting ν helper nodes
  • Up to d ´ 1 failures can be corrected by contacting all the functional nodes in the encoding

The Gopalan et al. bound extends as follows: d ď n ´ k ` 1 ´ ´Q k r2 U ´ 1 ¯ ´ ´Q k r1 U ´ 1 ¯ pρ ´ 2q

(SASIDHARAN-AGARWAL-KUMAR, ’15)

Alexander Barg, University of Maryland Facets of the repair problem 18 / 45

slide-59
SLIDE 59

Codes on curves with hierarchical locality (H-LRC codes)

  • Consider the following sequence of maps of algebraic curves:

X

φ2

Ý Ñ Y

φ1

Ý Ñ Z where deg φ1 “ r2 ` 1; deg φ2 “ s ` 1; define ψ “ φ1 ˝ φ2

  • Let KpXq “ KpYqpxq and KpYq “ KpZqpyq The covering map gives rise to the

embedding of function fields: KpXq Ą KpYq Ą KpZq

  • Let S “ tP1, . . . , Pmu be a collection of points in ZpKq that split completely on X, i.e.,

|ψ´1pPiq| “ pr2 ` 1qps ` 1q

  • The codes are defined by evaluating the functions

tfiyjxk|1 ď i ď t, 0 ď j ď s ´ 1, 0 ď k ď r2 ´ 1u at the points P1, i “ 1, . . . , m, where f1, . . . , ft form a basis for LpQ8q

Alexander Barg, University of Maryland Facets of the repair problem 19 / 45

slide-60
SLIDE 60

Example:

Let m|pq ´ 1q and consider X given by ym “ fpxq

Alexander Barg, University of Maryland Facets of the repair problem 20 / 45

slide-61
SLIDE 61

Example:

Let m|pq ´ 1q and consider X given by ym “ fpxq

  • L :“ Fqpx, yq is a cyclic extension of K :“ Fqpxq of degree m. G “ GalpL{Kq is cyclic of
  • rder m

Alexander Barg, University of Maryland Facets of the repair problem 20 / 45

slide-62
SLIDE 62

Example:

Let m|pq ´ 1q and consider X given by ym “ fpxq

  • L :“ Fqpx, yq is a cyclic extension of K :“ Fqpxq of degree m. G “ GalpL{Kq is cyclic of
  • rder m
  • Let m “ pa ` 1qpb ` 1q, let α be the generator of G

Alexander Barg, University of Maryland Facets of the repair problem 20 / 45

slide-63
SLIDE 63

Example:

Let m|pq ´ 1q and consider X given by ym “ fpxq

  • L :“ Fqpx, yq is a cyclic extension of K :“ Fqpxq of degree m. G “ GalpL{Kq is cyclic of
  • rder m
  • Let m “ pa ` 1qpb ` 1q, let α be the generator of G
  • Let H “ xαb`1y, |H| “ a ` 1

Alexander Barg, University of Maryland Facets of the repair problem 20 / 45

slide-64
SLIDE 64

Example:

Let m|pq ´ 1q and consider X given by ym “ fpxq

  • L :“ Fqpx, yq is a cyclic extension of K :“ Fqpxq of degree m. G “ GalpL{Kq is cyclic of
  • rder m
  • Let m “ pa ` 1qpb ` 1q, let α be the generator of G
  • Let H “ xαb`1y, |H| “ a ` 1
  • Invariants of H are generated by ya`1

Alexander Barg, University of Maryland Facets of the repair problem 20 / 45

slide-65
SLIDE 65

Example:

Let m|pq ´ 1q and consider X given by ym “ fpxq

  • L :“ Fqpx, yq is a cyclic extension of K :“ Fqpxq of degree m. G “ GalpL{Kq is cyclic of
  • rder m
  • Let m “ pa ` 1qpb ` 1q, let α be the generator of G
  • Let H “ xαb`1y, |H| “ a ` 1
  • Invariants of H are generated by ya`1
  • KpXq “ Kpx, yq Ð

â KpXqH “ Kpx, ya`1q Ð â KpXqG “ Kpx, ypa`1qpb`1qq

Alexander Barg, University of Maryland Facets of the repair problem 20 / 45

slide-66
SLIDE 66

Example:

Let m|pq ´ 1q and consider X given by ym “ fpxq

  • L :“ Fqpx, yq is a cyclic extension of K :“ Fqpxq of degree m. G “ GalpL{Kq is cyclic of
  • rder m
  • Let m “ pa ` 1qpb ` 1q, let α be the generator of G
  • Let H “ xαb`1y, |H| “ a ` 1
  • Invariants of H are generated by ya`1
  • KpXq “ Kpx, yq Ð

â KpXqH “ Kpx, ya`1q Ð â KpXqG “ Kpx, ypa`1qpb`1qq

  • We obtain families of H-LRC codes by specializing this construction to various

Kummer curves (Hermitian, Giulietti-Korchm´ aros, etc.)

(work with SEAN BALLENTINE and SERGE VL˘

ADUT

¸, arXiv.org:1807.05473)

Alexander Barg, University of Maryland Facets of the repair problem 20 / 45

slide-67
SLIDE 67

Regenerating Codes and the Repair Problem

  • The file of size M is divided into l-vectors over a finite field F “ Fq (chunks of size l).

Alexander Barg, University of Maryland Facets of the repair problem 21 / 45

slide-68
SLIDE 68

Regenerating Codes and the Repair Problem

  • The file of size M is divided into l-vectors over a finite field F “ Fq (chunks of size l).
  • Each chunk is placed on a separate storage node

Alexander Barg, University of Maryland Facets of the repair problem 21 / 45

slide-69
SLIDE 69

Regenerating Codes and the Repair Problem

  • The file of size M is divided into l-vectors over a finite field F “ Fq (chunks of size l).
  • Each chunk is placed on a separate storage node
  • The data is encoded using an erasure-correcting code of dimension k “ M{l

Alexander Barg, University of Maryland Facets of the repair problem 21 / 45

slide-70
SLIDE 70

Regenerating Codes and the Repair Problem

  • The file of size M is divided into l-vectors over a finite field F “ Fq (chunks of size l).
  • Each chunk is placed on a separate storage node
  • The data is encoded using an erasure-correcting code of dimension k “ M{l
  • Data encoding

C1, C2, C3, . . . , Cn´1, Cn where each Ci is located on its own node Another figure of merit: The repair bandwidth, i.e., the total amount of communication for repairing the failed node(s)

Alexander Barg, University of Maryland Facets of the repair problem 21 / 45

slide-71
SLIDE 71

Regenerating Codes and the Repair Problem

  • Let C be a code over F used for node repair (correcting one or several erasures)

Alexander Barg, University of Maryland Facets of the repair problem 22 / 45

slide-72
SLIDE 72

Regenerating Codes and the Repair Problem

  • Let C be a code over F used for node repair (correcting one or several erasures)
  • Let B be a subfield of F; rF : Bs “ l

Alexander Barg, University of Maryland Facets of the repair problem 22 / 45

slide-73
SLIDE 73

Regenerating Codes and the Repair Problem

  • Let C be a code over F used for node repair (correcting one or several erasures)
  • Let B be a subfield of F; rF : Bs “ l
  • Consider C as a code over B; every coordinate is an l-vector over B

Alexander Barg, University of Maryland Facets of the repair problem 22 / 45

slide-74
SLIDE 74

Regenerating Codes and the Repair Problem

  • Let C be a code over F used for node repair (correcting one or several erasures)
  • Let B be a subfield of F; rF : Bs “ l
  • Consider C as a code over B; every coordinate is an l-vector over B
  • Repair is performed by downloading symbols from helper nodes

l n k

Alexander Barg, University of Maryland Facets of the repair problem 22 / 45

slide-75
SLIDE 75

Regenerating Codes and the Repair Problem

  • Let C be a code over F used for node repair (correcting one or several erasures)
  • Let B be a subfield of F; rF : Bs “ l
  • Consider C as a code over B; every coordinate is an l-vector over B
  • Repair is performed by downloading symbols from helper nodes

l n k

Alexander Barg, University of Maryland Facets of the repair problem 22 / 45

slide-76
SLIDE 76

Regenerating Codes and the Repair Problem

  • Let C be a code over F used for node repair (correcting one or several erasures)
  • Let B be a subfield of F; rF : Bs “ l
  • Consider C as a code over B; every coordinate is an l-vector over B
  • Repair is performed by downloading symbols from helper nodes

l n d

Alexander Barg, University of Maryland Facets of the repair problem 22 / 45

slide-77
SLIDE 77

Regenerating Codes and the Repair Problem

  • Let C be a code over F used for node repair (correcting one or several erasures)
  • Let B be a subfield of F; rF : Bs “ l
  • Consider C as a code over B; every coordinate is an l-vector over B
  • Repair is performed by downloading symbols from helper nodes

l n d=n−1

Repair Bandwidth – The number of symbols of B downloaded for node repair

Alexander Barg, University of Maryland Facets of the repair problem 22 / 45

slide-78
SLIDE 78

Vector (Array) codes

  • Let C be a code over the field F “ Fql.
  • Each coordinate can be considered as an l-vector over B “ Fq.
  • A codeword C P C is an l ˆ n matrix over B.
  • The value of l is called sub-packetization of the code C
  • C is called a linear array code (or a vector code) if it is B-linear. It may not be F-linear;

if it is, it is also called a scalar code.

Alexander Barg, University of Maryland Facets of the repair problem 23 / 45

slide-79
SLIDE 79

Formal definition of the (single-node) repair problem

  • Consider an pn, k, lq code C over B.

Alexander Barg, University of Maryland Facets of the repair problem 24 / 45

slide-80
SLIDE 80

Formal definition of the (single-node) repair problem

  • Consider an pn, k, lq code C over B.
  • A codeword C “ pC1, . . . , Cnq, where Ci “ pci,0, ci,1, . . . , ci,l´1qT P Bl, i “ 1, . . . , n.

Alexander Barg, University of Maryland Facets of the repair problem 24 / 45

slide-81
SLIDE 81

Formal definition of the (single-node) repair problem

  • Consider an pn, k, lq code C over B.
  • A codeword C “ pC1, . . . , Cnq, where Ci “ pci,0, ci,1, . . . , ci,l´1qT P Bl, i “ 1, . . . , n.
  • A node i P rns can be repaired from a subset of d ě k helper nodes Ri Ă rnsztiu,

by downloading βipRiq symbols of B if there are

  • numbers βi,j, j P Ri and
  • d functions fi,j : Bl Ñ Bβi,j, j P Ri and a function gi : B

ř

j βi,j Ñ Bl

such that Ci “ gipfi,jpCjq, j P Riq and ÿ

jPRi

βi,j “ βipRiq.

Alexander Barg, University of Maryland Facets of the repair problem 24 / 45

slide-82
SLIDE 82

Formal definition of the (single-node) repair problem

  • Consider an pn, k, lq code C over B.
  • A codeword C “ pC1, . . . , Cnq, where Ci “ pci,0, ci,1, . . . , ci,l´1qT P Bl, i “ 1, . . . , n.
  • A node i P rns can be repaired from a subset of d ě k helper nodes Ri Ă rnsztiu,

by downloading βipRiq symbols of B if there are

  • numbers βi,j, j P Ri and
  • d functions fi,j : Bl Ñ Bβi,j, j P Ri and a function gi : B

ř

j βi,j Ñ Bl

such that Ci “ gipfi,jpCjq, j P Riq and ÿ

jPRi

βi,j “ βipRiq. The repair bandwidth of i from Ri :

β˚

i pRiq “ min fi,j,gi βipRiq

Alexander Barg, University of Maryland Facets of the repair problem 24 / 45

slide-83
SLIDE 83

Repair of several erasures

Centralized and distributed (cooperative) models

Suppose that nodes i and j are erased.

Alexander Barg, University of Maryland Facets of the repair problem 25 / 45

slide-84
SLIDE 84

Repair of several erasures

Centralized and distributed (cooperative) models

Suppose that nodes i and j are erased. Centralized repair: Download information from the set of helper nodes R, |R| “ d that is used for repair of both Ci and Cj

Alexander Barg, University of Maryland Facets of the repair problem 25 / 45

slide-85
SLIDE 85

Repair of several erasures

Centralized and distributed (cooperative) models

Suppose that nodes i and j are erased. Centralized repair: Download information from the set of helper nodes R, |R| “ d that is used for repair of both Ci and Cj Cooperative repair1q:

  • Round 1: Nodes Ci and Cj download (potentially, different) information from R
  • Round 2: Information exchange:

Ci Ô Cj Both rounds of communication contribute to the repair bandwidth.

1q Originally defined for T ě 2 communication rounds (SHUM-HU, ’13)

Alexander Barg, University of Maryland Facets of the repair problem 25 / 45

slide-86
SLIDE 86

Cut-set bound

β ě l d ` 1 ´ k d (DIMAKIS ET AL., 2010)

Alexander Barg, University of Maryland Facets of the repair problem 26 / 45

slide-87
SLIDE 87

Cut-set bound

β ě l d ` 1 ´ k d (DIMAKIS ET AL., 2010) The code meeting this bound with equality is said to afford optimal repair For d “ n ´ 1, r “ n ´ k β ě l r pn ´ 1q

Alexander Barg, University of Maryland Facets of the repair problem 26 / 45

slide-88
SLIDE 88

Cut-set bound

β ě l d ` 1 ´ k d (DIMAKIS ET AL., 2010) The code meeting this bound with equality is said to afford optimal repair For d “ n ´ 1, r “ n ´ k β ě l r pn ´ 1q The cut-set bound extends to repair of h ě 1 erasures (failed nodes):

  • Centralized model: β ě

hdl d ` h ´ k

(V. CADAMBE ET AL., ’13)

  • Cooperative model: β ě hpd ` h ´ 1ql

d ` h ´ k

(K. SHUM and Y. HU, ’13; M. YE and A.B., ’17)

Alexander Barg, University of Maryland Facets of the repair problem 26 / 45

slide-89
SLIDE 89

Cut-set bound

β ě l d ` 1 ´ k d (DIMAKIS ET AL., 2010) The code meeting this bound with equality is said to afford optimal repair For d “ n ´ 1, r “ n ´ k β ě l r pn ´ 1q The cut-set bound extends to repair of h ě 1 erasures (failed nodes):

  • Centralized model: β ě

hdl d ` h ´ k

(V. CADAMBE ET AL., ’13)

  • Cooperative model: β ě hpd ` h ´ 1ql

d ` h ´ k

(K. SHUM and Y. HU, ’13; M. YE and A.B., ’17)

Codes that meet these bounds with equality are said to have ph, dq-optimal repair bandwidth

Alexander Barg, University of Maryland Facets of the repair problem 26 / 45

slide-90
SLIDE 90

Cooperative repair

Cut-set bound for cooperative repair: β ě |F|p|R| ` |F| ´ 1ql |F| ` |R| ´ k “ |F| ´ |R|l |F| ` |R| ´ k ` p|F| ´ 1ql |F| ` |R| ´ k ¯

Alexander Barg, University of Maryland Facets of the repair problem 27 / 45

slide-91
SLIDE 91

Cooperative repair

Cut-set bound for cooperative repair: β ě |F|p|R| ` |F| ´ 1ql |F| ` |R| ´ k “ |F| ´ |R|l |F| ` |R| ´ k ` p|F| ´ 1ql |F| ` |R| ´ k ¯ Structure of optimal codes:

  • Each failed node downloads

l |F| ` |R| ´ k from the helper nodes

  • Each failed node downloads

l |F| ` |R| ´ k from each of the other nodes in F

Alexander Barg, University of Maryland Facets of the repair problem 27 / 45

slide-92
SLIDE 92

Cooperative repair model is stronger than the centralized model

An MSD code that is cooperatively optimal-repair is also optimal-repair under the centralized model

Alexander Barg, University of Maryland Facets of the repair problem 28 / 45

slide-93
SLIDE 93

Cooperative repair model is stronger than the centralized model

An MSD code that is cooperatively optimal-repair is also optimal-repair under the centralized model

Theorem (Ye-B, ’18)

Let C be an pn, k, lq MDS array code and let F, R Ď rns be two disjoint subsets such that |F| ď r and |R| ě k. If βcooppCq “ |F|p|R| ` |F| ´ 1ql |F| ` |R| ´ k , then βcentpCq “ |F||R|l |F| ` |R| ´ k .

Alexander Barg, University of Maryland Facets of the repair problem 28 / 45

slide-94
SLIDE 94

Cooperative repair of two nodes

  • Assume that nodes C1, C2 are erased.

Alexander Barg, University of Maryland Facets of the repair problem 29 / 45

slide-95
SLIDE 95

Cooperative repair of two nodes

  • Assume that nodes C1, C2 are erased.
  • We construct an pn, k, 3q MDS array code, where k ă n ď |F| ´ 2.

Alexander Barg, University of Maryland Facets of the repair problem 29 / 45

slide-96
SLIDE 96

Cooperative repair of two nodes

  • Assume that nodes C1, C2 are erased.
  • We construct an pn, k, 3q MDS array code, where k ă n ď |F| ´ 2.
  • Let λ1,0, λ1,1, λ2,0, λ2,1, λ3, λ4, . . . , λn P F

Alexander Barg, University of Maryland Facets of the repair problem 29 / 45

slide-97
SLIDE 97

Cooperative repair of two nodes

  • Assume that nodes C1, C2 are erased.
  • We construct an pn, k, 3q MDS array code, where k ă n ď |F| ´ 2.
  • Let λ1,0, λ1,1, λ2,0, λ2,1, λ3, λ4, . . . , λn P F
  • Parity-check equations:

λt

1,0c1,0 ` λt 2,0c2,0 ` n

ÿ

i“3

λt

ici,0 “ 0

λt

1,1c1,1 ` λt 2,0c2,1 ` n

ÿ

i“3

λt

ici,1 “ 0

λt

1,0c1,2 ` λt 2,1c2,2 ` n

ÿ

i“3

λt

ici,2 “ 0,

t “ 0, 1, . . . , r ´ 1

Alexander Barg, University of Maryland Facets of the repair problem 29 / 45

slide-98
SLIDE 98

Idea of the construction, I

Take the first two groups of parities: λt

1,0c1,0 ` λt 2,0c2,0 ` n

ÿ

i“3

λt

ici,0 “ 0

λt

1,1c1,1 ` λt 2,0c2,1 ` n

ÿ

i“3

λt

ici,1 “ 0,

t “ 0, 1, . . . , r ´ 1

Alexander Barg, University of Maryland Facets of the repair problem 30 / 45

slide-99
SLIDE 99

Idea of the construction, I

Take the first two groups of parities: λt

1,0c1,0 ` λt 2,0c2,0 ` n

ÿ

i“3

λt

ici,0 “ 0

λt

1,1c1,1 ` λt 2,0c2,1 ` n

ÿ

i“3

λt

ici,1 “ 0,

t “ 0, 1, . . . , r ´ 1 Add them together: λt

1,0c1,0 ` λt 1,1c1,1 ` λt 2,0pc2,0 ` c2,1q ` n

ÿ

i“3

λt

ipci,0 ` ci,1q “ 0

Alexander Barg, University of Maryland Facets of the repair problem 30 / 45

slide-100
SLIDE 100

Idea of the construction, I

Take the first two groups of parities: λt

1,0c1,0 ` λt 2,0c2,0 ` n

ÿ

i“3

λt

ici,0 “ 0

λt

1,1c1,1 ` λt 2,0c2,1 ` n

ÿ

i“3

λt

ici,1 “ 0,

t “ 0, 1, . . . , r ´ 1 Add them together: λt

1,0c1,0 ` λt 1,1c1,1 ` λt 2,0pc2,0 ` c2,1q ` n

ÿ

i“3

λt

ipci,0 ` ci,1q “ 0

λt

2,0pc2,0 ` c2,1q ` n

ÿ

i“2

λt

ipci,0 ` ci,1q “ 0

Alexander Barg, University of Maryland Facets of the repair problem 30 / 45

slide-101
SLIDE 101

Idea of the construction, II

λt

2,0pc2,0 ` c2,1q ` n

ÿ

i“2

λt

ipci,0 ` ci,1q “ 0

In matrix form: » — — — — — — — – 1 1 1 1 1 . . . 1 λ1,0 λ1,1 λ2,0 λ3 λ4 . . . λn λ2

1,0

λ2

1,1

λ2

2,0

λ2

3

λ2

4

. . . λ2

n

. . . . . . . . . . . . . . . . . . . . . λr´1

1,0

λr´1

1,1

λr´1

2,0

λr´1

3

λr´1

4

. . . λr´1

n

fi ffi ffi ffi ffi ffi ffi ffi fl » — — — — — — — — — – c1,0 c1,1 c2,0 ` c2,1 c3,0 ` c3,1 . . . cn`1,0 ` cn`1,1 fi ffi ffi ffi ffi ffi ffi ffi ffi ffi fl “ 0 The column vector is a codeword in a GRS code of length n, dimension n ´ r “ k ` 1. Thus, c1,0, c1,1 and c2,0 ` c2,1 can be found from any k ` 1 values out of c3,0 ` c3,1, . . . , cn`1,0 ` cn`1,1

Alexander Barg, University of Maryland Facets of the repair problem 31 / 45

slide-102
SLIDE 102

Idea of the construction, II

c1,0, c1,1 and c2,0 ` c2,1 can be found from any k ` 1 values c3,0 ` c3,1, . . . , cn`1,0 ` cn`1,1

Alexander Barg, University of Maryland Facets of the repair problem 32 / 45

slide-103
SLIDE 103

Idea of the construction, II

c1,0, c1,1 and c2,0 ` c2,1 can be found from any k ` 1 values c3,0 ` c3,1, . . . , cn`1,0 ` cn`1,1 Similarly, taking the first and the third groups of parity checks, we conclude that c2,0, c2,2 and c1,0 ` c1,2 can be found from any k ` 1 values out of c3,0 ` c3,2, . . . , cn`1,0 ` cn`1,2

Alexander Barg, University of Maryland Facets of the repair problem 32 / 45

slide-104
SLIDE 104

Idea of the construction, II

c1,0, c1,1 and c2,0 ` c2,1 can be found from any k ` 1 values c3,0 ` c3,1, . . . , cn`1,0 ` cn`1,1 Similarly, taking the first and the third groups of parity checks, we conclude that c2,0, c2,2 and c1,0 ` c1,2 can be found from any k ` 1 values out of c3,0 ` c3,2, . . . , cn`1,0 ` cn`1,2 The repair protocol

  • 1. Download c3,0 ` c3,1, . . . , ck`3,0 ` ck`3,1 to Node 1; find c1,0, c1,1 and c2,0 ` c2,1

Alexander Barg, University of Maryland Facets of the repair problem 32 / 45

slide-105
SLIDE 105

Idea of the construction, II

c1,0, c1,1 and c2,0 ` c2,1 can be found from any k ` 1 values c3,0 ` c3,1, . . . , cn`1,0 ` cn`1,1 Similarly, taking the first and the third groups of parity checks, we conclude that c2,0, c2,2 and c1,0 ` c1,2 can be found from any k ` 1 values out of c3,0 ` c3,2, . . . , cn`1,0 ` cn`1,2 The repair protocol

  • 1. Download c3,0 ` c3,1, . . . , ck`3,0 ` ck`3,1 to Node 1; find c1,0, c1,1 and c2,0 ` c2,1
  • 2. Download c3,0 ` c3,2, . . . , ck`3,0 ` ck`3,2 to Node 2; find c2,0, c2,2 and c1,0 ` c1,2

Alexander Barg, University of Maryland Facets of the repair problem 32 / 45

slide-106
SLIDE 106

Idea of the construction, II

c1,0, c1,1 and c2,0 ` c2,1 can be found from any k ` 1 values c3,0 ` c3,1, . . . , cn`1,0 ` cn`1,1 Similarly, taking the first and the third groups of parity checks, we conclude that c2,0, c2,2 and c1,0 ` c1,2 can be found from any k ` 1 values out of c3,0 ` c3,2, . . . , cn`1,0 ` cn`1,2 The repair protocol

  • 1. Download c3,0 ` c3,1, . . . , ck`3,0 ` ck`3,1 to Node 1; find c1,0, c1,1 and c2,0 ` c2,1
  • 2. Download c3,0 ` c3,2, . . . , ck`3,0 ` ck`3,2 to Node 2; find c2,0, c2,2 and c1,0 ` c1,2
  • 3. Send c2,0 ` c2,1 from Node 1 to Node 2; Send c1,0 ` c1,2 from Node 2 to Node 1

Alexander Barg, University of Maryland Facets of the repair problem 32 / 45

slide-107
SLIDE 107

Idea of the construction, II

c1,0, c1,1 and c2,0 ` c2,1 can be found from any k ` 1 values c3,0 ` c3,1, . . . , cn`1,0 ` cn`1,1 Similarly, taking the first and the third groups of parity checks, we conclude that c2,0, c2,2 and c1,0 ` c1,2 can be found from any k ` 1 values out of c3,0 ` c3,2, . . . , cn`1,0 ` cn`1,2 The repair protocol

  • 1. Download c3,0 ` c3,1, . . . , ck`3,0 ` ck`3,1 to Node 1; find c1,0, c1,1 and c2,0 ` c2,1
  • 2. Download c3,0 ` c3,2, . . . , ck`3,0 ` ck`3,2 to Node 2; find c2,0, c2,2 and c1,0 ` c1,2
  • 3. Send c2,0 ` c2,1 from Node 1 to Node 2; Send c1,0 ` c1,2 from Node 2 to Node 1
  • 4. Find the missing values c1,2 and c2,1

Alexander Barg, University of Maryland Facets of the repair problem 32 / 45

slide-108
SLIDE 108

Parameters of the constructions

Repairing the first h nodes Repairing any h nodes Values of h “ |F|, d “ |R| |F| l |F| l h “ 2, d “ k ` 1 n ` 2 3 2n 3

´n 2 ¯

h “ 2, any d n ` 2ps ´ 1q s2 ´ 1 sn ps2 ´ 1q

´n 2 ¯

any h, d “ k ` 1 n ` h h ` 1 2n ph ` 1q

´n h ¯

any h, any d n ` hps ´ 1q ph ` d ´ kqps ´ 1qh´1 sn pph ` d ´ kqps ´ 1qh´1q

´n h ¯

(MIN YE AND A.B., T-IT ’18, ARXIV:1801.09665)

Alexander Barg, University of Maryland Facets of the repair problem 33 / 45

slide-109
SLIDE 109

Rack-aware storage model

u nodes in each rack . . . Rack 1 Rack 2 Rack ¯ n

  • Encoding of length n is stored in ¯

n racks, each containing u nodes

  • Code length n “ ¯

nu

  • Only communication between the racks counts toward repair bandwidth

Alexander Barg, University of Maryland Facets of the repair problem 34 / 45

slide-110
SLIDE 110

Rack-aware storage model: Repairing single node

u nodes in each rack . . . Rack 1 Rack 2 Rack ¯ n

Alexander Barg, University of Maryland Facets of the repair problem 35 / 45

slide-111
SLIDE 111

Rack-aware storage model: Repairing single node

u nodes in each rack . . . Rack 1 Rack 2 Rack ¯ n

Cut-set bound (HU, LEE, AND ZHANG, ISIT 2016): Let k “ ¯ ku ` v,¯ r :“ ¯ n ´ ¯ k, then β ě ¯ n ´ 1 ¯ r l This bound is better than the standard MSR cut-set bound if v ‰ 0

Alexander Barg, University of Maryland Facets of the repair problem 35 / 45

slide-112
SLIDE 112

Code construction

  • Given n, k, we construct codes with sub-packetization l “ ¯

n over F, |F| “ q ą ¯

rn

Alexander Barg, University of Maryland Facets of the repair problem 36 / 45

slide-113
SLIDE 113

Code construction

  • Given n, k, we construct codes with sub-packetization l “ ¯

n over F, |F| “ q ą ¯

rn

  • Suppose that ¯

rn|pq ´ 1q, let λ P F : ordpλq “ ¯ rn.

Alexander Barg, University of Maryland Facets of the repair problem 36 / 45

slide-114
SLIDE 114

Code construction

  • Given n, k, we construct codes with sub-packetization l “ ¯

n over F, |F| “ q ą ¯

rn

  • Suppose that ¯

rn|pq ´ 1q, let λ P F : ordpλq “ ¯ rn.

  • Parity-check equations of the code C:

¯ n

ÿ

s“1

λtpps´1q¯

r`jsq u

ÿ

i“1

λtpi´1q¯

r ¯ ncps´1qu`i,j “ 0

for all t “ 0, . . . , r ´ 1; j “ 0, . . . , l ´ 1.

Alexander Barg, University of Maryland Facets of the repair problem 36 / 45

slide-115
SLIDE 115

Code construction

  • Given n, k, we construct codes with sub-packetization l “ ¯

n over F, |F| “ q ą ¯

rn

  • Suppose that ¯

rn|pq ´ 1q, let λ P F : ordpλq “ ¯ rn.

  • Parity-check equations of the code C:

¯ n

ÿ

s“1

λtpps´1q¯

r`jsq u

ÿ

i“1

λtpi´1q¯

r ¯ ncps´1qu`i,j “ 0

for all t “ 0, . . . , r ´ 1; j “ 0, . . . , l ´ 1.

  • Suppose that a node in rack p has failed. Rearranging and putting α “ λu, we obtain

¯ r´1

ÿ

jp“0

αp¯

rpp´1q`jpqw u

ÿ

i“1

cpp´1qu`i,j “ ´ ÿ

s‰p

αp¯

rps´1q`jsqw ¯ r´1

ÿ

jp“0 u

ÿ

i“1

cps´1qu`i,j w “ 0, 1, . . . ,¯ r ´ 1 j¯

n, . . . , jp`1, jp´1, . . . , j1, where each jb “ 0, 1, . . . ,¯

r ´ 1.

Alexander Barg, University of Maryland Facets of the repair problem 36 / 45

slide-116
SLIDE 116

Code construction

  • Given n, k, we construct codes with sub-packetization l “ ¯

n over F, |F| “ q ą ¯

rn

  • Suppose that ¯

rn|pq ´ 1q, let λ P F : ordpλq “ ¯ rn.

  • Parity-check equations of the code C:

¯ n

ÿ

s“1

λtpps´1q¯

r`jsq u

ÿ

i“1

λtpi´1q¯

r ¯ ncps´1qu`i,j “ 0

for all t “ 0, . . . , r ´ 1; j “ 0, . . . , l ´ 1.

  • Suppose that a node in rack p has failed. Rearranging and putting α “ λu, we obtain

¯ r´1

ÿ

jp“0

αp¯

rpp´1q`jpqw u

ÿ

i“1

cpp´1qu`i,j “ ´ ÿ

s‰p

αp¯

rps´1q`jsqw ¯ r´1

ÿ

jp“0 u

ÿ

i“1

cps´1qu`i,j w “ 0, 1, . . . ,¯ r ´ 1 j¯

n, . . . , jp`1, jp´1, . . . , j1, where each jb “ 0, 1, . . . ,¯

r ´ 1.

(work with ZITAN CHEN, ’18)

Alexander Barg, University of Maryland Facets of the repair problem 36 / 45

slide-117
SLIDE 117

Repair of Reed-Solomon codes

Problem introduced by K. SHANMUGAM ET AL., 2014. It was developed by V. GURUSWAMI AND

  • M. WOOTTERS (T-IT, Sept. 2017):

Alexander Barg, University of Maryland Facets of the repair problem 37 / 45

slide-118
SLIDE 118

Repair of Reed-Solomon codes

Problem introduced by K. SHANMUGAM ET AL., 2014. It was developed by V. GURUSWAMI AND

  • M. WOOTTERS (T-IT, Sept. 2017):
  • Characterized repair schemes of RS codes
  • Analyzed full-length RS codes for single-node repair

Alexander Barg, University of Maryland Facets of the repair problem 37 / 45

slide-119
SLIDE 119

Repair of Reed-Solomon codes

Problem introduced by K. SHANMUGAM ET AL., 2014. It was developed by V. GURUSWAMI AND

  • M. WOOTTERS (T-IT, Sept. 2017):
  • Characterized repair schemes of RS codes
  • Analyzed full-length RS codes for single-node repair

MIN YE AND A.B., RS codes with asymptotically optimal repair bandwidth, ISIT’16

  • H. DAU AND O. MILENKOVIC, Optimal repair schemes of some families of full-length RS codes, ISIT’17
  • A. CHOWDHURI AND A. VARDY, Schemes for asymptotically optimal repair of MDS codes, 2017

Alexander Barg, University of Maryland Facets of the repair problem 37 / 45

slide-120
SLIDE 120

Repair of Reed-Solomon codes

Problem introduced by K. SHANMUGAM ET AL., 2014. It was developed by V. GURUSWAMI AND

  • M. WOOTTERS (T-IT, Sept. 2017):
  • Characterized repair schemes of RS codes
  • Analyzed full-length RS codes for single-node repair

MIN YE AND A.B., RS codes with asymptotically optimal repair bandwidth, ISIT’16

  • H. DAU AND O. MILENKOVIC, Optimal repair schemes of some families of full-length RS codes, ISIT’17
  • A. CHOWDHURI AND A. VARDY, Schemes for asymptotically optimal repair of MDS codes, 2017

Optimal-repair (shortened) RS codes (work with I. TAMO AND MIN YE ’17):

Alexander Barg, University of Maryland Facets of the repair problem 37 / 45

slide-121
SLIDE 121

Repair of Reed-Solomon codes

Problem introduced by K. SHANMUGAM ET AL., 2014. It was developed by V. GURUSWAMI AND

  • M. WOOTTERS (T-IT, Sept. 2017):
  • Characterized repair schemes of RS codes
  • Analyzed full-length RS codes for single-node repair

MIN YE AND A.B., RS codes with asymptotically optimal repair bandwidth, ISIT’16

  • H. DAU AND O. MILENKOVIC, Optimal repair schemes of some families of full-length RS codes, ISIT’17
  • A. CHOWDHURI AND A. VARDY, Schemes for asymptotically optimal repair of MDS codes, 2017

Optimal-repair (shortened) RS codes (work with I. TAMO AND MIN YE ’17):

  • Construction of RS codes for single-node repair with optimal repair bandwidth

Alexander Barg, University of Maryland Facets of the repair problem 37 / 45

slide-122
SLIDE 122

Repair of Reed-Solomon codes

Problem introduced by K. SHANMUGAM ET AL., 2014. It was developed by V. GURUSWAMI AND

  • M. WOOTTERS (T-IT, Sept. 2017):
  • Characterized repair schemes of RS codes
  • Analyzed full-length RS codes for single-node repair

MIN YE AND A.B., RS codes with asymptotically optimal repair bandwidth, ISIT’16

  • H. DAU AND O. MILENKOVIC, Optimal repair schemes of some families of full-length RS codes, ISIT’17
  • A. CHOWDHURI AND A. VARDY, Schemes for asymptotically optimal repair of MDS codes, 2017

Optimal-repair (shortened) RS codes (work with I. TAMO AND MIN YE ’17):

  • Construction of RS codes for single-node repair with optimal repair bandwidth
  • Lower bound on sub-packetization parameter l

Alexander Barg, University of Maryland Facets of the repair problem 37 / 45

slide-123
SLIDE 123

Repair of Reed-Solomon codes

Problem introduced by K. SHANMUGAM ET AL., 2014. It was developed by V. GURUSWAMI AND

  • M. WOOTTERS (T-IT, Sept. 2017):
  • Characterized repair schemes of RS codes
  • Analyzed full-length RS codes for single-node repair

MIN YE AND A.B., RS codes with asymptotically optimal repair bandwidth, ISIT’16

  • H. DAU AND O. MILENKOVIC, Optimal repair schemes of some families of full-length RS codes, ISIT’17
  • A. CHOWDHURI AND A. VARDY, Schemes for asymptotically optimal repair of MDS codes, 2017

Optimal-repair (shortened) RS codes (work with I. TAMO AND MIN YE ’17):

  • Construction of RS codes for single-node repair with optimal repair bandwidth
  • Lower bound on sub-packetization parameter l
  • Construction of RS codes that universally achieve the cut-set bound for any number of

erasures

Alexander Barg, University of Maryland Facets of the repair problem 37 / 45

slide-124
SLIDE 124

Use of RS codes for node repair

Alexander Barg, University of Maryland Facets of the repair problem 38 / 45

slide-125
SLIDE 125

Use of RS codes for node repair

pa0, a1, a2, a3q

Alexander Barg, University of Maryland Facets of the repair problem 38 / 45

slide-126
SLIDE 126

Use of RS codes for node repair

pa0, a1, a2, a3q Ñ fpxq “ a0 ` a1x ` a2x2 ` a3x3

Alexander Barg, University of Maryland Facets of the repair problem 38 / 45

slide-127
SLIDE 127

Use of RS codes for node repair

pa0, a1, a2, a3q Ñ fpxq “ a0 ` a1x ` a2x2 ` a3x3

Alexander Barg, University of Maryland Facets of the repair problem 38 / 45

slide-128
SLIDE 128

Use of RS codes for node repair

pa0, a1, a2, a3q Ñ fpxq “ a0 ` a1x ` a2x2 ` a3x3

Alexander Barg, University of Maryland Facets of the repair problem 38 / 45

slide-129
SLIDE 129

Use of RS codes for node repair

pa0, a1, a2, a3q Ñ fpxq “ a0 ` a1x ` a2x2 ` a3x3 P1 fpP1q

Alexander Barg, University of Maryland Facets of the repair problem 38 / 45

slide-130
SLIDE 130

Use of RS codes for node repair

pa0, a1, a2, a3q Ñ fpxq “ a0 ` a1x ` a2x2 ` a3x3 P1 fpP1q P2 fpP2q

Alexander Barg, University of Maryland Facets of the repair problem 38 / 45

slide-131
SLIDE 131

Use of RS codes for node repair

pa0, a1, a2, a3q Ñ fpxq “ a0 ` a1x ` a2x2 ` a3x3 P1 fpP1q P2 fpP2q P3 fpP3q

Alexander Barg, University of Maryland Facets of the repair problem 38 / 45

slide-132
SLIDE 132

Use of RS codes for node repair

pa0, a1, a2, a3q Ñ fpxq “ a0 ` a1x ` a2x2 ` a3x3 P1 fpP1q P2 fpP2q P3 fpP3q P4 fpP4q

Alexander Barg, University of Maryland Facets of the repair problem 38 / 45

slide-133
SLIDE 133

Use of RS codes for node repair

pa0, a1, a2, a3q Ñ fpxq “ a0 ` a1x ` a2x2 ` a3x3 P1 fpP1q P2 fpP2q P3 fpP3q P4 fpP4q P5 fpP5q

Alexander Barg, University of Maryland Facets of the repair problem 38 / 45

slide-134
SLIDE 134

Use of RS codes for node repair

pa0, a1, a2, a3q Ñ fpxq “ a0 ` a1x ` a2x2 ` a3x3 P1 fpP1q P2 fpP2q P3 fpP3q P4 fpP4q P5 fpP5q Pn fpPnq

Alexander Barg, University of Maryland Facets of the repair problem 38 / 45

slide-135
SLIDE 135

Use of RS codes for node repair

pa0, a1, a2, a3q Ñ fpxq “ a0 ` a1x ` a2x2 ` a3x3 Ñ fpxq “ pfpP1q, fpP2q, ..., fpPnqq P1 fpP1q P2 fpP2q P3 fpP3q P4 fpP4q P5 fpP5q Pn fpPnq

Alexander Barg, University of Maryland Facets of the repair problem 38 / 45

slide-136
SLIDE 136

Use of RS codes for node repair

pa0, a1, a2, a3q Ñ fpxq “ a0 ` a1x ` a2x2 ` a3x3 Ñ fpxq “ pfpP1q, fpP2q, ..., fpPnqq P1 fpP1q P2 fpP2q P3 fpP3q P4 fpP4q P5 fpP5q Pn fpPnq

Alexander Barg, University of Maryland Facets of the repair problem 38 / 45

slide-137
SLIDE 137

Use of RS codes for node repair

pa0, a1, a2, a3q Ñ fpxq “ a0 ` a1x ` a2x2 ` a3x3 Ñ fpxq “ pfpP1q, fpP2q, ..., fpPnqq P1 fpP1q P2 fpP2q P3 fpP3q P4 fpP4q P5 fpP5q Pn fpPnq

Alexander Barg, University of Maryland Facets of the repair problem 38 / 45

slide-138
SLIDE 138

Use of RS codes for node repair

pa0, a1, a2, a3q Ñ fpxq “ a0 ` a1x ` a2x2 ` a3x3 Ñ fpxq “ pfpP1q, fpP2q, ..., fpPnqq P1 fpP1q P2 fpP2q P3 fpP3q P4 fpP4q P5 fpP5q Pn fpPnq fpP2q fpP3q fpP4q fpP5q

slide-139
SLIDE 139

Use of RS codes for node repair

pa0, a1, a2, a3q Ñ fpxq “ a0 ` a1x ` a2x2 ` a3x3 Ñ fpxq “ pfpP1q, fpP2q, ..., fpPnqq P1 fpP1q P2 fpP2q P3 fpP3q P4 fpP4q P5 fpP5q Pn fpPnq fpP2q fpP3q fpP4q fpP5q

slide-140
SLIDE 140

Use of RS codes for node repair

pa0, a1, a2, a3q Ñ fpxq “ a0 ` a1x ` a2x2 ` a3x3 Ñ fpxq “ pfpP1q, fpP2q, ..., fpPnqq We can repair a failed node by downloading the contents of k “ 4 nodes P1 fpP1q P2 fpP2q P3 fpP3q P4 fpP4q P5 fpP5q Pn fpPnq fpP2q fpP3q fpP4q fpP5q

Alexander Barg, University of Maryland Facets of the repair problem 38 / 45

slide-141
SLIDE 141

Repair bandwidth of Reed-Solomon codes

Idea: [SHANMUGAM-PAPAILIOPOULOS-DIMAKIS, ’14] Consider the RS code C over F as a code over a subfield B (“vectorize” C)

Alexander Barg, University of Maryland Facets of the repair problem 39 / 45

slide-142
SLIDE 142

Repair bandwidth of Reed-Solomon codes

Idea: [SHANMUGAM-PAPAILIOPOULOS-DIMAKIS, ’14] Consider the RS code C over F as a code over a subfield B (“vectorize” C) Example:

Alexander Barg, University of Maryland Facets of the repair problem 39 / 45

slide-143
SLIDE 143

Repair bandwidth of Reed-Solomon codes

Idea: [SHANMUGAM-PAPAILIOPOULOS-DIMAKIS, ’14] Consider the RS code C over F as a code over a subfield B (“vectorize” C) Example:

  • Consider an RS code over F “ F16 as an array code over B “ F2, i.e., l “ 4

Alexander Barg, University of Maryland Facets of the repair problem 39 / 45

slide-144
SLIDE 144

Repair bandwidth of Reed-Solomon codes

Idea: [SHANMUGAM-PAPAILIOPOULOS-DIMAKIS, ’14] Consider the RS code C over F as a code over a subfield B (“vectorize” C) Example:

  • Consider an RS code over F “ F16 as an array code over B “ F2, i.e., l “ 4
  • F can be represented as a 4-dimensional vector space over B “ t0, 1u

Alexander Barg, University of Maryland Facets of the repair problem 39 / 45

slide-145
SLIDE 145

Repair bandwidth of Reed-Solomon codes

Idea: [SHANMUGAM-PAPAILIOPOULOS-DIMAKIS, ’14] Consider the RS code C over F as a code over a subfield B (“vectorize” C) Example:

  • Consider an RS code over F “ F16 as an array code over B “ F2, i.e., l “ 4
  • F can be represented as a 4-dimensional vector space over B “ t0, 1u
  • To “compress” the values of the helper nodes we project them on a subfield of F

Alexander Barg, University of Maryland Facets of the repair problem 39 / 45

slide-146
SLIDE 146

Repair bandwidth of Reed-Solomon codes

Idea: [SHANMUGAM-PAPAILIOPOULOS-DIMAKIS, ’14] Consider the RS code C over F as a code over a subfield B (“vectorize” C) Example:

  • Consider an RS code over F “ F16 as an array code over B “ F2, i.e., l “ 4
  • F can be represented as a 4-dimensional vector space over B “ t0, 1u
  • To “compress” the values of the helper nodes we project them on a subfield of F
  • Let α P F be such that α4 “ α ` 1, then p1, α, α2, α3q form a basis of F over B

Alexander Barg, University of Maryland Facets of the repair problem 39 / 45

slide-147
SLIDE 147

Repair bandwidth of Reed-Solomon codes

Idea: [SHANMUGAM-PAPAILIOPOULOS-DIMAKIS, ’14] Consider the RS code C over F as a code over a subfield B (“vectorize” C) Example:

  • Consider an RS code over F “ F16 as an array code over B “ F2, i.e., l “ 4
  • F can be represented as a 4-dimensional vector space over B “ t0, 1u
  • To “compress” the values of the helper nodes we project them on a subfield of F
  • Let α P F be such that α4 “ α ` 1, then p1, α, α2, α3q form a basis of F over B
  • Trace trpxq “ x ` x2 ` x22 ` x23 is a map from F to B:

trp0q “ 0, trp1q “ 0, trpαq “ 1, etc.

Alexander Barg, University of Maryland Facets of the repair problem 39 / 45

slide-148
SLIDE 148

Repair bandwidth of Reed-Solomon codes

Idea: [SHANMUGAM-PAPAILIOPOULOS-DIMAKIS, ’14] Consider the RS code C over F as a code over a subfield B (“vectorize” C) Example:

  • Consider an RS code over F “ F16 as an array code over B “ F2, i.e., l “ 4
  • F can be represented as a 4-dimensional vector space over B “ t0, 1u
  • To “compress” the values of the helper nodes we project them on a subfield of F
  • Let α P F be such that α4 “ α ` 1, then p1, α, α2, α3q form a basis of F over B
  • Trace trpxq “ x ` x2 ` x22 ` x23 is a map from F to B:

trp0q “ 0, trp1q “ 0, trpαq “ 1, etc.

  • For any c P F the values trpcq, trpαcq, trpα2cq, trpα3cq suffice to recover c

Alexander Barg, University of Maryland Facets of the repair problem 39 / 45

slide-149
SLIDE 149

General repair scheme

The repair scheme of GURUSWAMI-WOOTTERS ’16:

Alexander Barg, University of Maryland Facets of the repair problem 40 / 45

slide-150
SLIDE 150

General repair scheme

The repair scheme of GURUSWAMI-WOOTTERS ’16:

  • Let B Ă F be finite fields, rF : Bs “ l; Ω Ă F; |Ω| “ tP1, . . . , Pnu

Let C “ RSFpn, k, Ωq be the RS code; r “ n ´ k

Alexander Barg, University of Maryland Facets of the repair problem 40 / 45

slide-151
SLIDE 151

General repair scheme

The repair scheme of GURUSWAMI-WOOTTERS ’16:

  • Let B Ă F be finite fields, rF : Bs “ l; Ω Ă F; |Ω| “ tP1, . . . , Pnu

Let C “ RSFpn, k, Ωq be the RS code; r “ n ´ k

  • Let ci be erased.

Alexander Barg, University of Maryland Facets of the repair problem 40 / 45

slide-152
SLIDE 152

General repair scheme

The repair scheme of GURUSWAMI-WOOTTERS ’16:

  • Let B Ă F be finite fields, rF : Bs “ l; Ω Ă F; |Ω| “ tP1, . . . , Pnu

Let C “ RSFpn, k, Ωq be the RS code; r “ n ´ k

  • Let ci be erased.
  • Let b1, b2, . . . , bl P CK be such that b1,i, . . . , bl,i form a basis of F over B. The values

trpbjiciq suffice to recover ci

Alexander Barg, University of Maryland Facets of the repair problem 40 / 45

slide-153
SLIDE 153

General repair scheme

The repair scheme of GURUSWAMI-WOOTTERS ’16:

  • Let B Ă F be finite fields, rF : Bs “ l; Ω Ă F; |Ω| “ tP1, . . . , Pnu

Let C “ RSFpn, k, Ωq be the RS code; r “ n ´ k

  • Let ci be erased.
  • Let b1, b2, . . . , bl P CK be such that b1,i, . . . , bl,i form a basis of F over B. The values

trpbjiciq suffice to recover ci

  • We have cibj,i `

n

ÿ

m‰i

cmbj,m “ 0, j “ 1, . . . , l

Alexander Barg, University of Maryland Facets of the repair problem 40 / 45

slide-154
SLIDE 154

General repair scheme

The repair scheme of GURUSWAMI-WOOTTERS ’16:

  • Let B Ă F be finite fields, rF : Bs “ l; Ω Ă F; |Ω| “ tP1, . . . , Pnu

Let C “ RSFpn, k, Ωq be the RS code; r “ n ´ k

  • Let ci be erased.
  • Let b1, b2, . . . , bl P CK be such that b1,i, . . . , bl,i form a basis of F over B. The values

trpbjiciq suffice to recover ci

  • We have cibj,i `

n

ÿ

m‰i

cmbj,m “ 0, j “ 1, . . . , l

  • We have trpbjiciq “ ´ ř

t‰i trpbjtctq, j “ 1, . . . , l

Alexander Barg, University of Maryland Facets of the repair problem 40 / 45

slide-155
SLIDE 155

General repair scheme

The repair scheme of GURUSWAMI-WOOTTERS ’16:

  • Let B Ă F be finite fields, rF : Bs “ l; Ω Ă F; |Ω| “ tP1, . . . , Pnu

Let C “ RSFpn, k, Ωq be the RS code; r “ n ´ k

  • Let ci be erased.
  • Let b1, b2, . . . , bl P CK be such that b1,i, . . . , bl,i form a basis of F over B. The values

trpbjiciq suffice to recover ci

  • We have cibj,i `

n

ÿ

m‰i

cmbj,m “ 0, j “ 1, . . . , l

  • We have trpbjiciq “ ´ ř

t‰i trpbjtctq, j “ 1, . . . , l

  • We need ttrpbjtctq, j “ 1, . . . , l; t ‰ iu

Alexander Barg, University of Maryland Facets of the repair problem 40 / 45

slide-156
SLIDE 156

General repair scheme

The repair scheme of GURUSWAMI-WOOTTERS ’16:

  • Let B Ă F be finite fields, rF : Bs “ l; Ω Ă F; |Ω| “ tP1, . . . , Pnu

Let C “ RSFpn, k, Ωq be the RS code; r “ n ´ k

  • Let ci be erased.
  • Let b1, b2, . . . , bl P CK be such that b1,i, . . . , bl,i form a basis of F over B. The values

trpbjiciq suffice to recover ci

  • We have cibj,i `

n

ÿ

m‰i

cmbj,m “ 0, j “ 1, . . . , l

  • We have trpbjiciq “ ´ ř

t‰i trpbjtctq, j “ 1, . . . , l

  • We need ttrpbjtctq, j “ 1, . . . , l; t ‰ iu
  • Let Bt be a maximum-size linearly independent subset of tbjt, j “ 1 . . . lu

We can find ci from Ť

t‰ittrpβctq, β P Btu

Alexander Barg, University of Maryland Facets of the repair problem 40 / 45

slide-157
SLIDE 157

General repair scheme

The repair scheme of GURUSWAMI-WOOTTERS ’16:

  • Let B Ă F be finite fields, rF : Bs “ l; Ω Ă F; |Ω| “ tP1, . . . , Pnu

Let C “ RSFpn, k, Ωq be the RS code; r “ n ´ k

  • Let ci be erased.
  • Let b1, b2, . . . , bl P CK be such that b1,i, . . . , bl,i form a basis of F over B. The values

trpbjiciq suffice to recover ci

  • We have cibj,i `

n

ÿ

m‰i

cmbj,m “ 0, j “ 1, . . . , l

  • We have trpbjiciq “ ´ ř

t‰i trpbjtctq, j “ 1, . . . , l

  • We need ttrpbjtctq, j “ 1, . . . , l; t ‰ iu
  • Let Bt be a maximum-size linearly independent subset of tbjt, j “ 1 . . . lu

We can find ci from Ť

t‰ittrpβctq, β P Btu

This is essentially the only possible linear repair scheme

Alexander Barg, University of Maryland Facets of the repair problem 40 / 45

slide-158
SLIDE 158

RS codes for repair of a single node from d helper nodes

Alexander Barg, University of Maryland Facets of the repair problem 41 / 45

slide-159
SLIDE 159

RS codes for repair of a single node from d helper nodes

  • Let Ω “ tα1, . . . , αnu, where αi, i “ 1, . . . , n are algebraic elements over Fq;

Alexander Barg, University of Maryland Facets of the repair problem 41 / 45

slide-160
SLIDE 160

RS codes for repair of a single node from d helper nodes

  • Let Ω “ tα1, . . . , αnu, where αi, i “ 1, . . . , n are algebraic elements over Fq;
  • Fi :“ Fqptαj, j ‰ iuq

Alexander Barg, University of Maryland Facets of the repair problem 41 / 45

slide-161
SLIDE 161

RS codes for repair of a single node from d helper nodes

  • Let Ω “ tα1, . . . , αnu, where αi, i “ 1, . . . , n are algebraic elements over Fq;
  • Fi :“ Fqptαj, j ‰ iuq
  • F :“ Fqpα1, . . . , αnq

Alexander Barg, University of Maryland Facets of the repair problem 41 / 45

slide-162
SLIDE 162

RS codes for repair of a single node from d helper nodes

  • Let Ω “ tα1, . . . , αnu, where αi, i “ 1, . . . , n are algebraic elements over Fq;
  • Fi :“ Fqptαj, j ‰ iuq
  • F :“ Fqpα1, . . . , αnq
  • K :“ Fpβq, where degFpβq “ s :“ d ` k ´ 1

Alexander Barg, University of Maryland Facets of the repair problem 41 / 45

slide-163
SLIDE 163

RS codes for repair of a single node from d helper nodes

  • Let Ω “ tα1, . . . , αnu, where αi, i “ 1, . . . , n are algebraic elements over Fq;
  • Fi :“ Fqptαj, j ‰ iuq
  • F :“ Fqpα1, . . . , αnq
  • K :“ Fpβq, where degFpβq “ s :“ d ` k ´ 1
  • RSKpn, k, tα1, . . . , αnuq

Alexander Barg, University of Maryland Facets of the repair problem 41 / 45

slide-164
SLIDE 164

RS codes for repair of a single node from d helper nodes

  • Let Ω “ tα1, . . . , αnu, where αi, i “ 1, . . . , n are algebraic elements over Fq;
  • Fi :“ Fqptαj, j ‰ iuq
  • F :“ Fqpα1, . . . , αnq
  • K :“ Fpβq, where degFpβq “ s :“ d ` k ´ 1
  • RSKpn, k, tα1, . . . , αnuq
  • Suppose that αi R Fqptαj, j ‰ iuq and degFipαiq ” 1 mod s

Fq F1 F2 . . . Fn

˜ α1 ˜ α2 ˜ αn

F

pα1, p1q pα2, p2q pαn, pnq

K

pβ, sq

Alexander Barg, University of Maryland Facets of the repair problem 41 / 45

slide-165
SLIDE 165

Fq F1 F2 . . . Fn

˜ α1 ˜ α2 ˜ αn

F

pα1, p1q pα2, p2q pαn, pnq

K

pβ, sq

slide-166
SLIDE 166

Fq F1 F2 . . . Fn

˜ α1 ˜ α2 ˜ αn

F

pα1, p1q pα2, p2q pαn, pnq

K

pβ, sq

Consider the RS code C :“ RSKpn, k, tα1, . . . , αnuq

Alexander Barg, University of Maryland Facets of the repair problem 42 / 45

slide-167
SLIDE 167

Fq F1 F2 . . . Fn

˜ α1 ˜ α2 ˜ αn

F

pα1, p1q pα2, p2q pαn, pnq

K

pβ, sq

Consider the RS code C :“ RSKpn, k, tα1, . . . , αnuq Repair of the node i is performed over Fi

Alexander Barg, University of Maryland Facets of the repair problem 42 / 45

slide-168
SLIDE 168

n, q, l

  • Given n, we have

l :“ rK : Fqs “ s

n

ź

i“1 pi”1 mod s

pi

Alexander Barg, University of Maryland Facets of the repair problem 43 / 45

slide-169
SLIDE 169

n, q, l

  • Given n, we have

l :“ rK : Fqs “ s

n

ź

i“1 pi”1 mod s

pi

  • Thus, C “ RSKpn, k, Ωq where

q “ pl, l « exppp1 ` op1qqn log nq

Alexander Barg, University of Maryland Facets of the repair problem 43 / 45

slide-170
SLIDE 170

n, q, l

  • Given n, we have

l :“ rK : Fqs “ s

n

ź

i“1 pi”1 mod s

pi

  • Thus, C “ RSKpn, k, Ωq where

q “ pl, l « exppp1 ` op1qqn log nq

  • Is l too large?

Alexander Barg, University of Maryland Facets of the repair problem 43 / 45

slide-171
SLIDE 171

n, q, l

  • Given n, we have

l :“ rK : Fqs “ s

n

ź

i“1 pi”1 mod s

pi

  • Thus, C “ RSKpn, k, Ωq where

q “ pl, l « exppp1 ` op1qqn log nq

  • Is l too large?

In fact l “ exppp1 ` op1qqk log kq is necessary!

Alexander Barg, University of Maryland Facets of the repair problem 43 / 45

slide-172
SLIDE 172

n, q, l

Theorem

  • Let B “ Fq and F “ Fql for a prime power q.

Alexander Barg, University of Maryland Facets of the repair problem 44 / 45

slide-173
SLIDE 173

n, q, l

Theorem

  • Let B “ Fq and F “ Fql for a prime power q.
  • k ` 1 ď d ď n ´ 1

Alexander Barg, University of Maryland Facets of the repair problem 44 / 45

slide-174
SLIDE 174

n, q, l

Theorem

  • Let B “ Fq and F “ Fql for a prime power q.
  • k ` 1 ď d ď n ´ 1
  • C Ď Fn an pn, kq scalar linear MDS code with a linear repair scheme over F

Alexander Barg, University of Maryland Facets of the repair problem 44 / 45

slide-175
SLIDE 175

n, q, l

Theorem

  • Let B “ Fq and F “ Fql for a prime power q.
  • k ` 1 ď d ď n ´ 1
  • C Ď Fn an pn, kq scalar linear MDS code with a linear repair scheme over F
  • Suppose that C supports optimal repair of a single node from d helper nodes

Alexander Barg, University of Maryland Facets of the repair problem 44 / 45

slide-176
SLIDE 176

n, q, l

Theorem

  • Let B “ Fq and F “ Fql for a prime power q.
  • k ` 1 ď d ď n ´ 1
  • C Ď Fn an pn, kq scalar linear MDS code with a linear repair scheme over F
  • Suppose that C supports optimal repair of a single node from d helper nodes
  • Then

l ě

k´1

ź

i“1

pi where pi is the i-th smallest prime.

Alexander Barg, University of Maryland Facets of the repair problem 44 / 45

slide-177
SLIDE 177

n, q, l

Theorem

  • Let B “ Fq and F “ Fql for a prime power q.
  • k ` 1 ď d ď n ´ 1
  • C Ď Fn an pn, kq scalar linear MDS code with a linear repair scheme over F
  • Suppose that C supports optimal repair of a single node from d helper nodes
  • Then

l ě

k´1

ź

i“1

pi where pi is the i-th smallest prime. To summarize: Sub-packetization for MDS codes with optimal repair satisfies

Alexander Barg, University of Maryland Facets of the repair problem 44 / 45

slide-178
SLIDE 178

n, q, l

Theorem

  • Let B “ Fq and F “ Fql for a prime power q.
  • k ` 1 ď d ď n ´ 1
  • C Ď Fn an pn, kq scalar linear MDS code with a linear repair scheme over F
  • Suppose that C supports optimal repair of a single node from d helper nodes
  • Then

l ě

k´1

ź

i“1

pi where pi is the i-th smallest prime. To summarize: Sub-packetization for MDS codes with optimal repair satisfies

  • Scalar codes:

exppp1 ` op1qqk log kq ď l ď exppp1 ` op1qqn log nq

Alexander Barg, University of Maryland Facets of the repair problem 44 / 45

slide-179
SLIDE 179

n, q, l

Theorem

  • Let B “ Fq and F “ Fql for a prime power q.
  • k ` 1 ď d ď n ´ 1
  • C Ď Fn an pn, kq scalar linear MDS code with a linear repair scheme over F
  • Suppose that C supports optimal repair of a single node from d helper nodes
  • Then

l ě

k´1

ź

i“1

pi where pi is the i-th smallest prime. To summarize: Sub-packetization for MDS codes with optimal repair satisfies

  • Scalar codes:

exppp1 ` op1qqk log kq ď l ď exppp1 ` op1qqn log nq

  • Vector codes:

l “ rrn{rs

Alexander Barg, University of Maryland Facets of the repair problem 44 / 45

slide-180
SLIDE 180

Quo vadis: Current work and open questions

(Difficult) open problems:

  • Optimal-bandwidth cooperative repair of RS codes
  • Lower bounds on the node size l for cooperative repair

Alexander Barg, University of Maryland Facets of the repair problem 45 / 45

slide-181
SLIDE 181

Quo vadis: Current work and open questions

(Difficult) open problems:

  • Optimal-bandwidth cooperative repair of RS codes
  • Lower bounds on the node size l for cooperative repair

Research directions:

  • Repair problem on graphs (with connectivity constraints)
  • Random networks and node repair

Alexander Barg, University of Maryland Facets of the repair problem 45 / 45

slide-182
SLIDE 182

Quo vadis: Current work and open questions

(Difficult) open problems:

  • Optimal-bandwidth cooperative repair of RS codes
  • Lower bounds on the node size l for cooperative repair

Research directions:

  • Repair problem on graphs (with connectivity constraints)
  • Random networks and node repair

Thank you!

Alexander Barg, University of Maryland Facets of the repair problem 45 / 45