ca idms buffer tuning

Post on 09-Jan-2017

41 Views

Category:

Technology

7 Downloads

Preview:

Click to see full reader

TRANSCRIPT

World®’16

CAIDMS™BufferTuning

JohnSiraco,Director,SoftwareEngineeringCATechnologies

MFX106S

MAINFRAMEANDWORKLOADAUTOMATION

2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.

Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.

ForInformationalPurposesOnlyTermsofthisPresentation

3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Abstract

Thissessiongivesyouanoverviewofdatabaseandjournalbuffersandhowtheywork,aswellashowtotuneyourbuffersforperformance.YouwilllearnhowtosizeyourdatabaseandjournalbufferpoolsforperformanceandhowtotunebufferstoimprovezIIPusage.

JohnSiraco

CATechnologiesDirector,SoftwareEngineering

4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Agenda

DEFININGANDCHANGINGADATABASEBUFFER

DEFININGAJOURNALBUFFER

ZIIPPROCESSING

THEDIFFERENCEBETWEENDATABASEANDJOURNALBUFFERS

HOWBUFFERSWORK

RECOVERY

1

2

3

4

5

6

5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DefiningaDatabaseBuffer

§ Bullet1,Calibriregular24pt– Sub-bullet,Calibriregular20pt

§ Sub-sub-ullet,Calibriregular18pt– Sub-sub-subBullet,Calibri

regular16pt

§ Sub-sub-sub-subBullet,Calibriregular16pt

6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DCMTDisplayBufferDEFAULT_BUFFER

7 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DCMTDisplayBufferDEFAULT_BUFFERLOC

8 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DCMTVaryBufferDEFAULT_BUFFERMAX100000

9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DCMTVaryBufferDEFAULT_BUFFERINI20000

10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DCMTVaryBufferDEFAULT_BUFFERADD10000

11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DCMTVaryBufferDEFAULT_BUFFERCLOSE

12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DCMTVaryBufferDEFAULT_BUFFEROPEN

13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DCMTDisplayBufferDEFAULT_BUFFERLOC

14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DCMTVaryBufferDEFAULT_BUFFER40000

15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DCMTDisplayBufferDEFAULT_BUFFERLOC

16 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DCMTVaryBufferDEFAULT_BUFFER45000

17 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DCMTDisplayBufferDEFAULT_BUFFERLOC

18 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DCMTVaryBufferDEFAULT_BUFFER41000

19 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DCMTDisplayBufferDEFAULT_BUFFERLOC

20 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DCMTVaryBufferDEFAULT_BUFFER46000

21 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DefiningaJournalBuffer

22 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DCMTDisplayBUFFERJNL_BUFFER

23 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DCMTDisplayBUFFER

24 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DatabaseandJournalFilesandBuffers

25 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DatabaseandJournalFilesandBuffers

26 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DatabaseFilesandBuffers

27 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

JournalFileandBuffers

28 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

JournalFileandBuffers

29 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DatabaseReadIntobuffer

30 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DatabaseUpdateinBuffer

31 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

AfterImageisBuiltinJournalBuffer

32 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

WritetoJournal

33 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

WritetoDatabase

34 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DatabaseUpdate,AllBuffersHave‘Mustwriteswitch’Set

35 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DatabaseUpdate,WriteJournalFirst

36 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

JournalBufferandI/O

37 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

JournalI/O

38 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

JournalI/O

39 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

JournalI/O

40 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DCMTDisplayBuffer

ThisshowsuponaDCMTDisplayBuffer,orDCMTDisplayBufferjournal-bufferas:WaitsonpriorI/O3:

41 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

JournalI/OErroronRBN100

§ StopJournaling§ SetHighRBNto99§ Swaptothenextjournal§ CAIDMS™takesjournalbuffersforRBN100– 107andwritestothe

newjournal§ Restartjournaling

42 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

JournalI/OErroronRBN100

