13
Dilip N Simha, Maohua Lu, Tzi- cher chiueh An Update-Aware Storage System for Low-Locality Update-Intensive Workloads Park Chanhyun ASPLOS’12 March 3-7, 2012 London, England, UK.

Dilip N Simha, Maohua Lu, Tzi-cher chiueh Park Chanhyun ASPLOS’12 March 3-7, 2012 London, England, UK

Embed Size (px)

Citation preview

Page 1: Dilip N Simha, Maohua Lu, Tzi-cher chiueh Park Chanhyun ASPLOS’12 March 3-7, 2012 London, England, UK

Dilip N Simha, Maohua Lu, Tzi-cher chiueh

An Update-Aware Storage System for Low-Locality Up-date-Intensive Workloads

Park Chan-hyun

ASPLOS’12 March 3-7, 2012 London, England, UK.

Page 2: Dilip N Simha, Maohua Lu, Tzi-cher chiueh Park Chanhyun ASPLOS’12 March 3-7, 2012 London, England, UK

2

Motivation

Background

BOSC

Experimental Methodology

Results and analysis

Conclusion

Outline

Page 3: Dilip N Simha, Maohua Lu, Tzi-cher chiueh Park Chanhyun ASPLOS’12 March 3-7, 2012 London, England, UK

3

I/O access delay• Seek rotational, transfer

Low-locality, update-intensive disk access workload• Disk buffering, caching, scheduling

Simple read/write interfaces are not adequate• Read access has higher priority.

• Update requests from many applications

Motivation

Page 4: Dilip N Simha, Maohua Lu, Tzi-cher chiueh Park Chanhyun ASPLOS’12 March 3-7, 2012 London, England, UK

4

Conventional disk access interface• Read -> modify -> write

• Read(target_block_addr, dest_buf_addr)

• Write(target_block_addr, src_buf_addr)

Allow applications of a storage system• Disk access request as an update.

• Associate with an update request, a callback function

A new storage system architecture : BOSC• Batching mOdifications with Sequential Commit

• Between storage applications and hardware storage system

• Modify(target_block_addr, ptr_modification, ptr_commit_function)

New disk access interface

Page 5: Dilip N Simha, Maohua Lu, Tzi-cher chiueh Park Chanhyun ASPLOS’12 March 3-7, 2012 London, England, UK

5

Trail Disk Architecture

Background

Page 6: Dilip N Simha, Maohua Lu, Tzi-cher chiueh Park Chanhyun ASPLOS’12 March 3-7, 2012 London, England, UK

6

Background

Page 7: Dilip N Simha, Maohua Lu, Tzi-cher chiueh Park Chanhyun ASPLOS’12 March 3-7, 2012 London, England, UK

7

Batching Modifications with Se-quential Commit

Page 8: Dilip N Simha, Maohua Lu, Tzi-cher chiueh Park Chanhyun ASPLOS’12 March 3-7, 2012 London, England, UK

8

B tree B+ tree : file management

Port B+ tree index implementation using TPIE• Lock a leaf node before modifying it

• Releases the lock after log update request

BOSC-Based B+ Tree

Page 9: Dilip N Simha, Maohua Lu, Tzi-cher chiueh Park Chanhyun ASPLOS’12 March 3-7, 2012 London, England, UK

9

Intel 2.4GHz CPU

512KB L2 cache

4GB memory

400MH front-side bus

Two Gigabit Ethernet interface

Five 7200_RPM IBM Deskstar DTLA-307030 disks• 4:data disks

• 1:logging disk

Evaluation Methodology

Page 10: Dilip N Simha, Maohua Lu, Tzi-cher chiueh Park Chanhyun ASPLOS’12 March 3-7, 2012 London, England, UK

10

Performance Improvement

Page 11: Dilip N Simha, Maohua Lu, Tzi-cher chiueh Park Chanhyun ASPLOS’12 March 3-7, 2012 London, England, UK

11

Sensitivity study

Page 12: Dilip N Simha, Maohua Lu, Tzi-cher chiueh Park Chanhyun ASPLOS’12 March 3-7, 2012 London, England, UK

12

Read query latency

Page 13: Dilip N Simha, Maohua Lu, Tzi-cher chiueh Park Chanhyun ASPLOS’12 March 3-7, 2012 London, England, UK

13

Solve problems of conventional storage system• An update-aware disk access interface• Efficient batched processing strategy

Deliver good performance with same durability guarantee

Conclusion