the challenges and opportunities of micro-servers in the ...hpc and the low-power processor...

25
The Challenges and Opportunities of Micro-Servers in the HPC Ecosystem Nikolopoulos, D. (2014). The Challenges and Opportunities of Micro-Servers in the HPC Ecosystem. Clusters, Clouds, and Data for Scientific Computing, France. http://web.eecs.utk.edu/~dongarra/CCDSC-2014/index.htm Document Version: Peer reviewed version Queen's University Belfast - Research Portal: Link to publication record in Queen's University Belfast Research Portal General rights Copyright for the publications made accessible via the Queen's University Belfast Research Portal is retained by the author(s) and / or other copyright owners and it is a condition of accessing these publications that users recognise and abide by the legal requirements associated with these rights. Take down policy The Research Portal is Queen's institutional repository that provides access to Queen's research output. Every effort has been made to ensure that content in the Research Portal does not infringe any person's rights, or applicable UK laws. If you discover content in the Research Portal that you believe breaches copyright or violates any law, please contact [email protected]. Download date:19. Jun. 2020

Upload: others

Post on 11-Jun-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1:   The Challenges and Opportunities of Micro-Servers in the ...HPC and the low-power processor ecosystem Outline 1 HPC and the low-power processor ecosystem 2 The NanoStreams proposition

The Challenges and Opportunities of Micro-Servers in the HPCEcosystem

Nikolopoulos, D. (2014). The Challenges and Opportunities of Micro-Servers in the HPC Ecosystem. Clusters,Clouds, and Data for Scientific Computing, France. http://web.eecs.utk.edu/~dongarra/CCDSC-2014/index.htm

Document Version:Peer reviewed version

Queen's University Belfast - Research Portal:Link to publication record in Queen's University Belfast Research Portal

General rightsCopyright for the publications made accessible via the Queen's University Belfast Research Portal is retained by the author(s) and / or othercopyright owners and it is a condition of accessing these publications that users recognise and abide by the legal requirements associatedwith these rights.

Take down policyThe Research Portal is Queen's institutional repository that provides access to Queen's research output. Every effort has been made toensure that content in the Research Portal does not infringe any person's rights, or applicable UK laws. If you discover content in theResearch Portal that you believe breaches copyright or violates any law, please contact [email protected].

Download date:19. Jun. 2020

Page 2:   The Challenges and Opportunities of Micro-Servers in the ...HPC and the low-power processor ecosystem Outline 1 HPC and the low-power processor ecosystem 2 The NanoStreams proposition

The Challenges and Opportunities of Micro-Servers inthe HPC Ecosystem

Dimitrios S. Nikolopoulos

School of Electronics, Electrical Engineering and Computer ScienceQueen’s University of Belfast

September 4, 2014

D. Nikolopoulos (EEECS@QUB) Micro-Servers in HPC, CCDSC’14 September 4, 2014 1 / 24

Page 3:   The Challenges and Opportunities of Micro-Servers in the ...HPC and the low-power processor ecosystem Outline 1 HPC and the low-power processor ecosystem 2 The NanoStreams proposition

HPC and the low-power processor ecosystem

Outline

1 HPC and the low-power processor ecosystem

2 The NanoStreams proposition

3 Financial real-time analytics

4 In-memory column stores

5 Conclusions

D. Nikolopoulos (EEECS@QUB) Micro-Servers in HPC, CCDSC’14 September 4, 2014 2 / 24

Page 4:   The Challenges and Opportunities of Micro-Servers in the ...HPC and the low-power processor ecosystem Outline 1 HPC and the low-power processor ecosystem 2 The NanoStreams proposition

HPC and the low-power processor ecosystem

What we know

Technology alone can not bridge the gap1

1B. Subramaniam, W. Saunders, T. Scogland and W. Feng, Trends in Energy-Efficient Computing: A Perspective from the

Green500, International Green Computing Conference (IGCC), 2013, Arlington, Virginia, USA.

D. Nikolopoulos (EEECS@QUB) Micro-Servers in HPC, CCDSC’14 September 4, 2014 3 / 24

