15
2008 Midyear Workshop RSSI 2008 Computational Density of Fixed and Reconfigurable Multi-Core Devices for Application Acceleration Jason Williams Alan D. George Justin Richardson Kunal Gosrani Siddarth Suresh NSF CHREC Center ECE Department, University of Florida July 7-9, 2008

Computational Density of Fixed and Reconfigurable Multi ...rssi.ncsa.uiuc.edu/proceedings/academic/Williams.pdf · Bit-Level CDW RMC devices (specifically FPGAs) far outperform FMC

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Computational Density of Fixed and Reconfigurable Multi ...rssi.ncsa.uiuc.edu/proceedings/academic/Williams.pdf · Bit-Level CDW RMC devices (specifically FPGAs) far outperform FMC

2008 Midyear WorkshopRSSI 2008

Computational Density of Fixed and

Reconfigurable Multi-Core Devices for

Application Acceleration

Jason Williams

Alan D. George

Justin Richardson

Kunal Gosrani

Siddarth Suresh

NSF CHREC Center

ECE Department, University of Florida

July 7-9, 2008

Page 2: Computational Density of Fixed and Reconfigurable Multi ...rssi.ncsa.uiuc.edu/proceedings/academic/Williams.pdf · Bit-Level CDW RMC devices (specifically FPGAs) far outperform FMC

Outline

Background

RC Taxonomy

Reconfigurability Factors

Computational Density Metrics

Results & Analysis

Future Work

Conclusions

2

Page 3: Computational Density of Fixed and Reconfigurable Multi ...rssi.ncsa.uiuc.edu/proceedings/academic/Williams.pdf · Bit-Level CDW RMC devices (specifically FPGAs) far outperform FMC

Background

3

Moore’s law continues to hold true, transistor counts doubling

every 18 months Can no longer rely upon increasing clock rates (fclk) and instruction-level

parallelism (ILP) to meet computing performance demands

How to best exploit ever-increasing on-chip transistor counts? Multi-core and many-core (MC) devices have emerged as

new technology wave

Architecture Reformation: focus on exploiting explicit parallelism

What MC architecture options are available? Fixed MC: fixed hardware structure, cannot be changed post-fab

Reconfigurable MC: can be adapted post-fab to changing problem req’s

How to compare disparate device technologies? Need for taxonomy & device analysis early in development cycle

Challenging due to vast design space of FMC and RMC devices

Computational Density per Watt captures computational performance and

power consumption, more informative than pure performance metrics

Page 4: Computational Density of Fixed and Reconfigurable Multi ...rssi.ncsa.uiuc.edu/proceedings/academic/Williams.pdf · Bit-Level CDW RMC devices (specifically FPGAs) far outperform FMC

Multi-Core

Many-Core (MC)

Reconfigurable Architecture

(RMC)

Homogeneous Heterogeneous

Hybrid

Heterogeneous

Fixed Architecture

(FMC)

Homogeneous Heterogeneous

Taxonomy Hierarchy

4

Reconfigurability

Datapath Device Memory PE/Block Precision Interface Mode Power Interconnect

Devices with

segregated RA &

FA resources; can

use either in stand-

alone mode

Spectrum of Granularity In Each Class

Page 5: Computational Density of Fixed and Reconfigurable Multi ...rssi.ncsa.uiuc.edu/proceedings/academic/Williams.pdf · Bit-Level CDW RMC devices (specifically FPGAs) far outperform FMC

64x64 Multiply

(Processing Element)

24x24 Multiply

(Processing Element)

Reconfigurability Factors

5

Register

+

x

8x8 Multiply

(Processing Element)

DDR2 SDRAM

RC Device

DDR2 Memory

Controller

Datapath Device Memory PE/Block Precision

Interface Mode Power Interconnect

PE

PE

PE

PE

PE

PE

PE

PE

PE

PE PE

MEM MEM

PE

32

PE1

Prg-A

PE3

Prg-C

PE4

Prg-D

Register Register

Register Register

Register

x

Register

Register 64

8x8 MAC

(Processing Element)

RLDRAM Memory

Controller

RLDRAM SDRAM

64 KB X 32 64 KB X 64

PE1

Prg-A

PE2

Prg-B

PE2

Prg-A

PE3

Prg-A

PE4

Prg-A

PE

PE

PE

Performance

Power

PE PE

MEM MEM

Page 6: Computational Density of Fixed and Reconfigurable Multi ...rssi.ncsa.uiuc.edu/proceedings/academic/Williams.pdf · Bit-Level CDW RMC devices (specifically FPGAs) far outperform FMC

Metric Overview Metric Definitions

Computational Density (CD)

