54
nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers Workshop 2016 Petascale Data Migra8on September 2016 W Daniel Rodwell Manager, Data Storage Services

Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

nci.org.au

@NCInews

ProvidingAustralianresearcherswithworld-classcompu8ngservices

LustreAdmins&DevelopersWorkshop2016

PetascaleDataMigra8on

September2016

W

DanielRodwellManager,DataStorageServices

Page 2: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

2

Agenda

•  NCIStorageOverview–  Systems&Growth

•  Migra6onDrivers–  Redistribu8onofContent–  FilesystemDecommissioning/Replacement

•  PerformanceProfiles–  FilesystemSource&Des8na8on–  DataMigra8onNodes

•  Considera6ons&Planning•  DataMigra6onTools

–  QuickComparisonofU8li8es–  Performance

•  DataMigra6onProcess–  NCIApproach–  PerformanceinPrac8ce

•  IssuesandFutureConsidera6ons

Page 3: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

3

StorageatNCI30PBHighPerformanceStorage

Page 4: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

4

NCI–anoverview

•  NCIisAustralia’sna8onalhigh-performancecompu8ngservice–  comprehensive,ver8cally-integratedresearchservice–  providingna8onalaccessonpriorityandmerit–  drivenbyresearchobjec8ves

•  Operatesasaformalcollabora8onofANU,CSIRO,theAustralianBureauofMeteorologyandGeoscienceAustralia

•  Asapartnershipwithanumberofresearch-intensiveUniversi8es,supportedbytheAustralianResearchCouncil.

Page 5: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

5

Wherearewelocated?

•  Canberra,ACT•  TheAustralianNa8onalUniversity(ANU)

Page 6: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

6

Whatdowestore?

•  Howbig?–  Very.–  Averagedatacollec8onis50-100+Terabytes–  Largerdatacollec8onsaremul8-Petabytesinsize–  Individualfilescanexceed2TBorbeassmallasafewKB.–  Individualdatasetsconsistoftensofmillionsoffiles–  NextGenera8ondatasetslikelytobe6-10xlarger.

–  Gdata1+2+3=451Millioninodesstored–  1%of/g/data1capacity=74TB

hhps://www.rds.edu.au/collec8ons

1.4PB

3.9PB

1.5PB

Page 7: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

7

Whatdowestore?

•  Whatdowestore?–  Highvalue,cross-ins8tu8onalcollabora8ve

scien8ficresearchcollec8ons.

–  Na8onallysignificantdatacollec8onssuchas:•  AustralianCommunityClimateandEarth

SystemSimulator(ACCESS)Models•  Australian&interna8onaldatafromthe

CMIP5andAR5collec8on•  Satelliteimagery(Landsat,INSAR,ALOS)•  Skymapper,WholeSkySurvey/Pulsars•  AustralianPlantPhenomicsDatabase•  AustralianDataArchive•  EUMETSATCopernicusProgrammeSen8nel

Data

–  LargeScaleGenomicsandBioinforma8csdatasets

Page 8: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

8

SystemsOverview

10 GigE

/g/data 56Gb FDR IB Fabrics

Cache1.0PB,2xLTO5TapeLibrary,7PBRAW2xTS1150TapeLibrary22PBRAW

To H

uxle

y D

C

Raijin 56Gb FDR IB Fabric

10 GigE InternetAARNet/ICON

OpenStackCloud

RaijinCompute1.2PF,57000XeonCores

Raijin(HPC)Login+DatamoversVMWareAspera+

GridFTPNCIDataServices VDI

MassdataArchivalData/HSM

/g/dataNNCIGlobalPersistentFilesystems+HSM

RaijinFSHPCFilesystems

CephCloudPersistentStores

LustreHSM

40/56 GigE

gdata17.4PB

gdata26.75PB

gdata38.2PB

CEPH1.1PB

short7.6PB

/home/system/apps/images

Cache1.0PB

TS115022PB

LTO57PB

TS115022PB

LTO57PB

Page 9: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

9

StorageOverview

•  LustreSystems–  RaijinLustre–HPCFilesystems:includes/short,/home,/apps,/images,/system

•  7.6PB@150GB/Secon/short(IORAggregateSequen8alWrite)•  Lustre2.5.23+Custompatches(NCI+DDN)

–  Gdata1–PersistentData:/g/data1•  7.4PB@54GB/SecPeakRead•  Lustre2.3.11(IEELv1)

–  Gdata2–PersistentData:/g/data2•  6.75PB@65GB/SecPeakRead•  Lustre2.5.42.8(IEELv2)

–  Gdata3–PersistentData:/g/data3–•  Stage1:5.7PB@92GB/secPeakRead•  Stage2:8.2PB@120GB/Sec+PeakRead•  (Lustre2.5.42.8,IEELv2)

Page 10: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

10

DataMigra8onWhymigratedatabetweenfilesystems?

Page 11: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