Page 5:   The Challenges and Opportunities of Micro-Servers in the ...HPC and the low-power processor ecosystem Outline 1 HPC and the low-power processor ecosystem 2 The NanoStreams proposition

HPC and the low-power processor ecosystem

HPC and ARM

Single-core ARM2

0.0 0.5 1.0 1.5 2.0 2.5Frequency

0.5

1.0

2.0

4.0

8.0

Spe

edup

vsTe

gra

2@

1GH

z

Tegra 2Tegra 3ArndaleIntel

(a) Performance

0.0 0.5 1.0 1.5 2.0 2.5Frequency

0.4

0.6

0.8

1.0

1.2

1.4

1.6

1.8

2.0

Peri

tera

tion

ener

gy

Tegra 2Tegra 3ArndaleIntel

(b) Energy

Figure 3: Single-core performance and energy e�ciency results of micro-benchmarks with frequency sweep.Baseline is the Tegra 2 platform running at 1GHz.

0.0 0.5 1.0 1.5 2.0 2.5Frequency

0.5

1.0

2.0

4.0

8.0

16.0

Spe

edup

vsTe

gra

2@

1GH

z

Tegra 2Tegra 3ArndaleIntel

(a) Performance

0.0 0.5 1.0 1.5 2.0 2.5Frequency

0.4

0.6

0.8

1.0

1.2

1.4

1.6

1.8

Peri

tera

tion

ener

gy

Tegra 2Tegra 3ArndaleIntel

(b) Energy

Figure 4: Multi-core performance and energy e�ciency results of micro-benchmarks with frequency sweep.Baseline is the Tegra 2 platform running on 1GHz.

3.2 Memory bandwidthFigure 5 shows the memory bandwidth for each platform,measured using the STREAM benchmark [28].

Our results show a significant improvement in memory band-width, of about 4.5 times, between the Tegra platforms(ARM Cortex-A9) and the Samsung Exynos 5250 (ARMCortex-A15). This appears to be mostly due to the betterCortex-A15 microarchitecture which also improves the num-ber of outstanding memory requests [42], and due to an ad-ditional channel in memory controller. Compared with thepeak memory bandwidth, the multicore results imply an e�-ciency of 62% (Tegra 2), 27% (Tegra 3), 52% (Exynos 5250),and 57% (Intel Core i7-2760QM).

4. PARALLEL SCALABILITYIn this section we investigate the performance, energy e�-ciency and scalability of an ARM multicore cluster on pro-duction applications. Our single-node performance evalua-tion in Section 3.1 shows that the Tegra 2 is almost eighttimes slower than the Intel Core i7, both at their maximumoperating frequencies, so the applications must be able toexploit a minimum of eight times as many parallel proces-sors in order to achieve competitive time-to-solution. For-tunately, as described in the previous section, newer ARMSoCs are narrowing the gap. In this section, we also evaluatein detail the interconnection networks available on Tegra 2and Exynos 5 platforms, in terms of latency and e↵ectivebandwidth.

2Source: Nikola Rajovic, Paul M. Carpenter, Isaac Gelado, Nikola Puzovic, Alex Ramirez, and Mateo Valero. 2013.

Supercomputing with commodity CPUs: are mobile SoCs ready for HPC?. In Proceedings of the International Conference onHigh Performance Computing, Networking, Storage and Analysis (SC ’13). ACM, New York, NY, USA, , Article 40.

D. Nikolopoulos (EEECS@QUB) Micro-Servers in HPC, CCDSC’14 September 4, 2014 4 / 24

Page 6:   The Challenges and Opportunities of Micro-Servers in the ...HPC and the low-power processor ecosystem Outline 1 HPC and the low-power processor ecosystem 2 The NanoStreams proposition

HPC and the low-power processor ecosystem

HPC and ARM

...and the performance shortfall

0.0 0.5 1.0 1.5 2.0 2.5Frequency

0.5

1.0

2.0

4.0

8.0

Spe

edup

vsTe

gra

2@

1GH

z

Tegra 2Tegra 3ArndaleIntel

(a) Performance

0.0 0.5 1.0 1.5 2.0 2.5Frequency

0.4

0.6

0.8

1.0

1.2

1.4

1.6

1.8

2.0

Peri

tera