Measure of computational performance across range of

parallelism, grouped by process technology

Bit-Level Coarse-Grained

Bit-Level Fine-Grained

Integer Coarse-Grained

Integer Fine-Grained

Floating-Point Coarse-Grained

Similar to integer, use FP execution units

Floating-Point Fine-Grained

Similar to integer, use FP IP cores

Computational Density per Watt (CDW)

CD normalized by power consumption

Achievable frequency is fixed for a given metric

For RMC devices

Power scales linearly with resource utilization

Maximum power is scaled by ratio of achievable frequency to

maximum device frequency, estimated using vendor tools

Metric Precisions (5 precisions in all)

Bit-Level, 16-bit Integer, 32-bit Integer, Single-Precision

Floating-Point (SPFP), Double-Precision Floating-Point (DPFP)

6

W = width of PE

N = # of PEs

f = frequency

NLUT = #of LUTs

CPI = cycles per

instruction

OpsDSP = # of cores

using DSPs

OpsLOGIC = # of cores

using logic only

Devices Studied (15)

90 nm

RMC

Altera Stratix-II EP2S180

ElementCXI ECA-64

Mathstar Arrix FPOA

Raytheon MONARCH

Tilera TILE64

Xilinx Virtex-4 LX200

Xilinx Virtex-4 SX55

90 nm

FMC

IBM Cell BE

Intel Xeon 7041

Nvidia Tesla C870

65 nm

RMC

Altera Stratix-III EP3SL340

Altera Stratix-III EP3SE260

Xilinx Virtex-5 LX330T

Xilinx Virtex-5 SX95T

65 nm

FMCIntel Xeon X3230

Memory-sustainable CD – limited by size of operands and

amount of parallel paths available to on-chip memory

Parallel Operations – scales up to max. # of adds and