11

WhyMigrateData?

•  Reasonsformigra6ngdata

–  Migratedatafromanoldfilesystembeingdecommissionedontoanewsystem

–  Migrateadatasetorprojecttoadifferentfilesystemforperformance,featureorsecurityprofilereasons

–  Needtorebalancestoragealloca8ondistribu8onbetweenfilesystemstomanageoverallcapacityandgrowth

–  Duplica8onofdatatomul8plefilesystemsforprotec8onorrollback

–  StagedreplacementofPersistentFilesystems–con8nualrollingreplacementschedule.

Page 12: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

12

PreviousNCISystems

•  3Yearsago…

–  VayuHPC•  PreviousGenHPCLustreFilesystem•  800TB,25GB/Sec

–  Gdata(Original)•  PersistentLustreFilesystemonVayu•  900TB,6GB/sec

–  Projects•  DualStateCXFS/DMFFilesystem•  1.4PB,3GB/sec

-  Migratedover8PB,100+Millionfilesbetweenvariousinternaldatasystems-  Needtofindasolu8onthatcanscaletoPetaBytesofdata.-  Tradi8onalapproacheshandleGigaBytes,notPetaBytes.

HighPerformanceOnlineStorageCapacity

3Years

13xGrowth

2.3PB 29.9PB

2013 2016

Page 13: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

13

NatureoftheProblem

•  WehaveaHighPerformanceDataProblem

–  AnindividualProjectmaybe2-3PB,40+Millionfilesinsize

–  Eachfilewithinthedatasetorprojectneedstoberead,wrihenandverified

–  The8metoprocessthedatamustbereasonable

–  Asequen8al,linearortradi8onalapproachisunlikelytoscale

–  Distributed&parallelprocessingoftheproblemislikelyrequired

Page 14: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

14

PerformanceProfilesComponentPerformance&ResourcesAvailable

Page 15: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

15

Raijin–PetascaleSupercomputer

RaijinTestCluster•  36xFujitsuCX250Nodes•  DualIntelSandyBridgeXeonE5-2670,8C,

2.6GHz(samespecasmaincluster)•  32GBDDR3•  InfiniBandFDRinterconnect,connectedto

RaijinHPCFabric•  AllLustreFilesystemsmounted

–  Summary•  36Nodes•  576Cores•  36xIBinterfacesat5GB/sec(180GB/secagg)•  Exemp8on-Cansshbetweennodes•  Exemp8on-Canrunjobsasroot•  Administra8ve/TestJobsdonotblockuser

jobs.•  FailedAdministra8ve/Testjobsnotshared

onnodeswithuserjobs

Page 16: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

16

FilesystemPerformance

•  Source–  Gdata1–  54GB/secpeakreadperformance–  520OSTs,400MB/secpeakReach–  Lustre2.3.11

•  Des6na6on–  Gdata3–  70GB/sec+peakwriteperformance–  252OSTs,800MB/secpeakWeach–  Lustre2.5.42.8

HPCNode

HPCNode

HPCNode

OSSHAPairs

MDSHAPair

LNETRouters

Gdata1

OSSHAPairs

MDSHAPair

LNETRouters

Gdata3

Page 17: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

17

Considera8ons&PlanningPreparingtoMigrateUserProjectData

Page 18: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

18

ThingstoConsider

–  FilesystemBandwidth•  Typically,regularuserfilesystemaccesswills8llbepresentwhileanindividual

projectmigra8onisinprogress•  Wedon’twanttochokethefilesystemwithadministra8vedatamigra8onac8vi8es,

orcauseuserjobstogointoheavyIOwait•  Uselongtermmonitoringtopredictaverageuserbandwidthrequirementsduring

migra8onperiod.Typicallyusemax50%ofavailablefilesystembandwidthforprojectmigra8ons.

–  DryRun•  Dryruninbusinesshourswhenallsystemadministra8onstaffarepresent•  Somethingwillbreakunexpectedlyduringtes8ng

–  RunasRoot•  Unlesstheadministrator’saccounthasuser/groupaccesspermissionstothefiles,

typicallyyou’llberunningasroot.Plancarefully.Thinktwice,runonce.•  Builda‘FlightPlan’ofallcommandsthatyouplantorunbeforeyourunthem.•  Thereisthepoten8altooverwritethewrongdata,atspeed,disastrously,asroot.

Page 19: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

19

ThingstoConsider

–  Dataset•  Determinethesizeandcountoffilesbeforethemigra8on,buildatestdatasetto

evaluatescalingand8minges8mates•  Useatestdatasettoprovetoyourselfthatthemechanisms/u8li8esworkas

expected

–  BatchProcess•  Breakupthedataintosmallerbatcheswithinaproject,i.e.runeachfirstlevel

subdirectorywithintheprojectasitsowncopy•  Itseasiertorestart/resumeonfailure.•  Youcanhavehardware/sotwarefailuresasanyotherHPCjobcould