tion

ener

gy

Tegra 2Tegra 3ArndaleIntel

(b) Energy

Figure 3: Single-core performance and energy e�ciency results of micro-benchmarks with frequency sweep.Baseline is the Tegra 2 platform running at 1GHz.

0.0 0.5 1.0 1.5 2.0 2.5Frequency

0.5

1.0

2.0

4.0

8.0

16.0

Spe

edup

vsTe

gra

2@

1GH

z

Tegra 2Tegra 3ArndaleIntel

(a) Performance

0.0 0.5 1.0 1.5 2.0 2.5Frequency

0.4

0.6

0.8

1.0

1.2

1.4

1.6

1.8

Peri

tera

tion

ener

gy

Tegra 2Tegra 3ArndaleIntel

(b) Energy

Figure 4: Multi-core performance and energy e�ciency results of micro-benchmarks with frequency sweep.Baseline is the Tegra 2 platform running on 1GHz.

3.2 Memory bandwidthFigure 5 shows the memory bandwidth for each platform,measured using the STREAM benchmark [28].

Our results show a significant improvement in memory band-width, of about 4.5 times, between the Tegra platforms(ARM Cortex-A9) and the Samsung Exynos 5250 (ARMCortex-A15). This appears to be mostly due to the betterCortex-A15 microarchitecture which also improves the num-ber of outstanding memory requests [42], and due to an ad-ditional channel in memory controller. Compared with thepeak memory bandwidth, the multicore results imply an e�-ciency of 62% (Tegra 2), 27% (Tegra 3), 52% (Exynos 5250),and 57% (Intel Core i7-2760QM).

4. PARALLEL SCALABILITYIn this section we investigate the performance, energy e�-ciency and scalability of an ARM multicore cluster on pro-duction applications. Our single-node performance evalua-tion in Section 3.1 shows that the Tegra 2 is almost eighttimes slower than the Intel Core i7, both at their maximumoperating frequencies, so the applications must be able toexploit a minimum of eight times as many parallel proces-sors in order to achieve competitive time-to-solution. For-tunately, as described in the previous section, newer ARMSoCs are narrowing the gap. In this section, we also evaluatein detail the interconnection networks available on Tegra 2and Exynos 5 platforms, in terms of latency and e↵ectivebandwidth.

3

3Source: Nikola Rajovic, Paul M. Carpenter, Isaac Gelado, Nikola Puzovic, Alex Ramirez, and Mateo Valero. 2013.

Supercomputing with commodity CPUs: are mobile SoCs ready for HPC?. In Proceedings of the International Conference onHigh Performance Computing, Networking, Storage and Analysis (SC ’13). ACM, New York, NY, USA, , Article 40 , 12 pages.

D. Nikolopoulos (EEECS@QUB) Micro-Servers in HPC, CCDSC’14 September 4, 2014 5 / 24

Page 7:   The Challenges and Opportunities of Micro-Servers in the ...HPC and the low-power processor ecosystem Outline 1 HPC and the low-power processor ecosystem 2 The NanoStreams proposition

HPC and the low-power processor ecosystem

Microserver concept

Lightweight and scale-outoriented

1U fits 24–48 cards

Targeting datacenters, inparticular web services

no FP, but latency-sensitive

Shared fan and power supply

Wide range of processor choiceswithin low power envelopes

Favoring commodity memory &interconnects (Ethernet vs. IB,LPDDR vs. DDR)

D. Nikolopoulos (EEECS@QUB) Micro-Servers in HPC, CCDSC’14 September 4, 2014 6 / 24

Page 8:   The Challenges and Opportunities of Micro-Servers in the ...HPC and the low-power processor ecosystem Outline 1 HPC and the low-power processor ecosystem 2 The NanoStreams proposition

The NanoStreams proposition

Outline

1 HPC and the low-power processor ecosystem

2 The NanoStreams proposition

3 Financial real-time analytics

4 In-memory column stores

5 Conclusions

D. Nikolopoulos (EEECS@QUB) Micro-Servers in HPC, CCDSC’14 September 4, 2014 7 / 24