mults (# of adds = # of mults)

Achievable Frequency – Lowest frequency after PAR of

DSP & logic-only implementations of add & mult

computational cores (RMC)

IP Cores – Use IP cores provided by vendor for increased

productivity

Page 7: Computational Density of Fixed and Reconfigurable Multi ...rssi.ncsa.uiuc.edu/proceedings/academic/Williams.pdf · Bit-Level CDW RMC devices (specifically FPGAs) far outperform FMC

Computational Density

Maximum memory-sustainable CD is

shown above (in GOPs)

CD scales with parallel operations

Various devices may have highest CD at

different levels of parallelism

Top CD performers are highlighted

RMC devices perform best for bit-level &

integer ops, FMC for floating-point

Memory-sustainability issues seen when

many, small registers are needed

7

Raw Sustain. Raw Sustain. Raw Sustain. Raw Sustain. Raw Sustain.

Arrix FPOA 6144 6144 384 384 192 192

ECA-64 2176 2176 13 13 6 6

MONARCH 2048 2048 65 65 65 65 65 65

Stratix-II S180 63181 63181 442 442 123 123 53 53 11 11

Stratix-III SL340 154422 154422 933 933 213 213 96 96 26 26

Stratix-III SE260 119539 119539 817 817 204 204 73 73 22 22

TILE64 4608 4608 240 240 144 144

Virtex-4 LX200 89952 89952 357 116 66 42 68 46 16 16

Virtex-4 SX55 29184 29184 365 110 71 40 31 31 7 7

Virtex-5 LX330T 150163 150163 606 300 131 122 119 116 26 26

Virtex-5 SX95T 48435 48435 599 226 221 92 82 82 15 15

Cell BE 4096 4096 205 205 115 115 205 205 19 19

Tesla C870 5530 5530 346 346 216 216 346 346

Xeon 7041 1536 1536 42 42 30 30 30 30 24 24

Xeon X3230 4095 4095 128 128 85 85 85 85 64 64

DPFP

Device

Bit-level 16-bit Int. 32-bit Int. SPFP90 nm

65 nm

RMC

FMC

Page 8: Computational Density of Fixed and Reconfigurable Multi ...rssi.ncsa.uiuc.edu/proceedings/academic/Williams.pdf · Bit-Level CDW RMC devices (specifically FPGAs) far outperform FMC

Bit-Level CDW

RMC devices (specifically FPGAs) far outperform FMC devices High bit-level CD due to fine-grained LUT-

based architecture

Low power

Power scaling with parallelism (area)

90 nm

Virtex-4 LX200 is clear leader

65 nm

65 nm RMC devices are all strong

performers

8

0

1000

2000

3000

4000

5000

6000

0 100000 200000 300000 400000

GO

Ps/W

att

Parallel Operations (FMC)

Xeon 7041

Cell

Tesla C870

Xeon X3230

65 nm

FPGA

90 nm

FPGA

Non-

FPGA0

1000

2000

3000

4000

5000

6000

0 100000 200000 300000 400000

GO

Ps/W

att

Parallel Operations (RMC)

V4 LX200 V4 SX55

EP2S180 FPOA

MONARCH TILE64

ECA-64 Series12

V5 LX330T V5 SX95T

EP3SL340 EP3SE260

90 nm

65 nm

90 nm

65 nm

Page 9: Computational Density of Fixed and Reconfigurable Multi ...rssi.ncsa.uiuc.edu/proceedings/academic/Williams.pdf · Bit-Level CDW RMC devices (specifically FPGAs) far outperform FMC

16-bit Integer CDW

RMC devices far outperform FMC Low power

Power scaling with parallelism (area)

Requires algorithms that can take advantage of numerous parallel operations

90 nm devices For high levels of exploitable parallelism, the

Virtex-4 SX55 is best performer

90 nm devices (cont’d) Strong performance from ECA-64 due to

extremely low power consumption (one Watt at full utilization), despite low CD

FPOA gives good, moderate performance due to high CD, but with higher power requirements

65 nm devices Virtex-5 SX95T is best overall

9

0

10

20

30

40

50

60

0 500 1000 1500 2000 2500 3000

GO

Ps/W

att

Parallel Operations (FMC)

Xeon 7041

Cell

Tesla C870

Xeon X3230

0

10

20

30

40

50

60

0 500 1000 1500 2000 2500 3000

GO

Ps/W

att

Parallel Operations (RMC)

V4 LX200 V4 SX55

EP2S180 FPOA

MONARCH TILE64

ECA-64 Series12

V5 LX330T V5 SX95T

EP3SL340 EP3SE260

90 nm

65 nm

90 nm

65 nm

Page 10: Computational Density of Fixed and Reconfigurable Multi ...rssi.ncsa.uiuc.edu/proceedings/academic/Williams.pdf · Bit-Level CDW RMC devices (specifically FPGAs) far outperform FMC

32-bit Integer CDW

RMC devices far outperform FMC Low power

Power scaling with parallelism (area)

Requires algorithms that can take advantage of numerous parallel operations

90 nm devices For high levels of exploitable parallelism, the

Virtex-4 SX55 is best performer

90 nm devices (cont’d) Strong performance from ECA-64 due to

extremely low power consumption (one Watt at full utilization)

65 nm devices Virtex-5 SX95T is best overall

10

0

5

10

15

20

25

0 200 400 600 800 1000

GO

Ps/W

att

Parallel Operations (FMC)

Xeon 7041

Cell

Tesla C870

Xeon X3230

0

5

10

15

20

25

0 200 400 600 800 1000

GO

Ps/W

att

Parallel Operations (RMC)

V4 LX200 V4 SX55EP2S180 FPOAMONARCH TILE64ECA-64 Series12V5 LX330T V5 SX95TEP3SL340 EP3SE260

90 nm

65 nm

90 nm

65 nm

Page 11: Computational Density of Fixed and Reconfigurable Multi ...rssi.ncsa.uiuc.edu/proceedings/academic/Williams.pdf · Bit-Level CDW RMC devices (specifically FPGAs) far outperform FMC

SPFP CDW

RMC devices (specifically FPGAs)

outperform FMC devices Low power, especially FPGAs with large amount

of DSP multiplier resources (consume less power

than LUTs)

Power scaling with parallelism (area)

Devices not intended for floating-point

computation (i.e. not expected to compete) are

excluded here (e.g. FPOA, TILE, ECA)

90 nm Virtex-4 SX55 leads due to power advantage

Cell and Tesla C870 GPU have large CD

advantage, but very high power consumption

hampers their CDW performance

65 nm Virtex-5 SX95T has clear CDW advantage due

to high level of DSP resources, low power

consumption of DSPs

11

0

2

4

6

8

10

12

14

0 100 200 300 400 500

GO

Ps/W

att

Parallel Operations (FMC)

Xeon 7041

Cell

Tesla C870

Xeon X3230

0

2

4

6

8

10

12

14

0 100 200 300 400 500

GO

Ps/W

att

Parallel Operations (RMC)

V4 LX200 V4 SX55

EP2S180 MONARCH

V5 LX330T V5 SX95T

EP3SL340 EP3SE260

90 nm

65 nm

90 nm

65 nm

Page 12: Computational Density of Fixed and Reconfigurable Multi ...rssi.ncsa.uiuc.edu/proceedings/academic/Williams.pdf · Bit-Level CDW RMC devices (specifically FPGAs) far outperform FMC

DPFP CDW

RMC devices (specifically FPGAs) out-

perform FMC devices Low power, especially FPGAs with large amount of

DSP multiplier resources (consume less power than

LUTs)

Power scaling with parallelism (area)

Devices not intended for floating-point computation

(i.e. not expected to compete) again excluded

90 nm Virtex-4 SX55 leads all, Xeon leads FMCs

65 nm Xeon X3230 has large CD advantage, but very

high power consumption hampers their CDW

performance

Virtex-5 SX95T has clear CDW advantage due

to high level of DSP resources, low power

consumption of DSPs

0

1

2

3

4

0 50 100 150 200

GO

Ps/W

att

Parallel Operations (FMC)

Xeon 7041

Cell

Xeon X3230

0

1

2

3

4

0 50 100 150 200

GO

Ps/W

att

Parallel Operations (RMC)

V4 LX200 V4 SX55EP2S180 Series6V5 LX330T V5 SX95TEP3SL340 EP3SE260

90 nm

65 nm

90 nm

65 nm

12

Page 13: Computational Density of Fixed and Reconfigurable Multi ...rssi.ncsa.uiuc.edu/proceedings/academic/Williams.pdf · Bit-Level CDW RMC devices (specifically FPGAs) far outperform FMC

size2 = floor(size/2);

% For each pixel in the image

for i = 1:512

for j = 1:512

% clear the window sum

accum_win = 0;

% clear the number of pixels averaged

num_denom = 0;

% For each pixel in the window

for i2 = -size2:size2

win_i = i + i2;

if (win_i > 0 && win_i < 513)

for j2 = -size2:size2

win_j = j + j2;

if (win_j > 0 && win_j < 513)

% increase number of elements

added to window

num_denom = num_denom + 1;

% gather window sum

accum_win = uint32(accum_win)

+ uint32(noisy(win_i, win_j));

end

end

end

end

% perform filter

cln_img(i, j) = uint8(accum_win / num_denom);

end

end

Future Work Create Internal Memory Bandwidth (IMB)

metric to describe device’s memory access capabilities to on-chip memories

Compare algorithms using Computational Intensity (CI) metric

Use CD, IMB, and CI metrics to relate device characteristics and application characteristics

13

Pixel Level Loop:

8s^2 + 7s = Z

Z*I = M

Overall Arithmetic

Operations:

I * M

Innermost

loop:8s

2D-Convolution (I = Image size and s = filter size)2D-Convolution (I = Image size and s = filter size)

For I = 512; s = 3 ; Computational Intensity = 9.9

For I = 512; s = 7 ; Computational Intensity = 8.9

For I = 512; s = 15; Computational Intensity = 8.5

CFAR - Computational Intensity = 2.1

Radix-4 FFT - Computational Intensity = 4.7

Direct Form FIR - Computational Intensity = 4.1

Matrix Multiply - Computational Intensity = 2.0

Mem Operations:

s^2 * I^2

Application

Metrics

Degree of

Parallelism

Computational

Intensity

Device

Metrics

Computational

Density or

CDW

Internal

Memory

Bandwidth

Device

Recommendation

Long

Term

Goals

Page 14: Computational Density of Fixed and Reconfigurable Multi ...rssi.ncsa.uiuc.edu/proceedings/academic/Williams.pdf · Bit-Level CDW RMC devices (specifically FPGAs) far outperform FMC

Conclusions RC Taxonomy & Reconfigurability Factors

Provides framework for comparing RMC & FMC devices

Develops concepts and terminology to define characteristics of

various computing technologies

CD and CDW Metrics

Basis to compare devices on computational performance & power

Large variations in resulting data when applied across disparate device suite

Various devices show good CD and CDW performance

Depends on level of exploitable parallelism and size and type of operation

FMC devices tended to perform better in terms of raw floating-point CD

RMC devices performed vastly better when this metric was normalized by power

FPGAs with many low-power DSPs have the best CDW scores, even for floating-point

Generally, 65 nm devices performed better on CDW than 90 nm devices

With the increasing importance of power, CDW becomes a critical metric

Architecture reformation & Moore’s law

Explicit parallelism allows for full utilization of process technology & transistor

count improvements

14

Page 15: Computational Density of Fixed and Reconfigurable Multi ...rssi.ncsa.uiuc.edu/proceedings/academic/Williams.pdf · Bit-Level CDW RMC devices (specifically FPGAs) far outperform FMC

Acknowledgements

NSF I/UCRC Program (Grant EEC-0642422)

CHREC members

Altera Corporation (equipment, tools)

MathStar Incorporated (equipment, tools)

Xilinx Incorporated (equipment, tools)

Questions?

15