Transcript
Page 1: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Better I/O ThroughByte-Addressable, Persistent Memory

Jeremy Condit, Ed Nightingale, Chris Frost,

Engin Ipek, Ben Lee, Doug Burger, Derrick Coetzee

Page 2: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

A New World of Storage

+ Fast+ Byte-addressable- Volatile

+ Non-volatile- Slow- Block-addressable

Disk / Flash

DRAM

2

Page 3: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

A New World of Storage

BPRAM

Byte-addressable, Persistent RAM

3

+ Fast+ Byte-addressable+ Non-volatile

Page 4: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

A New World of Storage

BPRAM

How do we build fast, reliable systems with BPRAM?

Byte-addressable, Persistent RAM

4

+ Fast+ Byte-addressable+ Non-volatile

Page 5: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Phase Change Memory

• Most promising formof BPRAM

• “Melting memory chips in mass production”– Nature, 9/25/09

5

Page 6: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Phase Change Memory

phase change material(chalcogenide)

electrode

slow cooling -> crystalline state (1)

fast cooling -> amorphous state (0)

PropertiesReads: 2-4x DRAMWrites: 5-10x DRAMEndurance: 108+

6

Page 7: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

A New World of Storage

+ Non-volatile- Slow- Block-addressable

BPRAM

Disk / FlashHow do we build fast, reliable systems with BPRAM?

Byte-addressable, Persistent RAM

This talk: BPFS, a file system for BPRAMResult: Improved performance and reliability

7

+ Fast+ Byte-addressable+ Non-volatile

Page 8: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Goal

New mechanism:short-circuit shadow paging

8

New guarantees for applications

• File system operations will commit atomically and in program order

• Your data is durable as soon as the cache is flushed

Page 9: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Design Principles

1. Eliminate the DRAM buffer cache;use the L1/L2 cache instead

3. Provide atomicity andordering in hardware

Write A Write B

2. Put BPRAM on the memory bus

9

Page 10: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Outline

• Intro

• File System

• Hardware Support

• Evaluation

• Conclusion

10

Page 11: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

BPRAM in the PC

L1

L2

DRAM

HD / Flash

PCI/IDE bus

Memory bus

11

Page 12: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

BPRAM in the PC

L1

L2

DRAM

HD / Flash

PCI/IDE bus

Memory bus

BPRAM

• BPRAM and DRAM are addressable by the CPU

• Physical address space is partitioned

• BPRAM data may be cached in L1/L2

12

Page 13: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

BPRAM in the PC

L1

L2

DRAM

Memory bus

BPRAM

• BPRAM and DRAM are addressable by the CPU

• Physical address space is partitioned

• BPRAM data may be cached in L1/L2

13

Page 14: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

BPFS: A BPRAM File System

• Guarantees that all file operations execute atomically and in program order

• Despite guarantees, significant performance improvements over NTFS on the same media

• Short-circuit shadow paging often allowsatomic, in-place updates

14

Page 15: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

file directory

inodefile

root pointer

indirect blocks

inodes

BPFS: A BPRAM File System

file

15

Page 16: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

file directory

inodefile

root pointer

indirect blocks

inodes

BPFS: A BPRAM File System

file

16

Page 17: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Enforcing FS Consistency Guarantees

• What happens if we crash during an update?

17

Page 18: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Enforcing FS Consistency Guarantees

• What happens if we crash during an update?

18

Page 19: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Enforcing FS Consistency Guarantees

• What happens if we crash during an update?

19

Page 20: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Enforcing FS Consistency Guarantees

• What happens if we crash during an update?

– Disk: Use journaling or shadow paging

– BPRAM: Use short-circuit shadow paging

20

Page 21: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Review 1: Journaling

• Write to journal, then write to file system

A B

file system

journal

21

Page 22: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Review 1: Journaling

• Write to journal, then write to file system

A B

file system

journal A’ B’

22

Page 23: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Review 1: Journaling

• Write to journal, then write to file system

A B

file system

journal A’ B’

B’A’

23

Page 24: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Review 1: Journaling