Page 9:   The Challenges and Opportunities of Micro-Servers in the ...HPC and the low-power processor ecosystem Outline 1 HPC and the low-power processor ecosystem 2 The NanoStreams proposition

The NanoStreams proposition

Gap in the server landscape4

4http://www.nanostreams.euD. Nikolopoulos (EEECS@QUB) Micro-Servers in HPC, CCDSC’14 September 4, 2014 8 / 24

Page 10:   The Challenges and Opportunities of Micro-Servers in the ...HPC and the low-power processor ecosystem Outline 1 HPC and the low-power processor ecosystem 2 The NanoStreams proposition

The NanoStreams proposition

NanoStreams AoC block

AoC host on Calxeda boards (A9 cores, 10 GigE)

Odroid boards explored as alternative: (A15 cores, GigE)

AoC accelerator on Xilinx Zynq boards

D. Nikolopoulos (EEECS@QUB) Micro-Servers in HPC, CCDSC’14 September 4, 2014 9 / 24

Page 11:   The Challenges and Opportunities of Micro-Servers in the ...HPC and the low-power processor ecosystem Outline 1 HPC and the low-power processor ecosystem 2 The NanoStreams proposition

The NanoStreams proposition

NanoStreams software stack

Taming oversubscription and latency

Space and time isolation of parallel components

RDMA over raw Ethernet, user-level

Soft real-time scheduling guarantees

Locality exploitation both horizontally and vertically

D. Nikolopoulos (EEECS@QUB) Micro-Servers in HPC, CCDSC’14 September 4, 2014 10 / 24

Page 12:   The Challenges and Opportunities of Micro-Servers in the ...HPC and the low-power processor ecosystem Outline 1 HPC and the low-power processor ecosystem 2 The NanoStreams proposition

Financial real-time analytics

Outline

1 HPC and the low-power processor ecosystem

2 The NanoStreams proposition

3 Financial real-time analytics

4 In-memory column stores

5 Conclusions

D. Nikolopoulos (EEECS@QUB) Micro-Servers in HPC, CCDSC’14 September 4, 2014 11 / 24

Page 13:   The Challenges and Opportunities of Micro-Servers in the ...HPC and the low-power processor ecosystem Outline 1 HPC and the low-power processor ecosystem 2 The NanoStreams proposition

Financial real-time analytics

Option pricing

Datacenters co-located with trading venues

No flexibility in moving the datacenter “where electricity is cheap”

No flexibility in running the datacenter “when electricity is cheap”

Not particularly compute- or data-intensive, low-latency workloads

Monte Carlo simulations, Black Scholes, Binomial PricingInstance runs in ms or µsHeavily traded symbols trigger Koptions/session

Price = (−1)p(SN((−1)pd1) − Pe−rTN((−1)pd2)

)(1)

Price =e−rT

N

N∑i=1

max

(0,S − Pe(r−σ2

2)T+σ

√Txi

)(2)

u = eσ√T and d =

1

u(3)

D. Nikolopoulos (EEECS@QUB) Micro-Servers in HPC, CCDSC’14 September 4, 2014 12 / 24

Page 14:   The Challenges and Opportunities of Micro-Servers in the ...HPC and the low-power processor ecosystem Outline 1 HPC and the low-power processor ecosystem 2 The NanoStreams proposition

Financial real-time analytics

Energy-efficiency metrics and measurement approaches

Real-time, latency-sensitive workloads5

Joules/option: Provider-side,sustained throughout tradingday, reduction translates to lessTCO

Time/option: User-side,end-to-end latency.

QoS: Calculating option beforenew price arrives; unknowndeadline.

PSU VRM CPU

PRE-PSU PRE-VRM 5.5

6

6.5

7

7.5

8

0 20 40 60 80 100 120 140

Inst

anta

neous

CPU

Pow

er

(Watt

s)

Time (Seconds)

5Charles Gillan, Dimitrios S. Nikolopoulos, Giorgis Georgakoudis, Richard Faloon,George Tzenakis and Ivor Spence: On the Viability of Micro-Servers for FinancialAnalytics, TR:HPDC-RC:2014:08:29.

D. Nikolopoulos (EEECS@QUB) Micro-Servers in HPC, CCDSC’14 September 4, 2014 13 / 24

