Ultra-Low Latency SSDs’ Impact on Overall Energy Efficiency€¦ · HDD ∼ 10 ms 100,000×...

25
Ultra-Low Latency SSDs’ Impact on Overall Energy Efficiency Bryan Harris and Nihat Altiparmak Computer Science & Eng. Department University of Louisville HotStorage ’20

Transcript of Ultra-Low Latency SSDs’ Impact on Overall Energy Efficiency€¦ · HDD ∼ 10 ms 100,000×...

Page 1: Ultra-Low Latency SSDs’ Impact on Overall Energy Efficiency€¦ · HDD ∼ 10 ms 100,000× Traditional SSD ∼ 100 μs 1000 ... Idle vs. active power consumption Observation 2

Ultra-Low Latency SSDs’ Impact onOverall Energy EfficiencyBryan Harris and Nihat Altiparmak

Computer Science & Eng. DepartmentUniversity of Louisville

HotStorage ’20

Page 2: Ultra-Low Latency SSDs’ Impact on Overall Energy Efficiency€¦ · HDD ∼ 10 ms 100,000× Traditional SSD ∼ 100 μs 1000 ... Idle vs. active power consumption Observation 2

What is Ultra-Low Latency (ULL) data access?

Device LatencyPerformance Gap

(relative to DRAM)

HDD ∼ 10 ms 100,000×

Traditional SSD ∼ 100 μs 1000×

Ultra-Low Latency SSD ∼ 10 μs 100×

DRAM ∼ 100 ns 1×

2

Page 3: Ultra-Low Latency SSDs’ Impact on Overall Energy Efficiency€¦ · HDD ∼ 10 ms 100,000× Traditional SSD ∼ 100 μs 1000 ... Idle vs. active power consumption Observation 2

What is Optane SSD?

3

Based on 3D Xpoint technologyby Intel and Micron, using phase

change memory (PCM)

Also available as byte addressable DIMM

Ideal for applications that require low latency access

Page 4: Ultra-Low Latency SSDs’ Impact on Overall Energy Efficiency€¦ · HDD ∼ 10 ms 100,000× Traditional SSD ∼ 100 μs 1000 ... Idle vs. active power consumption Observation 2

MotivationEnergy characterization

● Existing studies of Optane SSDs primarily focuses on performance● Energy studies look at only individual device or CPU usage

Impact on overall system software

● ULL disk IO puts increased pressure on system software● How does this affect power consumption?

4

Page 5: Ultra-Low Latency SSDs’ Impact on Overall Energy Efficiency€¦ · HDD ∼ 10 ms 100,000× Traditional SSD ∼ 100 μs 1000 ... Idle vs. active power consumption Observation 2

HotStorage ’20

Energy Characterization & Impact

5

Page 6: Ultra-Low Latency SSDs’ Impact on Overall Energy Efficiency€¦ · HDD ∼ 10 ms 100,000× Traditional SSD ∼ 100 μs 1000 ... Idle vs. active power consumption Observation 2

Test devices

6

Technology Interface Model Capacity

Magnetic SATA 3.1 WD Black 7200 rpm 4 TB

Flash SATA 3.1 Samsung 850 EVO 1 TB

Flash PCIe 3 Samsung 960 EVO 500 GB

3D XPoint PCIe 3 Intel Optane 900P 280 GB

Page 7: Ultra-Low Latency SSDs’ Impact on Overall Energy Efficiency€¦ · HDD ∼ 10 ms 100,000× Traditional SSD ∼ 100 μs 1000 ... Idle vs. active power consumption Observation 2

Experimental setup

7

HOBO plug meter logs power, current, joules, etc., every second.

fio (“Flexible IO tester”) generates storage IO workloads

Image from ONSET online cataloghttps://www.onsetcomp.com/products/data-loggers/ux120-018/

Page 8: Ultra-Low Latency SSDs’ Impact on Overall Energy Efficiency€¦ · HDD ∼ 10 ms 100,000× Traditional SSD ∼ 100 μs 1000 ... Idle vs. active power consumption Observation 2

Storage IO workloads

8

Larger data

requests

More simultaneous requests

Page 9: Ultra-Low Latency SSDs’ Impact on Overall Energy Efficiency€¦ · HDD ∼ 10 ms 100,000× Traditional SSD ∼ 100 μs 1000 ... Idle vs. active power consumption Observation 2

HotStorage ’20

Observations

9

Page 10: Ultra-Low Latency SSDs’ Impact on Overall Energy Efficiency€¦ · HDD ∼ 10 ms 100,000× Traditional SSD ∼ 100 μs 1000 ... Idle vs. active power consumption Observation 2

Observation 1

At idle, Optane uses more power than Flash SSDs

Idle vs. active power consumption

10

Page 11: Ultra-Low Latency SSDs’ Impact on Overall Energy Efficiency€¦ · HDD ∼ 10 ms 100,000× Traditional SSD ∼ 100 μs 1000 ... Idle vs. active power consumption Observation 2

Idle vs. active power consumption

Observation 2

Active power increases with lower latency devices

11

Page 12: Ultra-Low Latency SSDs’ Impact on Overall Energy Efficiency€¦ · HDD ∼ 10 ms 100,000× Traditional SSD ∼ 100 μs 1000 ... Idle vs. active power consumption Observation 2

Read vs. write power consumption

12

HDD (SATA) Flash (SATA) Flash (NVMe) Optane (NVMe)

Observation 3

Newer storage generations have greater differences in power consumption between reads and writes

Page 13: Ultra-Low Latency SSDs’ Impact on Overall Energy Efficiency€¦ · HDD ∼ 10 ms 100,000× Traditional SSD ∼ 100 μs 1000 ... Idle vs. active power consumption Observation 2

Energy proportionality

