Вы находитесь на странице: 1из 18

GPRS Query training

1
Objectives of the course
After completing this course, the delegate will be able to:
a) select the most appropriate query for the type of analysis
b) design the query in the most efficient manner
c) use queries for both structured and ad-hoc analysis methods
This course steps through the different types of queries, teaching each method through
real world scenarios, from simple queries and building in complexity, to give engineers
the understanding and confidence to design their own queries from the minute the course
ends.
The examples in this course note should be followed, but it is not recommended that the
expressions are copied pasted into the !xpression "uilder, as hidden formatting
characters from #$ %ord may also be copied, causing errors in how the event runs.
Course Pre-Requisites
&elegates must have completed the 'latform Training before beginning this (uery
Training course. This course documentation provides screenshots based on "uild
).*+.**,-. with specific settings enabled in Tools / 'references !ach '0 should be set in
an identical manner. $ubsequent releases may include differences in averages or message
totals due to different features being introduced in the future.
Parameters Used
1n 2igure , it is possible to see 3 groups available for a 4'5$ analysis:
4'5$ &ata
&ata Testing.
Figure 1: GPRS Analysis parameters.
GPRS Data
2
GPRS L3
In this directory the information about the MS-SGSN procedures are displayed
Figure 2: GPRS L3 attributes.
Mobility Management
!he attributes allo" the analysis of the mobility procedures#
attach and detach
P-!MSI allocation and reallocation
routin$ area update
net"or% parameters &MN'( M''( L)'( R)'( etc*
radio access capabilities
Session Management
!he attributes allo" the analysis of the PdP conte+t procedures( accessed )PNs
and related ,oS information
GPRS RM)'
In this directory there are all the attributes related to the RL'-M)' layer !hese
parameters are related to the multiple+in$ of pac%et data o.er the physical air
interface