Page 15:   The Challenges and Opportunities of Micro-Servers in the ...HPC and the low-power processor ecosystem Outline 1 HPC and the low-power processor ecosystem 2 The NanoStreams proposition

Financial real-time analytics

Scale-out pays off?

Dell (Intel Sandybridge) vs. Boston Viridis (ARM Cortex) servers

Replayed, real, trading day market feed with 617 option pricing instances on Facebook stock

Table : Power profiles for standalone kernel kernels

Kernel and N PRE-VRM Time (s) J/optPlatform P̄(W)

MC Intel 0.5M 25.8 8.6 0.362.0M 26.0 34.0 1.37

MC Viridis(1) 0.5M 6.8 41.2 0.452.0M 7.4 163.7 1.96

MC Viridis(16) 0.5M 108.8 2.9 0.512.0M 118.4 10.1 1.94

BT Intel 4000 24.5 8.6 0.347000 24.9 32.8 1.86

BT Viridis(1) 4000 5.0 42.0 0.357000 5.2 132.0 1.07

BT Viridis(16) 4000 88.0 2.8 0.407000 97.6 8.0 1.27

D. Nikolopoulos (EEECS@QUB) Micro-Servers in HPC, CCDSC’14 September 4, 2014 14 / 24

Page 16:   The Challenges and Opportunities of Micro-Servers in the ...HPC and the low-power processor ecosystem Outline 1 HPC and the low-power processor ecosystem 2 The NanoStreams proposition

Financial real-time analytics

Session-wide energy efficiency

Table : J/opt for execution of the standalone kernels using the PRE-PSU powermeasurement

N Intel Viridis(1) Viridis(16)

P̄(W) J/opt P̄(W) J/opt P̄(W) J/opt

MC 0.5M 109.1 1.52 136.3 9.1 238.3 1.121.0M 112 3.16 135.5 18.1 244.6 2.222.0M 114.1 6.29 134.9 35.8 245.0 4.01

BT 4000 109.8 1.53 135.2 9.2 245.4 1.115000 111.7 2.68 135.4 14.4 244.7 1.677000 112.1 5.96 135.1 28.9 245.3 3.18

D. Nikolopoulos (EEECS@QUB) Micro-Servers in HPC, CCDSC’14 September 4, 2014 15 / 24

Page 17:   The Challenges and Opportunities of Micro-Servers in the ...HPC and the low-power processor ecosystem Outline 1 HPC and the low-power processor ecosystem 2 The NanoStreams proposition

Financial real-time analytics

How QoS changes the overall picture

0 10 20 30 40 50 60 70 80 90

100

0.0-

0.25

0.25

-0.5

0

0.5-

0.75

0.75

-1.0

0

1.0-

1.25

1.25

-1.5

0

1.50

-1.7

5

1.75

-2.0

0

2.00

-2.2

5

2.25

-2.5

0

2.50

-2.7

5

2.75

-3.0

0

3.00

-3.2

5

3.25

-3.5

0

3.50

-3.7

5

3.75

-4.0

0

4.00

-4.2

5

4.25

-4.5

0

4.50

-4.7

5

4.75

-5.0

0

>5.

00

% s

ucce

ss p

ricin

g (a

ll-or

-not

hing

)

Time interval (s)

Viridis(16) 2.9 seconds, 12%

Table : QoS metric and TCO in various setups

MC 1M QoS # Options PRE-PSU TCOpriced P̄(W) KWh

Intel(1) 13.2% 827593 112.0 0.73Viridis(1) 2.6% 162873 135.5 0.88Viridis(2) 5.2% 325048 141.9 0.92Viridis(4) 10.4% 649402 158.0 1.03Viridis(8) 20.8% 1305408 187.5 1.22

Viridis(16) 41.5% 2600416 244.6 1.59

*Intel(2) 26.4% 1655186 224.0 1.46*Intel(3) 39.6% 2482779 336.0 2.18

D. Nikolopoulos (EEECS@QUB) Micro-Servers in HPC, CCDSC’14 September 4, 2014 16 / 24

Page 18:   The Challenges and Opportunities of Micro-Servers in the ...HPC and the low-power processor ecosystem Outline 1 HPC and the low-power processor ecosystem 2 The NanoStreams proposition

