36
Interesting Times Ahead Bob Lucas Operational Director, USC – Lockheed Martin Quantum Computing Center University of Southern California 1

Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

Interesting Times Ahead

Bob LucasOperational Director, USC – Lockheed Martin Quantum Computing Center

University of Southern California

1

Page 2: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

Interesting Times Ahead

Bob LucasOperational Director, USC – Lockheed Martin Quantum Computing Center

University of Southern California

Institute for Defense Analyses/Center for Computing SciencesLivermore Software Technology Corporation

ANSYS, Leidos, and Micron

2

Page 3: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

Interesting Times Ahead

Bob LucasOperational Director, USC – Lockheed Martin Quantum Computing Center

University of Southern California

Institute for Defense Analyses/Center for Computing SciencesLivermore Software Technology Corporation

ANSYS, Leidos, and Micron

Your name here J

3

Page 4: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

Overview

•  déjàvu,alloveragain?–  I’mremindedofmyyouth

•  SoftwarePerspective–  It’llbeharderthistimearound

•  Co-design–  Let’sgetthesystemsweneed

4

Page 5: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

Supercomputinginthelate1980s

•  Cray-2wasmyfirstsupercomputer–  SupercomputingResearchCenter(nowCCS)

•  Sharedmemory,vectormainframe–  O($10M)–  Four250MHzECLCPUs–  Threewarmbodies

5

NASACray-2fromWikipedia

Page 6: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

Supercomputinginthelate1980s

•  Cray-2wasmyfirstsupercomputer–  SupercomputingResearchCenter(nowCCS)

•  Sharedmemory,vectormainframe–  O($10M)–  Four250MHzECLCPUs–  Threewarmbodies–  Peoplewerecheap

6

NASACray-2fromWikipedia

Page 7: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

DisruptiveTechnology

•  Field-EffectTransistor–  Patentfiledin1925

•  Metal-Oxide-Semiconductor–  Inventedin1959

•  ComplementaryMOSFETs–  Latch-upsolvedinmid-1980s–  LotsofDOD$$$(e.g.,SEMATEC)

•  PersonalComputers–  Highvolume–  Lowcost,O($1K)

7

IBMPCfromWikipedia

Page 8: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

DrivingdownthecostofHPC

8

CosmicCube

Years

LogPe

rformance

ScalableCOTS

Mainframes

Page 9: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

Seymour’sperspective

9

Years

LogPe

rformance

BunchofChickens

SturdyOx

Page 10: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

DecadeofInnovation

10

ConvexSPP

IntelTouchstoneDelta

IBMSP1

CrayT3D

TMCCM5

Maspar

Page 11: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

Today’sLinuxServerClusters

•  CheapHardware–  Commodityvolumes

•  Freesoftware–  Ifyoucaninstallityourself

11

BeowulfatCaltech

Page 12: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

Today’sLinuxServerClusters

•  CheapHardware–  Commodityvolumes

•  Freesoftware–  Ifyoucaninstallityourself

•  Ofteninefficient– Memorywall– Messagepassing

12

BeowulfatCaltech

Page 13: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

Today’sLinuxServerClusters

•  CheapHardware–  Commodityvolumes

•  Freesoftware–  Ifyoucaninstallityourself

•  Ofteninefficient– Memorywall– Messagepassing

•  JustBuyMore…–  Amazonbuysitbytheacre–  Cloudservicemodel–  Peopleareexpensive

13

BeowulfatCaltech

NorthernVAdatacenter

Page 14: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

Anothertechnologytransitionishappening

14

•  Compiledsourcecodeperformancehasplateaued–  LibrariesstillbenefitfromwiderSIMDALUs

Page 15: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

Déjàvu?

•  JohnShalfsawTsugioMakimoto’stalkatISC‘06–  PCshaven’tbeenthelow-cost,high-growthmarketforadecade!–  Aretheytoday’smainframes,readytobeundercutbycheaperH/W?

15

Page 16: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

16

John’sVisionofSoCforHPC(circa2008)

ProcessorCore(ARM,Tensilica,RISC-V)Withextra“options”likeDPFPU,ECC

IPlicensecost$0-$500k

NoCFabric:(Arteris,Denali,otherOMAP-4)IPLicensecost:$200k-$350k

DDR31600memorycontroller(Denali/Cadence,SiCreations)+PhyandProgrammablePLL

IPLicense:$250-$350k

PCIeGen3RootcomplexIPLicense:$250k

IntegratedFLASHControllerIPLicense:$150k 10GigEorIBDDR4xChannel

IPLicense:$150k-$250k

WithMartyDeneroff

memctl

memctlMemory

DRAM

MemoryDRAM PCIe

FLASHctl

IBorGigE

accelerator

Accelerator?

Page 17: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

InnovativeacceleratorsforAI

•  Low-precisionarithmeticforML–  Volta&TPU