–  DataCustodians•  Agreed8mewithdatacustodianformigra8ontooccur•  Usedryrunsandscalingteststoes8mate8merequired•  Havearollbackplan•  Preservetheoriginaldata(restrictedaccess)onthesourcefilesystemfora8me

periodatertheini8almigra8onhascompleted.

Page 20: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

20

Datasets

–  Determinecountandsizeofdataset•  Usefind,du,lfsquota•  Userbh-lhsm-reportforquicksummary

group , type, count, volume, status, avg_size proj1 , symlink, 4, 69, n/a, 17 proj1 , dir, 149351, 929.67 MB, n/a, 6.37 KB proj1 , file, 6238341, 990.45 TB, new, 166.48 MB Total: 6387696 entries, 1089016908285488 bytes used (990.46 TB) group , type, count, volume, status, avg_size proj2 , symlink, 10358, 600.30 KB, n/a, 59 proj2 , dir, 11792, 157.83 MB, n/a, 13.71 KB proj2 , file, 1570527, 229.37 TB, new, 153.14 MB Total: 1592677 entries, 252192953669719 bytes used (229.37 TB) group , type, count, volume, status, avg_size proj3 , symlink, 404, 13.91 KB, n/a, 35 proj3 , dir, 1279878, 5.98 GB, n/a, 4.90 KB proj3 , file, 43594251, 3.29 PB, new, 81.03 MB Total: 44874533 entries, 3704084238427042 bytes used (3.29 PB)

Page 21: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

21

DataMigra8onToolsComparisonoftoolsets

Page 22: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

22

DataMigra8onTools

–  Manydifferentop6onsavailable

•  LustrehassomeLustre-to-Lustrefilesystemreplica8onmechanisms

•  Manydifferentcopyapproachesavailable

•  Mostfilesystemmigra8onsatNCIoccuronaprojectbyprojectbasis–agradualmigra8onofprojectsfromafilesystembeingdecommissionedorrebalanced.

•  Op8onspresentedherehavebeenfoundviableforProject/datasetcopiesbetweenhighperformancefilesystems.

•  U8li8esareindependentofFilesystemtype(workfornon-lustre)anddonotrequireaspecificreleaseoflustre,andareavailabletoday.

Page 23: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

23

DataMigra8onTools

–  Tradi6onalcp•  cp –Rp /path/source /path/dest

•  Alwaysanop8on•  Manualhandlingrequiredtogetperformanceoutofit–buildandsplitlists,or

assignsubdirectories.

–  Tradi6onalRsync•  rsync -aAXS --numeric-ids -–many-many-options /path/source /path/dest

•  Smarterthancp•  Notpar8cularlywellop8mizedforverylargefilesorhighbandwidthcondi8ons•  Accurate,reliable,wellunderstood•  Canuseini8alcopytostagedataintoplace,followedbydifferen8alsync•  Manualhandling/scrip8ngrequiredtodistributeworkovermul8plenodes•  Largeamountsofdatawilltakealong8meifnotautomatedanddistributedto

mul8plenodes.

Page 24: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

24

DataMigra8onTools

–  Pfsync•  hhps://github.com/martymac/fpart•  hhp://manpages.ubuntu.com/manpages/wily/man1/fpsync.1.html

•  Automateworkdistribu8onandqueuingoverthetopofrsync•  Usesfparttobuildfilelists•  Hasqueuemanagertodistributefilelistsasjobstoworkerrsyncprocesses

•  Canusemostrsyncop8ons•  … -aAXS --numeric-ids -–many-many-options /path/source /path/dest

•  S8llnotpar8cularlyop8mizedforverylargefilesorhighbandwidthcondi8ons•  Easytounderstandwhatisgoingonasitisbasedonrsync•  Canuseini8alancopyanddifferencesynctostagedataintoplace

•  Needtofigureoutpar88onsizeparametersforop8malperformanceandwellbalancedworkloaddistribu8on

Page 25: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

25

DataMigra8onTools

–  dcp2(distributedcopy)•  hhp://fileu8ls.io•  hhps://github.com/hpc/fileu8ls/blob/master/doc/markdown/dcp.1.md•  MainContributors–LANL,LLNL,ORNL

•  MPIapplica8on-scalesverywell•  MPIapplica8on–singlenodefailureisfatal•  Mayneedtotunempirunparameters.

–  Canexceedmemoryonnode–  Mayneedtoadjustnumberofprocessesperhost–  Mayneedtosetmpirunbind-toop8ons

•  Limitedop8onscomparedtorsync•  Canbreaklowerperformingfilesystemswithload•  Recommenda8on-startlowwithfewernodesandprocesses,thenscaleuptests

Page 26: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

26

ExampleDataSet

–  Exampledatasetbuiltfortest•  TypicalNCIprojecthasmillionsoffiles•  Individualfilesizeiscommonlyinthe100MB-150MBrange•  Filescreatedusing