In-memory column stores

Outline

1 HPC and the low-power processor ecosystem

2 The NanoStreams proposition

3 Financial real-time analytics

4 In-memory column stores

5 Conclusions

D. Nikolopoulos (EEECS@QUB) Micro-Servers in HPC, CCDSC’14 September 4, 2014 17 / 24

Page 19:   The Challenges and Opportunities of Micro-Servers in the ...HPC and the low-power processor ecosystem Outline 1 HPC and the low-power processor ecosystem 2 The NanoStreams proposition

In-memory column stores

Modeling the Energy of NVRAM6

NVRAM is viable DRAM alternative with DRAM failing to scalebeyond 22 nm

Various options: PCM, STT-RAM, RRAM

T (L) =N

φ(CPI0 + ML) (4)

Emem = Ed ,memNM + (Ps,memS + Pcpu)T (L) (5)

∆E =N

φ(φ∆Ed M + CPI0 ∆Ps S + ∆Es M S + Pcpu M ∆L) (6)

6Hans Vandierendonck, Ahmad Hassan and Dimitrios S. Nikolopoulos: On theEnergy-Efficiency of Byte-Addressable Non-Volatile Memory, IEEE ComputerArchitecture Letters, 2014.

D. Nikolopoulos (EEECS@QUB) Micro-Servers in HPC, CCDSC’14 September 4, 2014 18 / 24

Page 20:   The Challenges and Opportunities of Micro-Servers in the ...HPC and the low-power processor ecosystem Outline 1 HPC and the low-power processor ecosystem 2 The NanoStreams proposition

In-memory column stores

NVRAM versus DRAM

Iso-energy-efficiency chartCOMPUTER ARCHITECTURE LETTERS

TABLE 1Model parameters for non-volatile memory technologies.

DRAM PCM STT-RAM RRAMEd [J] 1.56e-8 3.69e-7 2.25e-7 2.39e-8Ps [W/GB] 3.66e-1 3.66e-3 4.88e-2 7.31e-3L [cy] 45.5 165 60.6 61.9�Ed [J] - -3.54e-7 -2.09e-7 -8.25e-9�Ps [W/GB] - 3.62e-1 3.17e-1 3.58e-1�Es [J/GB] - 1.60e+1 1.37e+1 1.62e+1�L [cy] - -1.19e+2 -1.52e+1 -1.65e+1�EDPd [Js] - -6.02e-5 -1.29e-5 -7.68e-7�EDPs [Js] - 6.56e+2 5.76e+2 1.77e+3

Energy comparisonS1 [GB] - 270.0 65.4 31.6

EDP comparisonS1 [GB] - 1340.2 130.9 75.1

literature on PCM [3], [4], STT-RAM [5] and RRAM [4]. StaticPCM energy is rated at 1% of DRAM static energy [6]. Wefurther assume a 2.1 GHz CPU clock, a baseline CPI0 = 1 anda uniform 30 W CPU power consumption. The latter is basedon the observations that CPU power may be approximatedby linearly interpolating between idle and peak power usingCPU load [2], that CPU load on servers is typically small, andthat CPU idle power ratings are in the 10-20 W range [7], [8].The memory bus is clocked at 800 MHz and is activated onboth clock edges. The memory is organized in multiple banksand channels in order not to be bandwidth bound for theapplication domain where the above assumptions hold.

We validated the performance and energy model by execut-ing a micro-benchmark with configurable MPKI. The bench-mark uses pointer-chasing code through a fixed-size array togenerate a predictable number of cache misses. The MPKI ismodified by changing the array access pattern. The benchmarkis simulated on a cycle-accurate processor simulator consistingof GEM5 [13] and the DRAMSim2 [14] main memory simulator.We modified DRAMSim2 to achieve the desired characteris-tics of PCM storage-class memory which include zero refreshpower, low background power, higher dynamic energy andhigher latency than DRAM. We evaluated the micro-benchmarkfor 5 different MPKI values between 2 and 125. By varying thesizes of PCM and DRAM for a given MPKI configuration, wecould confirm the shape and position of the curve �E = 0.