• Write to journal, then write to file system

A B

file system

journal A’ B’

B’A’

• Reliable, but all data is written twice

24

Page 25: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Review 2: Shadow Paging

• Use copy-on-write up to root of file system

BA

file’s root pointer

25

Page 26: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Review 2: Shadow Paging

• Use copy-on-write up to root of file system

BA A’ B’

file’s root pointer

26

Page 27: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Review 2: Shadow Paging

• Use copy-on-write up to root of file system

BA A’ B’

file’s root pointer

27

Page 28: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Review 2: Shadow Paging

• Use copy-on-write up to root of file system

BA A’ B’

file’s root pointer

28

Page 29: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Review 2: Shadow Paging

• Use copy-on-write up to root of file system

BA A’ B’

file’s root pointer

29

Page 30: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Review 2: Shadow Paging

• Use copy-on-write up to root of file system

BA A’ B’

file’s root pointer

• Any change requires bubbling to the FS root

• Small writes require large copying overhead30

Page 31: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Short-Circuit Shadow Paging

• Uses byte-addressability and atomic 64b writes

BA

file’s root pointer

31

• Inspired by shadow paging– Optimization: In-place update when possible

Page 32: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Short-Circuit Shadow Paging

• Uses byte-addressability and atomic 64b writes

BA A’ B’

file’s root pointer

32

• Inspired by shadow paging– Optimization: In-place update when possible

Page 33: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Short-Circuit Shadow Paging

• Uses byte-addressability and atomic 64b writes

BA A’ B’

file’s root pointer

33

• Inspired by shadow paging– Optimization: In-place update when possible

Page 34: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Short-Circuit Shadow Paging

• Uses byte-addressability and atomic 64b writes

BA A’ B’

file’s root pointer

34

• Inspired by shadow paging– Optimization: In-place update when possible

Page 35: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Opt. 1: In-Place Writes

• Aligned 64-bit writes are performed in place

– Data and metadata

file’s root pointer

35

Page 36: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Opt. 1: In-Place Writes

• Aligned 64-bit writes are performed in place

– Data and metadata

file’s root pointer

in-place write

36

Page 37: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Opt. 1: In-Place Writes

• Aligned 64-bit writes are performed in place

– Data and metadata

file’s root pointer

37

Page 38: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Opt. 1: In-Place Writes

• Aligned 64-bit writes are performed in place

– Data and metadata

file’s root pointer

38

Page 39: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Opt. 1: In-Place Writes

• Aligned 64-bit writes are performed in place

– Data and metadata

file’s root pointer

39

Page 40: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

• Appends committed by updating file size

file’s root pointer + size

40

Opt. 2: Exploit Data-Metadata Invariants

Page 41: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

• Appends committed by updating file size

file’s root pointer + size

in-place append

41

Opt. 2: Exploit Data-Metadata Invariants

Page 42: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

• Appends committed by updating file size

file’s root pointer + size

in-place append

file size update

42

Opt. 2: Exploit Data-Metadata Invariants

Page 43: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

BPFS Example

directory filedirectory

inodefile

root pointer

indirect blocks

inodes

43

Page 44: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

BPFS Example

directory filedirectory

inodefile

root pointer

indirect blocks

inodes

add entry

remove entry

44

• Cross-directory rename bubbles to common ancestor

Page 45: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

BPFS Example

directory filedirectory

inodefile

root pointer

indirect blocks

inodes

45

Page 46: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Outline

• Intro

• File System

• Hardware Support

• Evaluation

• Conclusion

46

Page 47: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

BPRAM

L1 / L2

...

CoW

Commit

...

Problem 1: Ordering

47

Page 48: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

BPRAM

L1 / L2

...

CoW

Commit

...

Problem 1: Ordering

48

Page 49: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

BPRAM

L1 / L2

...

CoW

Commit

...

Problem 1: Ordering

49

Page 50: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

BPRAM

L1 / L2

...

CoW

Commit

...

Problem 1: Ordering

50

Page 51: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

BPRAM