§ Whenrecovery,eitherautomaticrecoveryorwarmstart,ortheArchiveJournalreadstheoldjournal,itwillstopatRBN99

§ TheywillnotreadRBN100§ EventhoughRBN102,103and105weresuccessfullywrittentotheold

journal,thehighRBNof99willstopCAIDMSfromaccessingRBNs102,103and105

43 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DCMTDisplayBuffer

ThisshowsuponaDCMTDisplayBuffer,orDCMTDisplayBufferjournal-bufferas:Waits0

44 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DCMTDisplayBuffer

§ Ifyouhave8journalbuffers,andallarewaitingforI/O,the9thtransactionwillwaitforajournalbuffer.

§ ThisshowsuponaDCMTDisplayBuffer,orDCMTDisplayBufferjournal-bufferas:Waits1

45 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

JournalBufferandI/O

§ IftheWaitcountisanythingbut‘0’,thenaddbufferstothejournalbuffer§ Anadditional1or2makeatremendousdifference

46 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

JournalI/O

§ IfWaitsonPriorI/Oishigh,thenthebottleneckismostlikelythejournalitself

§ TheI/Oistakingtoolong- addingbufferstotheJournalBufferwillNOThelpthesituation

§ Talktothesystem’sgroup,andseeiftheI/Ospeedtothejournalcanbeimproved

47 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

JournalBufferPool- Recovery

48 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

DCMTDisplayBuffer

49 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

JournalBufferPoolRecovery§ Recoverywilllookinthejournal

buffersfirst,toseeifthejournalimagesarestillinthebuffers

§ Iftherearemorejournalimagesthatarenotinthebuffers,CAIDMSwillreadthejournalbackwards

§ MostDASDisCachedatthedevicelevel– Cacheworkslikeabufferpoolhowever,itisbuilttoworkinaforward

direction,notbackwardslikerecovery– Warmstart willreadthejournalbackwards– Makesureapplicationsissuecommits,sowarmstart doesnothavetoread

manyblocksbackwards

50 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

zIIPProcessing

§ TheonlyprocessingdoneinTCBmodeis:– I/O,SVCexecution,andUserModecode

§ ADS,COBOL,DBProcedures,SYSTEMExits

§ Allotherprocessingisdoneonthespecialtyprocessor(zIIP)

§ ByreducingI/O,youwillincreasezIIP utilization

§ IncreaseDatabaseBufferswherepossible

51 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Summary

§ IncreaseDatabasebufferstoreduceI/O

§ IncreaseJournalbufferstohelprecovery

§ ReducingI/OwillhelpzIIPprocessing

52 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

RecommendedSessionsSESSION# TITLE DATE/TIME

MFX100S StrategyandVisionforCAIDMS 11/16/2016at12:45pm

MFX101S LegacyisnotaDirtyWord 11/16/2016at1:45pm

MFX102S CAIDMS19.0WebServicesforModernization 11/16/2016at3:00pm

MFX103S CAIDMS19.0SQLEnhancementsforModernization 11/16/2016at3:30pm

MFX104S JavaAccesstoCA-IDMSDataatBT(BritishTelecom) 11/16/2016at4:45pm

MFX105SImplementationandUseofGenericVTAMResourceswithParallelSYSPLEXFeatures(CA andCAXIA)

11/17/2016at12:45pm

MFX106S CAIDMSBufferTuning 11/17/2016at1:45pm

MFX107S M3AServicesMonitor,Measure,ManageandAlert 11/17/2016at3:00pm

MFX108S BirdsofaFeather/StumptheTechie! 11/17/2016at3:45pm

53 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Questions?

54 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Stayconnectedatcommunities.ca.com

Thankyou.

@CAWORLD#CAWORLD ©2016CA.AllRIGHTSRESERVED.55 @CAWORLD#CAWORLD

MainframeandWorkloadAutomation

FormoreinformationonMainframeandWorkloadAutomation,pleasevisit:http://cainc.to/9GQ2JI

top related