3.1 Energy

We find that PCM, STT-RAM and RRAM behave as in the firstscenario of Figure 1. Most importantly, the thresholds S1 thatwe find for these technologies are relatively small (Table 1). Inthe case of STT-RAM, it is 65.4GB, implying that any STT-RAMmain memory larger than 65.4 GB consumes less energy than theequivalent amount of DRAM. This memory capacity is common,if not small, for contemporary workstations and servers.

As the energy model is a first-order model, thresholds maynot be exact. However, in practice M is restricted to valuesin the range 0 � 100 MPKI. Thus, the main conclusion that athreshold exists is valid.

The thresholds are quite loose for large values. One maydefine the value S⇤ where �E = 0 and MPKI = 100, whichis a practically meaningful bound. For PCM and the energyequation, S⇤ is 220 GB, while for energy-delay it is 946 GB.

3.2 Energy-Delay Product

Plugging in values for the model parameters shows that the S1

thresholds are larger for EDP than they are for energy. This is

0"

20"

40"

60"

80"

100"

0" 50" 100" 150" 200" 250"

Mem

ory'Ac

cesses'/'1k'Insts'

Memory'Size'(GB)'

RRAM" STT.RAM" PCM"

RRAM

">"DRA

M,"

DRAM

">"STT.RAM

,"PCM

"RRAM,"STT.RAM">"DRAM,"DRAM">"PCM"

All"NVM">"DRAM"

DRAM

">"all"NVM

"

Fig. 2. Characterisation of workload space showing the memorytechnology that gives superior energy-efficiency (’>’) for eachworkload.

expected, as NVM increases delay, which must be made up bylarger savings in static power.

The results (Table 1) show that PCM is not quite as promis-ing a technology as STT-RAM and RRAM: A memory sizeof 1.34 TB is required to make PCM outperform DRAM onEDP. However, technologies such as STT-RAM and RRAM canoutperform DRAM for memory sizes of 130.9 GB and 75.1 GB,respectively.

3.3 NVM Latency ToleranceThe thresholds M1 and S1 depend on the memory accesslatencies Ldram and Lnvm through �L and �Es. We canrewrite the thresholds in function of Ldram and �L (avoidingthe use of Lnvm), e.g., for the energy equation:

S1 = �(��Ed + Pcpu�L)/(�PsLdram + Ps,dram�L)

Note that Pcpu > Ps,dram, so S1 increases in absolute valueas �L grows. When �L becomes too large, S1 becomesnegative and the scenario changes (Figure 1). For a technologylike PCM, the contribution of �L to S1 is much larger thanthe contribution of �Ed. Consequently, minimising �L at theexpense of �Ed increases the applicability of PCM.

If, however, NVM is optimised in isolation (i.e., Pcpu isassumed zero), then S1 is minimized by minimizing �Ed. Thisassumption corresponds to optimizing a single memory char-acteristic in isolation. Such a solution would be sub-optimal atthe system-level, where minimizing �L is more important thanminimizing �Ed.

4 HYBRID MEMORY SYSTEMS

A hybrid main memory consists of SdramGB of DRAM memoryand Snvm GB of non-volatile memory. A fraction µ of thememory accesses are directed to NVM, while a fraction 1 � µis directed to DRAM [9]. We assume reads and writes aredistributed evenly across the memory types.1 We make no par-ticular assumptions on whether memory traffic is distributedbetween DRAM and NVM by hardware or through softwarecontrol.

Energy per memory access Ed,hyb and average memoryaccess latency Lhyb are given as:

Ed,hyb = (1 � µ)Ed,dram + µEd,nvm (7)

Lhyb = (1 � µ)Ldram + µLnvm (8)

1. In reality one would attempt to reduce the number of writes toNVM, a strategy that would work out more favorably for NVM thanwhat we calculate here.

D. Nikolopoulos (EEECS@QUB) Micro-Servers in HPC, CCDSC’14 September 4, 2014 19 / 24

Page 21:   The Challenges and Opportunities of Micro-Servers in the ...HPC and the low-power processor ecosystem Outline 1 HPC and the low-power processor ecosystem 2 The NanoStreams proposition