–  dd bs=1048576 count=100 if=/dev/urandom of=/randomfile.$number

•  /g/data1/proj/exampledata (4Millionfiles,400TB)>  /Bin1 (500,000x100MBfiles,50TB)

>  /Bin1A (100,000x100MBfiles,10TB)>  /Bin111 (10,000x100MBfiles,1TB)

>  /Bin1111 (1000x100MBfiles,100GB)>  /Bin2 (500,000x100MBfiles,50TB)

>  …>  ...

•  Lustrestripecount=1forallfiles(gdatafilesystemdefault)•  Gdata1=1.6PBfree,79%Used(whentestdatasetcreated)•  Gdata3=1.8PBfree,76%Used(atstartofeachcopyrun)

Page 27: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

27

SmallScaleTest(1T,10000files)

–  SmallScaleTest–Tradi6onalcp•  1TB•  10,000x100MBfiles•  66Minutes,12seconds.

# cp -Rp /g/data1/fu2/exampledata/Bin1/Bin1A/Bin111 /g/data3/fu2/exampletransfer/cptest/

•  iotop-cpperformingasingleprocesscopyatapprox.290-340MB/sec•  350MB/secisabouttheaveragewriteperformanceweexpectfromagdata1OST

bash-4.1# date; time cp -Rp /g/data1/fu2/exampledata/Bin1/Bin1A/Bin111 /g/data3/fu2/exampletransfer/cptest/; date Tue Sep 6 22:19:18 AEST 2016

real 66m12.661s user 0m0.514s sys 40m27.818s

Tue Sep 6 23:25:31 AEST 2016 bash-4.1#

Page 28: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

28

SmallScaleTest(1T,10000files)

–  SmallScaleTest–Tradi6onalRsync•  1TB•  10,000x100MBfiles•  4Hours,35Minutes

# rsync -aAXS --numeric-ids /g/data1/fu2/exampledata/Bin1/Bin1A/Bin111 /g/data3/fu2/exampletransfer/rsynctest/

•  iotop–rsyncperformingasingleprocesssyncatapprox35-75MB/sec•  DefaultRsync3.0.6fromCentos6.7Repo.Nocustomcompilerop8ons.

bash-4.1# date; time rsync -aAXS --numeric-ids /g/data1/fu2/exampledata/Bin1/Bin1A/Bin111 /g/data3/fu2/exampletransfer/rsynctest/; date Fri Sep 9 15:30:28 AEST 2016

real 261m14.329s user 79m46.624s sys 222m10.312s

Fri Sep 9 19:51:42 AEST 2016 bash-4.1#

Page 29: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

29

MediumScaleTest(10T,100000files)

–  MediumScaleTest–fpsync,16nodes•  10TB•  100,000x100MBfiles

•  Fpsyncrequiresthesizeandcountoftheworkerpar88onstobepassedtoitascommandparameters.

•  -nisthenumberofpar88ons(jobs)•  -fisthefilecountforeachpar88on•  -sisthesizeinbytesforeachpar88on

•  100,000files,10484019363840bytes(9.535TiB)

•  -n=nodesxcoresx2=16nodesx16coresx2=512

•  -f=numberfiles/#ofpar88ons=100000/512=200(roundup)

•  -s=numberofbytes/#ofpar88ons=10484019363840/512 =20476600320 =20480000000(roundup)

Page 30: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

30

MediumScaleTest(10T,100000files)

–  MediumScaleTest–fpsync,16nodes•  10TB•  100,000x100MBfiles

# /sbin/fpsync \-w 'r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25' -d /g/data3/fu2/fpsync_work

-t /g/data3/fu2/fpsync_tmp

-vv -n 512 -s 20480000000

-f 200 -o '-aAXS --numeric-ids’

/g/data1/fu2/exampledata/Bin1/Bin1A

/g/data3/fu2/exampletransfer/

| tee /g/data3/fu2/fpsync_16_node_10T_test.out

#

•  Runfpsyncinascreenortmuxsession•  teestdout/stderrtoatextfileforreview

Page 31: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

31

MediumScaleTest(10T,100000files)

–  MediumScaleTest–fpsync,16nodes•  16Nodes,512Par88ons(concurrentsyncjobs)•  10T,100000filescopied•  52Minutes