•  Neuromorphicforvision–  TrueNorth

•  Annealersforoptimization–  Fujitsu&D-Wave

•  Startups–  Cerebras,EMU&SambaNova

17

Page 18: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

Overview

•  déjàvu,alloveragain?–  I’mremindedofmyyouth

•  SoftwarePerspective–  It’llbeharderthistimearound

•  Co-design–  Let’sgetthesystemsweneed

18

Page 19: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

Valueofsoftware

•  Hardwarefabricationlargelyautomated–  O($1B)ofNREcanbeamortizedoverabigproductionrun

•  Softwareismoreofanartform,orcraft–  ProductivityisO(1)SLOCperhour–  LS-DYNArepresentsover1Mhoursoflabor

•  Softwareisoftenmorevaluablethanhardware–  GMusedtohaveO(10K)IBMPOWERprocessors–  Theyspentmoremoneyonsoftwarelicenses

•  Trustandacceptancebyuser’sispriceless

19

Page 20: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

Itshardtodisplaceexistingsoftware

•  Math,science,andengineeringpredatecomputing– We’vehadsevendecadestobuildcodesforthem– Modifyingexistingcodesisoftentheeasiestpathforward

•  Anditpreservesexistinginvestment

–  InitiallysuccessfulASCIburncodespredatedASCI•  ImaginedisplacingWindows,Google,orFacebook–  HundredsofmillionsofSLOCs–  You’dneedtoreplicatetheirdatatoo

•  Easiertocompleteinanewmarketplace–  AppleoutflankeditscompetitorswithiPodandiPhone–  Today’sinnovationinAI

20

Page 21: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

Disruptioninapplicationsoftware

•  Nevertheless,sometimesnewsoftwareisrequired–  Newresearchproblemsormarkets(e.g.,MLtoday)–  Newhardwareorsoftwaretechnologytoexploit

•  LLNL’sbrand-newDYNA3DwasrewrittenfortheCray1in1979•  MakotoAsaicreatedGeant4tousenewsoftwaretechnology,C++

•  Successfulsoftwarethenevolves–  LLNL’sDYNA3Dwasadoptedbycommercialcompanies

•  LikeNASTRAN,SPICE,andmanyotherpublicoracademiccodes

–  LS-DYNAisnowO(10M)linesofsourcecode•  PrimarilyF77,butincreasinglyF95andC

–  LSTCstartedworkingonmessagepassingin1993•  BeforeMPIreleased

21

Page 22: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

Exponentialgrowthofdemand

22

“… the current code is limited to 4096 processes so I cannot run the job up to the 96k cores I wanted to.”

Page 23: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

ScalingLS-DYNA

•  Users’requirementsareunbounded–  Rolls-Roycewantsvirtualcertification–  ModelsareO(100M)elements,andgrowing

•  TryingtoscaleLS-DYNAaccordingly–  WorkingwithCray,NCSA,andRolls-Royce

23

Roll-RoyceDummyEngineModel

LS-DYNAsparsematrixreorderingandfactorizationonBlueWaters(8threads/MPIrank)FigurescourtesyofErmanGuleryuz(NCSA)

Page 24: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

2017LS-DYNAbehaviorvscores

24

AvailablememoryonMPIrank0whilerunning105MDOFengineinLS-DYNAonBlueWatersFigurescourtesyofErmanGuleryuz(NCSA)

2048cores

8192cores

4096cores

16384cores

Page 25: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

−10 −8 −6 −4 −2 0 2 4 6 8 10

−10

−8

−6

−4

−2

0

2

4

6

8

10

ops tree for etree−std−neg1, 188054 supernodes, depth 7

Boundsonchange

mpirun–np2048mppdynai=control.kncpu=8

•  Changeneedstocomefrom“below”–  LibrarieswritteninCcanbelinkedwithFortran

•  E.g.,Metis,MPIandMUMPS–  OpenMPisagracefulextensionofthelanguage

•  Bringsbackhappymemoriesofautotasking•  UPCtoo

•  Fixwhat’sbroken– MultifrontaleliminationtreeisaDAG–  TraversebrancheswithICL’sPaRSEC?

•  #3onmyLSTCtodolist

25

Page 26: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

Heterogeneousnodes

•  Floatingpointaccelerators(APU,GPU)•  I’m0:1atintegratingNVIDIAGPUsintoLS-DYNA–  There’relotsofDGEMMcallsinamultifrontalcode–  FirsttoreceivetheCUBLAS.Perhapstooearly?

•  ANSYSsucceeded–  Reverseengineeredourexperiment(twice!)–  Theirusers’modelsaredifferentthanLSTC’s(solids)–  They’vegonebeyondme,exploitingGPUmemoryB/Wtoo

•  Timeforanotherlook–  CUDAFortranthistimearound–  NVIDIA’shelping

26

Page 27: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

Overview

•  déjàvu,alloveragain?–  I’mremindedofmyyouth