In-memory column stores

Workload characterization for column stores

Runtime Library

Splay tree

Application Source Code

Intercept malloc/mmap/alloca

Log Load/Store/callpath

Cache

simulator

File Dump: Profiling Statistics

Profiling Tool - LLVM PASS Adds new instructions to profile load, store, allocations

Application Executable

Figure : Object analysis tool

0 100 200 3000

2

4

6

8x 10

10

Object Identifiers (Top 300)

CD

F

All Loads/Stores

Q6

Q9

Q13

Q21

0 100 200 3000

1

2

3x 10

9

Object Identifiers (Top 300)

CD

F

Off−chip Accesses

Q6

Q9

Q13

Q21

0 10 20

x 104

0

5

10x 10

10

Object IdentifiersC

um

ula

tive s

ize

Q6

Q9

Q13

Q21

Decreasing accesses per object

Figure : Workload Characterization of MonetDB.

D. Nikolopoulos (EEECS@QUB) Micro-Servers in HPC, CCDSC’14 September 4, 2014 20 / 24

Page 22:   The Challenges and Opportunities of Micro-Servers in the ...HPC and the low-power processor ecosystem Outline 1 HPC and the low-power processor ecosystem 2 The NanoStreams proposition

In-memory column stores

Object placement in hybrid memories

< 20% of objects needed in DRAM

Table : Device parameters

Hardware SpecificationServer Supermicro Intel(R) Xeon(R) CPU E5-4650, 2.70GHz, 32 cores, 20 MB LLC

Latency (cycles) Dynamic Energy (64 bytes) Leakage PowerDRAM 61 (R), 61 (W) 11.76 nJ(R), 25.35 nJ(W) 451 mW/GBPCM 268 (R), 732 (W) 24 nJ(R), 1092 nJ(W) 4.23 mW/GB

0 1 2

x 10−6

0

20

40

60

80

AMAE (J)

AM

AT

(C

ycle

s)

MonetDB

Q6Q9Q13Q21

Moving Objectsto DRAM

Figure : AMAT versus AMAE

D. Nikolopoulos (EEECS@QUB) Micro-Servers in HPC, CCDSC’14 September 4, 2014 21 / 24

Page 23:   The Challenges and Opportunities of Micro-Servers in the ...HPC and the low-power processor ecosystem Outline 1 HPC and the low-power processor ecosystem 2 The NanoStreams proposition

Conclusions

Outline

1 HPC and the low-power processor ecosystem

2 The NanoStreams proposition

3 Financial real-time analytics

4 In-memory column stores

5 Conclusions

D. Nikolopoulos (EEECS@QUB) Micro-Servers in HPC, CCDSC’14 September 4, 2014 22 / 24

Page 24:   The Challenges and Opportunities of Micro-Servers in the ...HPC and the low-power processor ecosystem Outline 1 HPC and the low-power processor ecosystem 2 The NanoStreams proposition

Conclusions

Where do we go from here

Micro-server concept is not a stranger to HPC

BG/P and BG/Q would be good examples of state-of-the-artmicro-servers for datacenters

What could make it a value proposition

Improved energy-efficiency in applications where performancerequirements are easily metImproved energy-efficiency in data-intensive applicationsScale-out and tight-sizing machine for workload, rather thanover-provision

What may not be a value proposition

HPC applications that do require absolute peak performance

What is needed

Holistic approaches: whole system design for energy-efficiency(memories, interconnect), co-designed software stack

D. Nikolopoulos (EEECS@QUB) Micro-Servers in HPC, CCDSC’14 September 4, 2014 23 / 24

Page 25:   The Challenges and Opportunities of Micro-Servers in the ...HPC and the low-power processor ecosystem Outline 1 HPC and the low-power processor ecosystem 2 The NanoStreams proposition

Conclusions

Credits

EU FP7 Grant 610509, EPSRC Grants L000055/1, L004232/1

Charles Gillan, Giorgis Georgakoudis, George Tzenakis, AhmadHassan, Hans Vandierendonck, Bronis de Supinski

D. Nikolopoulos (EEECS@QUB) Micro-Servers in HPC, CCDSC’14 September 4, 2014 24 / 24