Syncing /g/data1/fu2/exampledata/Bin1/Bin1A => /g/data3/fu2/exampletransfer/ ===> Job name: exampletransfer-1473159046-27455 ===> Start time: Tue Sep 6 20:50:53 AEST 2016 ===> Concurrent sync jobs: 512 ===> Workers: r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 ===> Shared dir: /g/data3/fu2/fpsync_work ===> Temp dir: /g/data3/fu2/fpsync_tmp ===> Max files per sync job: 200 ===> Max bytes per sync job: 20480000000 ===> Rsync options: "-aAXS --numeric-ids“ ===> Use ^C to abort, ^T (SIGINFO) to display status ===> Analyzing filesystem... ===> [QMGR] Starting queue manager… ===>[QMGR] Starting job /g/data3/fu2/fpsync_tmp/work/exampletransfer-1473159046-27455/485 -> r24 <= [QMGR] Job 29881:r18 finished <= [QMGR] Job 2597:r13 finished <= [QMGR] Job 2172:r12 finished <=== [QMGR] Done submitting jobs. Waiting for them to finish. <=== [QMGR] Queue processed <=== Parts done: 511/511 (100%), remaining: 0 <=== Rsync completed without error. <=== End time: Tue Sep 6 21:42:03 AEST 2016

Page 32: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

32

MediumScaleTest(10T,100000files)

–  MediumScaleTest–dcp,16nodes•  10TB•  100,000x100MBfiles

•  dcponlyneedsthenumberofprocessestorun,andthehoststorunon•  Typicallyuseall16corespernode,16

# module load dcp/1.0-NCI2

# mpirun --allow-run-as-root -np 256 -H r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20,r21,r22,r23,r24,r25 /apps/dcp/1.0-NCI2/bin/dcp2 -p /g/data1/fu2/exampledata/Bin1/Bin1A /g/data3/fu2/exampletransfer/ #

•  Rundcpinascreenortmuxsession•  teestdout/stderrtoatextfileforreview

Page 33: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

33

MediumScaleTest(10T,100000files)

–  MediumScaleTest–dcp,16nodes•  16Nodes,256Processes•  10T,100000filescopied•  10minutes,16seconds.

[2016-09-06T17:07:30] [0] [../../../src/dcp2/dcp2.c:1404] Preserving file attributes. [2016-09-06T17:07:30] [0] [../../../src/dcp2/handle_args.c:297] Walking/g/data1/fu2/exampledata/Bin1/Bin1A [2016-09-06T17:07:40] [0] [../../../src/dcp2/dcp2.c:194] Creating directories. level=6 min=0 max=1 sum=1 rate=152.188099/sec secs=0.006571 level=7 min=0 max=8 sum=10 rate=260.205469/sec secs=0.038431 level=8 min=0 max=53 sum=100 rate=360.595619/sec secs=0.277319 level=9 min=0 max=0 sum=0 rate=0.000000/sec secs=0.000583 [2016-09-06T17:07:41] [0] [../../../src/dcp2/dcp2.c:363] Creating files. level=6 min=0 max=0 sum=0 rate=0.000000 secs=0.000230 level=7 min=0 max=0 sum=0 rate=0.000000 secs=0.000034 level=8 min=0 max=0 sum=0 rate=0.000000 secs=0.000023 level=9 min=59 max=11772 sum=100000 rate=1617.795179 secs=61.812522 [2016-09-06T17:08:42] [0] [../../../src/dcp2/dcp2.c:801] Copying data. [2016-09-06T17:16:26] [0] [../../../src/dcp2/dcp2.c:1165] Setting ownership, permissions, and timestamps. [2016-09-06T17:17:46] [0] [../../../src/dcp2/dcp2.c:1505] Syncing updates to disk. [2016-09-06T17:17:47] [0] [../../../src/dcp2/dcp2.c:124] Started: Sep-06-2016,17:07:30 [2016-09-06T17:17:47] [0] [../../../src/dcp2/dcp2.c:125] Completed: Sep-06-2016,17:17:46 [2016-09-06T17:17:47] [0] [../../../src/dcp2/dcp2.c:126] Seconds: 615.986 [2016-09-06T17:17:47] [0] [../../../src/dcp2/dcp2.c:127] Items: 100111 [2016-09-06T17:17:47] [0] [../../../src/dcp2/dcp2.c:128] Directories: 111 [2016-09-06T17:17:47] [0] [../../../src/dcp2/dcp2.c:129] Files: 100000 [2016-09-06T17:17:47] [0] [../../../src/dcp2/dcp2.c:130] Links: 0 [2016-09-06T17:17:47] [0] [../../../src/dcp2/dcp2.c:132] Data: 9.535 TB (10484019363840 bytes) [2016-09-06T17:17:47] [0] [../../../src/dcp2/dcp2.c:136] Rate: 15.851 GB/s (10484019363840 bytes in 615.986 seconds)

Page 34: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

34

MediumScaleTest(10T,100000files)

–  MediumScaleTest–dcpvsfpsync,16nodes–  AggregateOSTthroughput

SourceFilesystem:Gdata1–25.92GB/secReadpeak

Des8na8onFilesystem:Gdata3–18.62GB/secWritepeak

dcp

FPsync

Page 35: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

35

MediumScaleTest

–  MediumScaleTest–dcpvsfpsync•  10TB•  100,000x100MBfiles•  16Nodes

–  Results•  Fpsync–52Minutes•  dcp–10Minutes,16Seconds