System power Power normalized to peak power observed

Storage performance utilizationIOPS normalized to peak IOPS for each device

13

Consuming energy in proportion to the amount of work performed

Page 14: Ultra-Low Latency SSDs’ Impact on Overall Energy Efficiency€¦ · HDD ∼ 10 ms 100,000× Traditional SSD ∼ 100 μs 1000 ... Idle vs. active power consumption Observation 2

Energy proportionality

14

Reads Writes

Observation 4

Newer advancements lead to better energy proportionality

Page 15: Ultra-Low Latency SSDs’ Impact on Overall Energy Efficiency€¦ · HDD ∼ 10 ms 100,000× Traditional SSD ∼ 100 μs 1000 ... Idle vs. active power consumption Observation 2

Observation 5

As latency decreases, pressure on the system software increases, resulting in more overall energy consumption.

Impact on system software

15

Reads Writes

Page 16: Ultra-Low Latency SSDs’ Impact on Overall Energy Efficiency€¦ · HDD ∼ 10 ms 100,000× Traditional SSD ∼ 100 μs 1000 ... Idle vs. active power consumption Observation 2

Impact on system software

16

Effect on CPU Effect on Power

Page 17: Ultra-Low Latency SSDs’ Impact on Overall Energy Efficiency€¦ · HDD ∼ 10 ms 100,000× Traditional SSD ∼ 100 μs 1000 ... Idle vs. active power consumption Observation 2

Overall energy efficiency metrics

17

Performance per unit energy

Bandwidth:Bytes/second

= Bytes per joulewatt (joule/second)

Throughput:IOPS

= IOs per joulewatt (joule/second)

Page 18: Ultra-Low Latency SSDs’ Impact on Overall Energy Efficiency€¦ · HDD ∼ 10 ms 100,000× Traditional SSD ∼ 100 μs 1000 ... Idle vs. active power consumption Observation 2

Observation 6

Energy efficiency as bytes per joule increases as request size increases.

Impact on overall energy efficiency

18

HDD (SATA) Flash (SATA) Flash (NVMe) Optane (NVMe)

Bytes transferred per joule

Page 19: Ultra-Low Latency SSDs’ Impact on Overall Energy Efficiency€¦ · HDD ∼ 10 ms 100,000× Traditional SSD ∼ 100 μs 1000 ... Idle vs. active power consumption Observation 2

Observation 7

Energy efficiency as IOs per joule is coupled to internal parallelism.

Impact on overall energy efficiency

19

Flash NVMe Optane SSD

IOs per joule

Page 20: Ultra-Low Latency SSDs’ Impact on Overall Energy Efficiency€¦ · HDD ∼ 10 ms 100,000× Traditional SSD ∼ 100 μs 1000 ... Idle vs. active power consumption Observation 2

Conclusion

Optane SSD has the greatest energy proportionality since its power consumption scales better than previous storage generations based on its range of throughput. Although Optane’s peak power consumption is higher, it yields better energy efficiency as measured in bytes per joule and IOs per joule.

20

Page 21: Ultra-Low Latency SSDs’ Impact on Overall Energy Efficiency€¦ · HDD ∼ 10 ms 100,000× Traditional SSD ∼ 100 μs 1000 ... Idle vs. active power consumption Observation 2

Discussion and future research

Rethink system software for energy efficiency:

● Polling vs. interrupts?● New IO interfaces: io_uring, SPDK, etc.?● Simpler mechanisms for blk-mq and NVMe?● IO scheduling?● Merging, prefetching, buffering, log structuring?

21

Page 22: Ultra-Low Latency SSDs’ Impact on Overall Energy Efficiency€¦ · HDD ∼ 10 ms 100,000× Traditional SSD ∼ 100 μs 1000 ... Idle vs. active power consumption Observation 2

Discussion and future research

Investigate R/W asymmetry:

● Why do writes use more CPU but fewer interrupts?● Do existing design choices get in the way of 3D XPoint?● Strategies for hybrid drives for energy efficiency

22

Page 23: Ultra-Low Latency SSDs’ Impact on Overall Energy Efficiency€¦ · HDD ∼ 10 ms 100,000× Traditional SSD ∼ 100 μs 1000 ... Idle vs. active power consumption Observation 2

Discussion and future research

Energy as a whole:

● Do performance optimizations lose sight of energy efficiency?● Compared to CPU and memory, is the impact of the storage subsystem

underestimated?

23

Page 24: Ultra-Low Latency SSDs’ Impact on Overall Energy Efficiency€¦ · HDD ∼ 10 ms 100,000× Traditional SSD ∼ 100 μs 1000 ... Idle vs. active power consumption Observation 2

HotStorage ’20

Thank you!

24

Questions? Please contact us:

Bryan Harris [email protected]

Nihat Altiparmak [email protected]

Page 25: Ultra-Low Latency SSDs’ Impact on Overall Energy Efficiency€¦ · HDD ∼ 10 ms 100,000× Traditional SSD ∼ 100 μs 1000 ... Idle vs. active power consumption Observation 2

References

[1] Luiz André Barroso and Urs Hölzle. The case for energy-proportional computing. Computer, 40(12):33–37, 2007. https://doi.org/10.1109/MC.2007.443.

[2] Kan Wu, Andrea Arpaci-Dusseau, and Remzi Arpaci-Dusseau. Towards an unwritten contract of Intel Optane SSD. In 11th USENIX Workshop on Hot Topics in Storage and File Systems (HotStorage ’19), Renton, WA, July 2019. USENIX Association. https://www.usenix.org/conference/hotstorage19/presentation/wu-kan

[3] Sehgal, Priya, Vasily Tarasov, and Erez Zadok. "Evaluating Performance and Energy in File System Server Workloads." FAST 2010.

25