L1 / L2

...

CoW

Commit

...

Problem 1: Ordering

51

Page 52: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

...

CoW

Commit

...

Problem 2: Atomicity

L1 / L2

BPRAM

52

Page 53: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

...

CoW

Commit

...

Problem 2: Atomicity

L1 / L2

BPRAM

53

Page 54: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

...

CoW

Commit

...

Problem 2: Atomicity

L1 / L2

BPRAM

54

Page 55: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

...

CoW

Commit

...

Problem 2: Atomicity

L1 / L2

BPRAM

55

Page 56: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Enforcing Ordering and Atomicity

• Ordering

– Solution: Epoch barriers to declare constraints

– Faster than write-through

– Important hardware primitive (cf. SCSI TCQ)

• Atomicity

– Solution: Capacitor on DIMM

– Simple and cheap!

56

Page 57: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

...

CoW

Barrier

Commit

...

Ordering and Atomicity

L1 / L2

BPRAM

57

Page 58: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

...

CoW

Barrier

Commit

...

Ordering and Atomicity

L1 / L2

BPRAM

1

1 1

58

Page 59: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

...

CoW

Barrier

Commit

...

Ordering and Atomicity

L1 / L2

BPRAM

1

1 1

59

Page 60: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

...

CoW

Barrier

Commit

...

Ordering and Atomicity

L1 / L2

BPRAM

1

1 1

2

60

Page 61: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

...

CoW

Barrier

Commit

...

Ordering and Atomicity

L1 / L2

BPRAM

1

1 1

2

Ineligible for eviction!

61

Page 62: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

...

CoW

Barrier

Commit

...

Ordering and Atomicity

L1 / L2

BPRAM

2

Ineligible for eviction!

62

Page 63: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

...

CoW

Barrier

Commit

...

Ordering and Atomicity

L1 / L2

BPRAM

2

63

Page 64: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

...

CoW

Barrier

Commit

...

Ordering and Atomicity

L1 / L2

BPRAM

64

Page 65: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

...

CoW

Barrier

Commit

...

Ordering and Atomicity

L1 / L2

BPRAM

65

MP works too(see paper)

Page 66: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Outline

• Intro

• File System

• Hardware Support

• Evaluation

• Conclusion

66

Page 67: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Methodology

• Built and evaluated BPFS in Windows

• Three parts:

– Experimental: BPFS vs. NTFS on DRAM

– Simulation: Epoch barrier evaluation

– Analytical: BPFS on PCM

67

Page 68: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

0

2

4

6

8

10

8 64 512 4096

Random n Byte Write

Microbenchmarks

0

0.4

0.8

1.2

1.6

2

8 64 512 4096

Tim

e (s

)

Append n Bytes

NTFS - DiskNTFS - RAMBPFS - RAM

68

NOT DURABLE!

NOT DURABLE!

DURABLE!

DURABLE!

Page 69: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

BPFS Throughput On PCM

0

0.25

0.5

0.75

1

Exec

uti

on

Tim

e (v

s. N

TFS

/ D

isk)

NTFSDisk

NTFSRAM

BPFSRAM

69

BPFSPCM(Proj)

Page 70: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

BPFS Throughput On PCM

0

0.25

0.5

0.75

1

Exec

uti

on

Tim

e (v

s. N

TFS

/ D

isk)

0

0.25

0.5

0.75

1

0 200 400 600 800

Sustained Throughput of PCM (MB/s)

ProjectedThroughput

BPFS - PCM

NTFSDisk

NTFSRAM

BPFSRAM

70

BPFSPCM(Proj)

Page 71: Better I/O Through Byte-Addressable, Persistent Memory€¦ · Better I/O Through Byte-Addressable, Persistent Memory Jeremy Condit,Ed Nightingale, Chris Frost, Engin Ipek, Ben Lee,

Conclusions

• BPRAM changes the trade-offs for storage– Use consistency technique designed for medium

• Short-circuit shadow paging:– improves performance

– improves reliability

Bonus: PCM chips on display at poster session!

71


Recommended