–  WhataboutFpsync,re-runwithnochanges?•  2ndpassFpsync,nodatachanges–3Minutes,33Seconds

–  But…•  Bewareofpoten8alpar88onimbalancewithfpsyncifplanninga2phasetransfer,ie

bulkdatastagedintoplaceinthebackground,then‘offline’differen8alsyncrun.•  Alargenumberof”newfiles”mayendupinfewbinsforthedifferen8alsync,which

willresultinjustafewrsyncprocessesdoingthework.

Page 36: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

36

LargeScaleTest(50T,500000files)

–  LargeScaleTest–dcp,16nodes•  50TB•  500,000x100MBfiles

# module load dcp/1.0-NCI2

# mpirun --allow-run-as-root -np 256 -H r10,r11,r12,r13,r14,r15,r16,r17,r18,r19,r20,r21,r22,r23,r24,r25 /apps/dcp/1.0-NCI2/bin/dcp2 -p /g/data1/fu2/exampledata/Bin1 /g/data3/fu2/exampletransfer/ #

Page 37: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

37

LargeScaleTest(50T,500000files)

–  LargeScaleTest–dcp,16nodes•  16Nodes,256Processes•  50T,500000filescopied•  41minutes,10seconds.

[2016-09-06T10:36:22] [0] [../../../src/dcp2/dcp2.c:1404] Preserving file attributes. [2016-09-06T10:36:22] [0] [../../../src/dcp2/handle_args.c:297] Walking /g/data1/fu2/exampledata/Bin1 [2016-09-06T10:36:31] [0] [../../../src/dcp2/dcp2.c:194] Creating directories.

level=5 min=0 max=1 sum=1 rate=16.317455/sec secs=0.061284 level=6 min=0 max=4 sum=5 rate=281.455356/sec secs=0.017765 level=7 min=0 max=23 sum=50 rate=339.404297/sec secs=0.147317 level=8 min=0 max=105 sum=500 rate=561.026242/sec secs=0.891224 level=9 min=0 max=0 sum=0 rate=0.000000/sec secs=0.000504

[2016-09-06T10:36:32] [0] [../../../src/dcp2/dcp2.c:363] Creating files. level=5 min=0 max=0 sum=0 rate=0.000000 secs=0.000195 level=6 min=0 max=0 sum=0 rate=0.000000 secs=0.000048 level=7 min=0 max=0 sum=0 rate=0.000000 secs=0.000055 level=8 min=0 max=0 sum=0 rate=0.000000 secs=0.000053 level=9 min=1410 max=11169 sum=500000 rate=5297.825804 secs=94.378339

[2016-09-06T10:38:06] [0] [../../../src/dcp2/dcp2.c:801] Copying data. [2016-09-06T11:15:43] [0] [../../../src/dcp2/dcp2.c:1165] Setting ownership, permissions, and timestamps. [2016-09-06T11:17:41] [0] [../../../src/dcp2/dcp2.c:1505] Syncing updates to disk. [2016-09-06T11:17:41] [0] [../../../src/dcp2/dcp2.c:124] Started: Sep-06-2016,10:36:22 [2016-09-06T11:17:41] [0] [../../../src/dcp2/dcp2.c:125] Completed: Sep-06-2016,11:17:41 [2016-09-06T11:17:41] [0] [../../../src/dcp2/dcp2.c:126] Seconds: 2479.272 [2016-09-06T11:17:41] [0] [../../../src/dcp2/dcp2.c:127] Items: 500556 [2016-09-06T11:17:41] [0] [../../../src/dcp2/dcp2.c:128] Directories: 556 [2016-09-06T11:17:41] [0] [../../../src/dcp2/dcp2.c:129] Files: 500000 [2016-09-06T11:17:41] [0] [../../../src/dcp2/dcp2.c:130] Links: 0 [2016-09-06T11:17:41] [0] [../../../src/dcp2/dcp2.c:132] Data: 47.676 TB (52420096819200 bytes) [2016-09-06T11:17:41] [0] [../../../src/dcp2/dcp2.c:136] Rate: 19.691 GB/s (52420096819200 bytes in 2479.272 seconds)

Page 38: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

38

LargeScaleTest(50T,500000files)

–  LargeScaleTest–dcp,16nodes–  OSSAc8vity

SourceFilesystem:Gdata1–26.55GB/secReadpeak

Des8na8onFilesystem:Gdata3–19.39GB/secWritepeak

Page 39: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

39

LargeScaleTest(50T,500000files)

–  LargeScaleTest–MDSac8vity

Createfilesphase900K/secgetahr140K/secgetxahr250K/secopen/close

Copydataphase

SetahributePhase400K/secsetahr250k/secsetxahr

Page 40: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

40

XLargeScaleTest(400T,4000000files)

–  XLargeScaleTest–dcp,32nodes•  32Nodes,512Processes•  400T,4000000filescopied•  4hours,28minutes.

