Professional Documents
Culture Documents
Snapshot All Too Gooood
Snapshot All Too Gooood
Presentation goals
PA'( I
I entif) the pro!"em Demonstrate simp"e SNAPDIFF Intro uce notion of section *+roup, Fi"ters
PA'( II
Comp"e- SNAPDIFF Importe fi"es .oine fi"es #eta ata an formu"ae /oa an un"oa
/afs/tor/u/evansd/public/bin/snapdiff
The problem
1% E-periments create "ar+e amounts of measurement ata 2% Data is hetero+eneous% 0% 1sefu" ata *a"most, a"2a)s invo"ves mu"tip"e measurement captures over time interva"s% *e%+% snapshots,% 3% (he num!er of atasets rapi ") e-cee s human a!i"it) to +ain much insi+ht or 4no2"e +e from the ra2 fi"es 5% Automate ata capture scripts can easi") +enerate o6ens or hun re s of reports
(ime 8
(ime 91
(ime 92
Snapshots Snapshots
Snapshots Snapshots
Snapshots Snapshots
!2p !2p
!2p !2p
!2p !2p
7ther
7ther
7ther
A Key to analysis
;hat is chan+in+ over time < B) ho2 much < In re"ation to 2hat other measurements<
A solution. With absolute minimal editing , recogni ing a !ide array o" input datasets.
'eco+ni6e Name > ?a"ue pairs *Name !ecomes canonica" 2ithin the scope of a stu ) session @ i%e% it is invariant an if more than one source spea4s to the measurement, the names must a+ree, or !e coerce to o so *norma"i6e ,,% I+nore a"" other ata Si eA!)Asi e presentation of ata Fi"ters Interactive fee" , * B1( te-t termina" simp"icit) A no BC$DE F1I * i%e% accept irt) an mess) input atasets , *eas) to spot chan+es in va"ues,
E-tensi!"e resu"ts
= &afs&tor&u&evans &pu!"ic&!in&snap iff
Additionally
'eco+ni6e the time a-is Assume that the ata is coherent *an in phase more or "ess, Sort an) output co"umn A""o2 ata to !e presente !) ro2, or !) co"umn *a"on+ the time a-is, or o2n the time a-is, A""o2 +ranu"arit) of ata co""ection to !e mo ifie *s4ip measuremts,
snapdi""
#uic$ e%ample
Customer comp"aintJ A #u"tiAhour !enchmar4 A DB2 I%G Statement Concentrator A 'un +oes south after hour 2 hours #easurementsJ Inc"u e a series of )namic statement snapshots, ever) 18 minutes, appen e in a sin+"e fi"e% 2hi"e K 8 L @ o !2p )n MM !2p N )n%out @ s"eep 088 @ one 'esu"tJ 0335=HI #a) 28 10J8G !2p N )n%out
I
;e notice that the pac4a+e cache stan6a repeats, separate !) "ar+e statement umps% /etPs +rep that out%
18
18
Better% ;e can at "east scro"" o2n the *in this case 0G, atasets an see if 2e can see an)thin+% (his is pro!a!") as far as 2e usua"") +et usin+ stan ar too"s%
11 &afs&tor&u&evans &pu!"ic&!in&snap iff
11
snapdi""
e+rep Ap QRD)namic CacheJSRData!ase partitionT S se Ae Ts&K8AIL& > C&T M miniNsnaps *Simp") a s Q > Q , to create name > va"ue pairs , % !2p N )n%out
12
12
10
10
13
13
snap iff Aroh T/o+ +ap runnin+ avera+eT A48 A"oa poo"N !Ne u Aon")pivot Apf Tper secon Sprefetch%UsecSNDe"ta Num!er 2rite "o+ I7sSNPrimar) Stan
15
15
1=
1=
1G
1G
1H
1H
1I
1I
*impli"y. +et rid o" sections. *ort . +et rid uninteresting data.
28
28
21
21
?arious snapshots have repeatin+ +roups Snap iff automatica"") etects certain +roups * ata!ase, !ufferpoo", ta!"espace,% Datapoints 2ithin sections are qua"ifie !) the section name Can turn off 2ith nosection Can ec"are an) atapoint a section e"imiter usin+ Asection Qmeasurement nameW *2here Qmeasurement nameW is a re+e- that 2i""" !e use to i entif) a atapoint name so ma4e it uniqueE,
22
22
20
20
*o !hat is ,p"' -abbre&iation o" 2p"ilter. /Post -data ingestion. "ilter0. A fi"ter app"ie after a"" atasets are in+este *an have ha meta ru"es app"ie if present,% A"so f *Afi"ter, , operates on incomin+ ataset * roppin+ atapoints that o not qua"if),% Ear"iest fi"ter% Af an pf usua"") i entica" resu"ts un"ess usin+ fancier options *A meta, Aimport ,% Af is faster *since rops the ata much sooner, , !ut "oss) for meta processin+% Asfi"ter Xre+e-pM , fi"ters 2ho"e sections% e%+%J
23
23
3iltering sections
B(;J formatte
25
25
,import .
A
e%+% import ata!aseNsnapshot to !ufferpoo"Nsnapshot Sections not reco+ni6e *mi+ht&pro!a!") 2i"" enhance this, A"" importe +roups% ata is Q+"o!a"W *unqua"ifie , re+ar "ess of interna" repeatin+ atapoints roppe
Dup"icates in import
An) name > va"ue ata can !e importe Data shou" !e coherent *i%e% re"ate , An) num!er of separate sources can !e importe at once Can import one ataset *e%+% constants,, or count* primar) , atasets *coherent measuremets,
2= &afs&tor&u&evans &pu!"ic&!in&snap iff
2=
2G
2G
2H
2H
2I
2I
1% I+nore * rops ups, 2% Za"t *stops 2ith error on up, 0% 'ep"ace *so "ast up 2ins, 3% A++re+ate *sum, 5% Se+re+ate *automatica"") +enerate mo ifie name *ND1PNn, ,
08
08
01
01
P567T &ie!s
Freat for o!servin+ "ar+e num!ers of measurements Best 2ith ver) se"ective fi"ters *so to fit on the screen,
02
02
00
00
03
03
05
05
0=
0=
snap iff A< for comp"ete *more or "ess, he"p !2service ;i4i comin+ soon% /ocation of script *Per",J &afs&tor&u&evans &pu!"ic&!in&snap iff
9A*T *95DE
*T7P (E)E
0G
0G