•  SoftwarePerspective–  It’llbeharderthistimearound

•  Co-design–  Let’sgetthesystemsweneed

27

Page 28: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

Managingcomplexity

•  Thegroundisshiftingunderneathus•  Softwareapproachestoshielddevelopers–  DomainSpecificLanguages–  Kokkos–  LANL’sRistra

•  Whynotanequivalenthardwareeffort?–  Otherhalfofco-design–  Lowerthebarforthesoftwarepeople

28

Page 29: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

UniqueroleforHPCcommunity

•  PeterKogge’sEXACUBEprocessor-in-memory–  IBMhad80386IP–  IBMhadDRAMfabs

•  Severalofthem

•  Today,onlySamsungmakesbothlogicandmemory•  Specializationconstrainsimagination•  Logicalreadyexistsinthememory– WhatshouldMicronadd?–  Howwoulditimpactthehost?

29

Hybrid Memory Cube

Self Test, Self Repair, Scrubbing,Refresh, Autonomous Functions

Page 30: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

Steertheintegrationofnewtechnology

•  Intel’sApachePass–  3DXpointinaDDR4formfactor

•  Multipleconfigurationsoffered–  Highbandwidthfilesystem–  Highbandwidthswapspace–  Directuseraccess

•  Iwant“door#3”–  Keepsparsematrixfactorsin3DXpoint

•  EliminatefileI/Oabstraction(andoverhead)forout-of-core

–  TherestofLS-DYNAcanliveinDDR4•  Orbetter,HBM

30

3DXpointillustration

Page 31: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

SoCecosystemprovidesabigknob

•  Anton–  Twoorders-of-magnitudemorecapability

•  GreenFlash–  Twoorders-of-magnitudelessenergy

31

Page 32: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

Bespokesystems

•  WehavethetalenttoexploitSoCtechnology–  SpreadthinlyovertheHPCusercommunity–  LBL’sDavidDonofriodesignedchipsforIntelandApple–  CCS’sBillCarlsonhackedGNUCtocreatetheinitialUPC–  USC’sJeffDrapergotasolesourceawardfromDARPA

•  Systemvendorscertainlydo–  StillHPE’sbusinessmodel?

•  ItwasbeforeGregAstfalkretired–  Sunwaycantoo

•  TaihuLight

32

Page 33: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

Bespokesystems

•  WehavethetalenttoexploitSoCtechnology–  SpreadthinlyovertheHPCusercommunity–  LBL’sDavidDonofriodesignedchipsforIntelandApple–  CCS’sBillCarlsonhackedGNUCtocreatetheinitialUPC–  USC’sJeffDrapergotasolesourceawardfromDARPA

•  Systemvendorscertainlydo–  StillHPE’sbusinessmodel?

•  ItwasbeforeGregAstfalkretired–  Sunwaycantoo

•  TaihuLight–  Low-volumebusinessmodel

•  Sellengineering,notchips

33

B2NRE~2Xproductioncost

Page 34: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

Addressthingsthatlimitperformance

•  ReplacingPentiumswith“free”RISC-Vswon’tbeenough–  Onlyfreeuntilyoufabthem

•  Distributedaddressspace–  IwantmyE-registersback

•  UPC-likeglobalmemoryabstraction•  Surelythepatentshaveexpiredbynow

•  Virtualmemoryhierarchy–  Non-unitstride,gather/scatter,indirectaddressing,etc.

•  Utah’sImpulseproject–  SiHammond’sstorewithfloatingpointaccumulate

•  Perform“one-touch”functionsinthememory

•  Synchronization–  Ihavelotsof8-byteMPI_ALLREDUCEsforerrorstatus–  BlueGene/Lhadacombiningnetwork

34

Page 35: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

MakeSoCecosystemHPCfriendly

•  CreateIPspecificallyforHPC–  Ourneedswilldifferfromcommoditymarkets

•  Fillsoftwaregapstoo.–  LANLreportedlyfindsARM’sFortranenvironmentlacking

•  InvestinECADR&D–  ReducethecostofengineeringSoCsystems–  AndresOlofssonisworkingthis

•  Enduringadvantage–  GOTSIP,notavailabletoothers

35

Page 36: Interesting Times Aheadsalishan.ahsc-nm.org/uploads/4/9/7/0/49704495/2018-lucas.pdf · – LLNL’s DYNA3D was adopted by commercial companies • Like NASTRAN, SPICE, and many other

Summary

•  There’sstill“gasinthetank”forCMOS–  RichLinderman’sphrase–  Specializationoffersapathforward,beyondMoore’sLaw

•  Evolution–  HPCsoftwareisoftenmorevaluablethatthehardware–  Thepaceofchangemustallowforadaptation

•  Collaborate–  Scienceandengineeringhavemuchincommon–  OnedestructiveenginetestisO($100M)

•  RoughlythesamecostasAnton

36