[2016-09-09T17:22:15] [0] [../../../src/dcp2/handle_args.c:297] Walking /g/data1/fu2/exampledata 2016-09-09T17:22:26: Items walked 876930 ... 2016-09-09T17:22:36: Items walked 2419596 ... 2016-09-09T17:22:46: Items walked 3931513 ... [2016-09-09T17:22:47] [0] [../../../src/dcp2/dcp2.c:194] Creating directories. level=4 min=0 max=1 sum=1 rate=13.721943/sec secs=0.072876 level=5 min=0 max=6 sum=9 rate=54.749891/sec secs=0.164384 level=6 min=0 max=19 sum=50 rate=544.740274/sec secs=0.091787 level=7 min=0 max=78 sum=400 rate=449.789867/sec secs=0.889304 level=8 min=0 max=275 sum=4000 rate=1083.729755/sec secs=3.690957 level=9 min=0 max=0 sum=0 rate=0.000000/sec secs=0.002009 [2016-09-09T17:22:52] [0] [../../../src/dcp2/dcp2.c:363] Creating files. level=4 min=0 max=0 sum=0 rate=0.000000 secs=0.000183 level=5 min=0 max=1 sum=1 rate=261.849419 secs=0.003819 level=6 min=0 max=0 sum=0 rate=0.000000 secs=0.000055 level=7 min=0 max=537 sum=10000 rate=2702.808733 secs=3.699855 level=8 min=0 max=0 sum=0 rate=0.000000 secs=0.000235 level=9 min=6711 max=25166 sum=4000000 rate=7930.196887 secs=504.401096 [2016-09-09T17:31:20] [0] [../../../src/dcp2/dcp2.c:801] Copying data. [2016-09-09T21:41:45] [0] [../../../src/dcp2/dcp2.c:1165] Setting ownership, permissions, and timestamps. [2016-09-09T21:50:53] [0] [../../../src/dcp2/dcp2.c:1505] Syncing updates to disk. [2016-09-09T21:50:54] [0] [../../../src/dcp2/dcp2.c:124] Started: Sep-09-2016,17:22:15 [2016-09-09T21:50:54] [0] [../../../src/dcp2/dcp2.c:125] Completed: Sep-09-2016,21:50:53 [2016-09-09T21:50:54] [0] [../../../src/dcp2/dcp2.c:126] Seconds: 16118.851 [2016-09-09T21:50:54] [0] [../../../src/dcp2/dcp2.c:127] Items: 4014461 [2016-09-09T21:50:54] [0] [../../../src/dcp2/dcp2.c:128] Directories: 4460 [2016-09-09T21:50:54] [0] [../../../src/dcp2/dcp2.c:129] Files: 4010001 [2016-09-09T21:50:54] [0] [../../../src/dcp2/dcp2.c:130] Links: 0 [2016-09-09T21:50:54] [0] [../../../src/dcp2/dcp2.c:132] Data: 382.360 TB (420409176491557 bytes) [2016-09-09T21:50:54] [0] [../../../src/dcp2/dcp2.c:136] Rate: 24.291 GB/s (420409176491557 bytes in 16118.851 seconds)

Page 41: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

41

XLargeScaleTest(400T,4000000files)

–  XLargeScaleTest–dcp,32nodes–  OSSAc8vity

SourceFilesystem:Gdata1–28.51GB/secReadpeak

Des8na8onFilesystem:Gdata3–24.05GB/secWritepeak

Page 42: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

42

XLargeScaleTest(400T,4000000files)

–  XLargeScaleTest–MDSac8vity

Gdata1MDS(source)-DirectoryWalk4.03Milliongetahrs/sec868Kgetxahr/sec

Page 43: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

43

ResultsComparison

–  ResultsComparison

*Indicatesaddi8onaltestsnotincludedinpresenta8onforcomparisonpurposes

66

243

52

168

1041

351

834

268

0

50

100

150

200

250

300

350

400

450

0

50

100

150

200

250

300

350

400

1TB10Kx100MBFiles

10TB100Kx100MBFiles

50TB500Kx100MBFiles

400TB4Mx100MBFiles

TBCop

ied

CopyTim

e(M

inutes)

CopyTimevsDataCopied

cp1Node1Process

Rsync1Node1Process

FPsync16Nodes512Par88ons

dcp216Nodes256Processes

dcp232Nodes512Processes

DataCopied

*

*

*

*

Page 44: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

44

DataMigra8onProcessNCIApproachtoDataMigra8on

Page 45: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

45

DataMigra8onProcess

–  NCIapproachforatypicalprojectleveldatamigra6on•  SetQuotaonDes8na8onFilesystem•  StopNFSexportsforprojectdirectorybeingrelocated•  Moveprojectintorestrictedaccesssourcemigra8ondirectory