Figure 3: GPRS RMAC attributes.
Dedicated radio link
!his contains radio messa$es information( !imin$ )d.ance( 'odin$ Scheme(
Number of timeslots used
TBF Info
!his contains information about !/0 &!emporary /loc% 0lo"* assi$nment and !/0
number &!0I*
Downlink Measurements
1e ha.e information about the radio lin% le.el &' 2alue* and /3R &R+ ,ual*(
collected from the Pac%et 4o"nlin% )c%no"led$ements
3
Data testing
!his directory includes the information collected on data ser.ices from the sin$le
dri.e test tools and unified in a common terminolo$y !he follo"in$ sections define
the terminolo$y used in the S2S product
Figure 4: Data esting attributes.
Session or Service
) Session or Service starts "ith the phone connectin$ to the data ser.ices and
ends "ith the disconnection It normally contains a series of Tasks to be carried out
Sometimes a set of tas%s is iterated in se5uence
Task
!his defines a sin$le user-defined process( "hich operates o.er a "ell defined
period of time &ie it has a start and a stop*( such as an 0!P file do"nload( a PING
command( or a "eb pa$e do"nload )ll .endors ha.e a series of pre-defined tas%s
and some allo" the user to define custom tas%s of their o"n
!hese tas%s must be considered to be completely user-defined and are totally
independent of the )pplication or Protocol&s* used to perform the tas%# In the same
6
"ay that the content of a .oice call is specified by the user and is independent of the
mechanisms used to transmit the information
Figure !: Sessi"ns an# as$s.
Application
)t the most $eneral le.el( an application is a piece of soft"are that the user runs to
transfer data across the net"or% In practice( it "ill usually be somethin$ li%e an 0!P
client or a 1eb bro"ser
Protocol
) !as% usually uses a sin$le protocol &e$ an 0!P client may use 74P* and
there"ill usually be a mappin$ bet"een an )pplication and a specific Protocol &e$ a
PING pro$ram "ill use I'MP*
In $eneral( attributes are measured at the application layer &e$ )pplication
!hrou$hput* and at different layers in the protocol stac% &e$ IP !hrou$hput*
Lo$$in$ tools may pro.ide attributes from different layers in the protocol stac% &e$
74P8!hrou$hput* 1e can use a unified attribute that allo"s measurements at
different layers to be displayed in a consistent "ay "ithout ha.in$ to ha.e separate
attributes for each one - ie instead of#
1)P84elay87L
0!P8!hrou$hput84L
9!!P8/ytes87L
PING8R!!
1e ha.e#
)pp84elay
)pp8!hrou$hput84L
)pp8/ytes87L
)pp8R!!
and#
!as%8)pp8Protocol
!as%8Name
!he attribute !as%8)pp8Protocol is an enumeration for !'P( 74P( I'MP etc and is
deri.ed from the standard ports used for these protocols !as%8name is a
userspecified identifier for the !as% "hich could be anythin$ e$ Lar$e1eb(
Small0!P( etc
:
!he 4ata !estin$ attributes are $rouped in : sets#
Application Measurements
!hese are the reported ;instantaneous< .alues e$ instantaneous throu$hputs( error
rates etc( measured at the )pplication layer
onnection
)ttributes that relates to the data session are contained here
Task Settings
)ttributes that are related to the specific tas% e$ the !as% I4( !as% name &user
specified*( etc
Task Summary
Measurements reported at the end of a tas% = or calculated from instantaneous
measurements and reported at the end e$( ma+-min-a.era$e throu$hput durin$ the
tas%
Note related to the data collection# it is ob.iously important to test all application
protocols o.er GPRS &0!P( 9!!P( SM!P(P>P3 etc* but $enerally the continuous
nature of 0!P ma%e it the most appropriate for dri.e testin$ as data flo" is
continuous
Query Design
Overa GPRS !naysis crosstab query
6ogfile: 4'5$ !xample ,.dt,
7ame: 8verall 4'5$ Analysis
Aim: To generate 9'1:s statistics to be calculated on a file or a superstream of more files.
&efinition: 4enerate an overall crosstab query to calculate the following 9'1:s:
7umber of Attach 5equest
7umber of Attach Accept
7umber of Attach Abort
7umber of '&' 5equest
7umber of '&' Accept
7umber of '&' Abort
7umber of Application $uccess
7umber of Application 2ailures
7umber of 5A; 5equest
7umber of 5A; $uccess
7umber of 5A; 2ailures.
'rocedure:
,) 6oad file 4'5$ !xample ,.dt,
3) 8pen the Analysis #anager and select the 0rosstab query wi<ard.
+) !nter the title of 8verall 4'5$ Analysis
)) 0reate the new &imension with &escription Constant, !xpression 1 and 2ormat
64-bit integer, as shown in 2igure =:
?
Figure %: De&initi"n "& t'e #imensi"n C"nstant.
.) 7ow add the list of statistics described at the beginning of the exercise, following the
specification at Table ,:
Name Method Expression Format Filter
7umber of
Attach
5equest
0ount , 0ount 4'5$>##>#sg>Type ?? ,
7umber of
Attach
$uccess
0ount , 0ount 4'5$>##>#sg>Type ?? 3
7umber of
Attach Abort
0ount , 0ount 4'5$>##>#sg>Type ?? )
7umber of
'&' 5equest
0ount , 0ount 4'5$>$#>#sg>Type ?? =.
7umber of
'&' $uccess
0ount , 0ount 4'5$>$#>#sg>Type ?? ==
7umber of
'&' Abort
0ount , 0ount 4'5$>$#>#sg>Type ?? =-
7umber of
Application
0ount !vent>Tas@>!n
d
0ount
@
$uccess
7umber of
Application
2ailure
0ount !vent>Tas@>2ai
l
0ount
7umber of
5A;
5equest
0ount , 0ount 4'5$>##>#sg>Type ?? A
7umber of
5A; $uccess
0ount , 0ount 4'5$>##>#sg>Type ?? B
7umber of
5A; Abort
0ount , 0ount 4'5$>##>#sg>Type ??
,,
able 1: Statisti(s t" a## t" t'e )uery.
=) At the end we can display the results in the $tatistics !xplorer as in 2igure -
Figure *: Results #isplaye# "n t'e Statisti(s +,pl"rer.
-) 1n order to ma@e the query faster and then more efficient, we can add a 4lobal 2ilter
in order to s@ip all the messages that the query does not need: we are going to ta@e in
account messages with attribute !vent>Tas@>!nd, !vent>Tas@>2ail,
4'5$>##>#sg>Type and 4'5$>$#>#sg>Type valid. Then clic@ on the
4lobal 2ilter button as shown in 2igure A:
A
Figure -: Cli($ "n t'e Filter butt"n.
A) The !xpression of the filter needs a new function, isvalid() that chec@ if that attribute
is set with a valid value at that message. 1n 2igure B, you can see the definition of the
filter:
B
Figure .: De&initi"n "& t'e Gl"bal Filter.
B) 1t is possible to chec@ the query results did not change as you can see in 2igure ,*:
there is only , important difference: before the query needed to be executed for all
the messages in the file C,3-3*), now only for a small se of them C+*)
Figure 1/: Same 0alues &"r t'e statisti(s1 but less messages in0"l0e# FAS+R )uery t" be
e,e(ute#.
GPRS R!U !naysis crosstab query
6ogfile: 4'5$ !xample ,.dt,
1C
7ame: 4'5$ 5A; Analysis
Aim and &efinition: 2or any message that is related to 5A; procedure, display the type
of message, the $erving 01 and the delta time from the previous 5A; message.
'rocedure:
,) 6oad file 4'5$ !xample ,.dt,
3) 8pen the Analysis #anager and select the 0rosstab query wi<ard.
+) !nter the title of 4'5$ 5A; Analysis
)) 0reate the new &imension with &escription Msg, !xpression message() and
2ormat Long, as shown in 2igure ,,:
Figure 11: De&initi"n "& t'e ne2 Dimensi"n.
.) 1n this case we need to add a condition in the global filter to ma@e sure the query
will consider only the messages 5A;s.
11
Figure 12: Gl"bal Filter.
=) %e need + statistics as displayed in Table 3
Name Method Expression Format
5A;
#essage
6ast
Dalue
4'5$>##>#sg>Type 0ount
$erv01 6ast
Dalue
$tateC$erv01) 4$# 01
Time&elta 6ast
Dalue
Time -
defaultCprev>time>whereCC4'5$>##>#
sg>Type/?A) A7&
C4'5$>##>#sg>TypeE?,,)),*)
Time
able 2: Statisti(s t" a##.
-) %e can display on the $tatistics !xplorer the results of the query:
12
Figure 13: RA3 Analysis Results.
A) %e have a list of ,. 5A; 5equests: we can see they are grouped by . with a time
difference of ,. secs about. !ven if we don:t have any 5A; 5eFect, we can figure
out we have + 5A; 2ailures.
Task Analysis rosstab !uery
6ogfile: 4'5$ !xample ,.dt, and 4'5$ !xample 3.dt,, superstreamed on Time.
7ame: Tas@ Analysis
Aim: 2or any tas@ display the related information.
&efinition: 0reate a crosstab query dimensioned by Tas@1d Tas@ ApplicationType
2ile7ame and display for any Tas@
Tas@ Type,
#ean App Throughput ;6
#ean App Throughput &6
Total "ytes ;ploaded
Total "ytes &ownloaded
Tas@ &uration
Tas@ 2ailures
Tas@ 2ailure 0ause.
13
'rocedure:
,) 4'5$ !xample ,.dt, and 4'5$ !xample 3.dt, and superstream on Time
3) 8pen the Analysis #anager and select the 0rosstab query wi<ard.
+) !nter the title of !as% )nalysis Analysis
)) This query will have 3 dimensions:
a. 2ile7ame defined as state(FileName) with format String
b. Tas@ 1dent defined as "Task " + state(Task!d) + " - " +
get"ormatted(Task#$$li%ationT&$e'() and 2ormat String
B) %e need A statistics as displayed in Table 3
Name Method Expression Format
Tas@ Type 6ast
Dalue
Tas@>Application>Type &ataTestType
#ean App
Throughput
;6
6ast
Dalue
App>Throughput>;6>#ean 9ilobits per
second
#ean App
Throughput
&6
6ast
Dalue
App>Throughput>&6>#ean 9ilobits per
second
Total "ytes
;ploaded
6ast
Dalue
Tas@>App>"ytes>Total>;6 "ytes
Total "ytes
&ownloaded
6ast
Dalue
Tas@>App>"ytes>Total>&6 "ytes
Tas@
&uration
6ast
Dalue
Tas@>&uration Time Cseconds)
Tas@ 2ailure 0ount !ventTas@2ail 0ount
Tas@ 2ailure
0ause
6ast
Dalue
Tas@>2ailure>0ause Doid
able 2: Statisti(s t" a##.
.) 1n the $tatistics !xplorer it is possible to have a general picture for any Tas@.
Site Analysis rosstab !uery
6ogfile: 4'5$ !xample ,.dt, and 4'5$ !xample 3.dt,, superstreamed on Time.
7ame: Tas@ Analysis
Aim: 2or any site display the related information.
&efinition: 0reate a crosstab query dimensioned by $erv01 and display for any site
Attach 5eq.,
16
'&' 5eq.
&6 0-value
&6 660 Throughput
;6 660 Throughput
&6 "6!5
;6 5etransmissions
&6>0$>Actual
;6>0$>Actual.
'rocedure:
,) 4'5$ !xample ,.dt, and 4'5$ !xample 3.dt, and superstream on Time
3) 8pen the Analysis #anager and select the 0rosstab query wi<ard.
+) !nter the title of Site )nalysis Analysis
)) This query will have as dimension 0ell1& with expression ServC! and format
)SM C!.
.) %e need ,* statistics as displayed in Table +
Name Method Expression Format Filter
Attach 5eq. 0ount , 0ount 4'5$>##>#sg
>Type ?? ,
'&' 5eq. 0ount , 0ount 4'5$>$#>#sg>
Type ?? =.
&6 0-value #ean
C6inear)
5#A0>0>Dalue 4$#
5x6ev
&6 660
Throughput
#ean 660>Throughput>&6 4$# 4'5$
"it 5ate
;6 660
Throughput
#ean 660>Throughput>;6 4$# 4'5$
"it 5ate
&6 "6!5 #ean 560>&6>"6!5 'ercentage
&6>0$>Actu
al
#ode 5#A0>&6>0$>Actual 4$# 4'5$
5#A0
000
;6>0$>Actu
al
#ode 5#A0>;6>0$>Actual 4$# 4'5$
5#A0
000
able 3: Statisti(s t" a##.
=) 1n the $tatistics !xplorer it is possible to have a general picture for any $ite.
1:
"aied #as$ !naysis event query
6ogfile: 4'5$ !xample ,.dt, and 4'5$ !xample 3.dt,, superstreamed on Time.
7ame: 2ailed Tas@ Analysis $tats
Aim: To analy<e each dropped call to report possible diagnosis
&efinition: 0reate event query triggered on dropped call event, to analy<e TA, and
&ominance etc.
This event query will concentrate around the !ventTas@2ailed events in the files. %e will
create , window this time, . seconds before the failure.
'rocedure:
,) !nsure that you have the two 7emo files superstreamed on Timestamps.
3) 0reate an event query which triggers on the *ventTaskFailed event,
+) 0reate a Time window, .*** ms before after the trigger.
)) &o not choose a discriminator but clic@ the Ne+t , button.
.) #odify the default dimension !ventTime: change the actual expression to
reltime-abstime( eventtime() .1((( ) and the 2ormat to Time/"0a&.
1?
Figure 34: M"#i&i(ati"n "& t'e Dimensi"n +0entime.
=) 0reate the following statistics:
Name Method Expression Format
Avg
5#A0>0>Dalue
#ean
C6inear)
5#A0>0>Dalue 4$# 5x6ev
Avg 5x (ual #ean
C5x(ual)
5#A0>5x(ual 4$#
5x(ual
'oor $ignal 'ercent
True
5#A0>0>Dalue E? -A. 'ercentage
Dariable $ignal 'ercent
True
5#A0>$ign>Dar / 3) 'ercentage
1nterference 'ercent
True
5#A0>5x(ual /? . A7&
5#A0>0>Dalue / -A.
'ercentage
!xcessive 'ower
5eduction
'ercent
True
5#A0>'ower>5eduction /?3 'ercentage
7o pac@et
Timeslots
'ercent
True
5#A0>&6>7umTimeslots>;sed>Actual
?? *
'ercentage
&istant $erving
0ell
'ercent
True
5#A0>TimingAdvance1ndex / ,* 'ercentage
6ow "andwith 'ercent
True
* E
5#A0>&6>7umTimeslots>;sed>Actual
E? 3
'ercentage
0oGAdFacent
0hannel
allocations
between
neighbors
'ercent
True
CCCCCabsCstateC$erv"00H)-
defaultC7bor"00HI*J,*))E3)) K
CCabsCstateC$erv"00H)-
defaultC7bor"00HI,J,*))E3)) K
CCabsCstateC$erv"00H)-
defaultC7bor"00HI3J,*))E3)) K
CCabsCstateC$erv"00H)-
defaultC7bor"00HI+J,*))E3)) K
CCabsCstateC$erv"00H)-
defaultC7bor"00HI)J,*))E3)) K
CCabsCstateC$erv"00H)-
defaultC7bor"00HI.J,*))E3)))/*) A7&
CdefaultCstateC5#A0>0>Dalue),-,,*)/-
A.))
'ercentage
5eported Tas@
2ailure 0ause
6ast
Dalue
Tas@>2ailure>0ause $tring
$erv "00H 6ast
Dalue
stateC$erv"00H) 4$#
A5207
$erv 01 6ast
Dalue
$tateC$erv01) 4$# 01
able 4: Statisti(s t" a## t" t'e )uery.
1@
-) &isplay the results in the $tatistics !xplorer:
1A

Вам также может понравиться