–  Rootonlyaccessibledirectorywithobviousname–  drwx------ 5 root root 4096 Mar 10 02:53 migration_in_progress_g1_to_g3 –  mv /g/data1/projectID /g/data1/migration_in_progress_g1_to_g3

•  Targetdirectoryissimilarlyconfigured–rootaccessonly

•  Breakupprojectcontents(usuallyonfirstlevelsubdir)intosmallerdcpruns

•  Compare/Checksumsourceanddes8na8on–  Buildalistofallfilesinbothsourceanddestusingfindwithpriny,Combinelists,

awk|sed|sort.Diffoutput–  RunfpartandfeedNCIcustombuiltMPImd5sumtool.

•  Correctanymismatchedfiles–createafilelistwithpaths,splitthelist,usersync.Typicallynoneorveryfewfilesneedre-sync.

•  Movedataoutofrestrictedtargetdirectoryondes8na8onfilesystem•  Re-establishNFSexports

Page 46: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

46

DataMigra8onProcess

–  DataMigra6oninPrac6ce-example

•  September2015•  2.4PBProject,migratedfromGdata1toGdata3•  Dura8onincludesallstages(DataCopyandVerify)

•  Start:1800Tues8Sept2015•  End:1330Thurs10Sept2015•  Dura8on:43h30m•  DataCopied:2473TB•  Items:39255806(39.26Million)

Page 47: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

47

Issues&Futurework

–  Encounteredabugindcp2,fixcommibedupstream

Page 48: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

48

Issues&Futurework

–  HSMIntegra6on•  IfthedataispartofaLustreHSMsystem(dualstate),howdoweavoidre-writeson

asharedtapesystem.•  Ifthedataismigra8ngoffline(taperesident),howdoweavoidrecallingalldata

fromtape.•  Needtotestbothscenarios.

–  ImprovescalabilityofValida6onProcesses•  Testdcmp(distributedcompare)aspartofthefileu8ls.iosuite

–  BuilddedicatedMigra6on/FilesystemLoadTestCluster•  Gdata1willbedecommissionedlate2016–early2017.•  Reuse44xOSSesfromgdata1whendecommissioned•  OSSesareDellR620DualE5-2620,6C,2.0GHz,256GBRAM,FDRInterconnect•  RebuildasIOLoadTestandMigra8onCluster

Page 49: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

49

Ques8ons?

Page 50: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

nci.org.au

@NCInews

ProvidingAustralianresearcherswithworld-classcompu8ngservices

W

NCIContactsGeneralenquiries:+61261259800Mediaenquiries:+61261254389

Support:[email protected]

Address:NCI,Building143,WardRoad

TheAustralianNa8onalUniversityCanberraACT2601

Australia

Page 51: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

51

ExtraSlides

Page 52: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

52

FPsyncslowramp

–  FPsynchasagradual(gentle)ramp.16node,50T,500000files–  Sundayevening,verylihlebackgroundIO.Fpsyncachieving5.5GB/sec.

Gdata1MDS(sourcefs)133000getahr/secpeak120Kpeak,decreasingto18Kavggetxahr/sec

Page 53: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

53

FilesystemStall

–  LargeScaleTest–dcp,16node,400T,4Mill.files-BRWSizes–  1xOSSinGdata1isinheavyIOwait,allprocessesaffected.

ZabbixeventID960602:Wed7Sept2016-00:38Trigger:DiskI/Oisoverloadedonnoss62-gige.lustre-gige.nciItemvalues:CPUiowait8me(noss62-gige.lustre-gige.nci:system.cpu.u8l[,iowait]):67.66%

Page 54: Lustre Admins & Developers Workshop 2016 Petascale Data ...€¦ · nci.org.au @NCInews Providing Australian researchers with world-class compu8ng services Lustre Admins & Developers

54

MemoryErrorsonNode

–  MCE/ECCCorrectableerrors•  HighCorrectablememoryerrorcountdetectedbysystemmonitoring•  OccurredduringSeptember2015migra8onexample•  Mul8-petabytemigra8onseparatedintosmallerdcpjobstominimizeimpactof

hardwarefailure.•  Noderemovedfromservice•  Affectedjobrestartedtoexcludenode

compute r9: STATUS 8c000048000800c2 MCGSTATUS 0 compute r9: MCGCAP 1000c14 APICID 0 SOCKETID 0 compute r9: CPUID Vendor Intel Family 6 Model 45 compute r9: Hardware event. This is not a software error. compute r9: MCE 4 compute r9: CPU 0 BANK 5 compute r9: MISC 21400e0e86 ADDR 17b81ad80 compute r9: TIME 1441704575 Tue Sep 8 19:29:35 2015 compute r9: MCG status: compute r9: MCi status: compute r9: Corrected error compute r9: MCi_MISC register valid compute r9: MCi_ADDR register valid compute r9: MCA: MEMORY CONTROLLER RD_CHANNEL2_ERR compute r9: Transaction: Memory read error