assessing and evaluting (3) (1)
TRANSCRIPT
-
8/20/2019 Assessing and Evaluting (3) (1)
1/28
ASSESSING AND EVALUTINGPERFORMANCE
By
Sateesh D154553
-
8/20/2019 Assessing and Evaluting (3) (1)
2/28
PERFORMANCE
• Measure Re!"rt a#$ Su%%ar&'e
• Ma(e te))&*e#t +h"&+es
• See thr"u*h the %ar(et* hy!e• ,hat -a+t"rs "- the syste%
!er-"r%a#+e &s
.ar$ /are a#$ s"-t /are re)ate$0• ."/ $"es %a+he stru+t&"# set
ae+ts !er-"r%a#+e0
-
8/20/2019 Assessing and Evaluting (3) (1)
3/28
,h&+h has the 2est!er-"r%a#+e0
• ,h&+h &s -aster0
• ,h&+h &s 2&**er0
• ,h&+h !)a#e %"es %"st #u%2er "-!asse#*ers )east t&%e
-
8/20/2019 Assessing and Evaluting (3) (1)
4/28
Per-"r%a#+e Metr&+s
• Pur+has* !ers!e+t&e – *&e# a +"))e+t&"# "- %a+hes /h&+h has the
• 2est !er-"r%a#+e 0• )east +"st 0• 2est +"st!er-"r%a#+e0
• Des&*# !ers!e+t&e – -a+e$ /&th $es&*# "!t&"#s /h&+h has the
• 2est !er-"r%a#+e &%!r"e%e#t 0• )east +"st 0• 2est +"st!er-"r%a#+e0
• B"th reu&re – 2as&s -"r +"%!ar&s"#
– %etr&+ -"r ea)uat&"#• Our *"a) &s t" u#$ersta#$ /hat -a+t"rs the
ar+h&te+ture +"#tr&2ute t" "era)) syste%!er-"r%a#+e a#$ the re)at&e &%!"rta#+e 6a#$ +"st7
"- these -a+t"rs
-
8/20/2019 Assessing and Evaluting (3) (1)
5/28
Res!"#se T&%e a#$ Thr"u*h!ut
• Res!"#se t&%e
– ."/ )"#* &t ta(es t" $" a tas(
• Thr"u*h!ut
– T"ta) /"r( $"#e !er u#&t t&%e• e8*8 tas(stra#sa+t&"#s9 !er h"ur
• ."/ are res!"#se t&%e a#$ thr"u*h!utae+te$ 2y
– Re!)a+* the !r"+ess"r /&th a -asterers&"#0
– A$$* %"re !r"+ess"rs0
-
8/20/2019 Assessing and Evaluting (3) (1)
6/28
Measur* E:e+ut&"# T&%e
• E)a!se$ t&%e – T"ta) res!"#se t&%e +)u$* a)) as!e+ts
• Pr"+ess* IO OS "erhea$ &$)e t&%e
– Deter%es syste% !er-"r%a#+e
• CPU t&%e – T&%e s!e#t !r"+ess* a *&e# ;"2
• D&s+"u#ts IO t&%e "ther ;"2s< shares
– Ca# 2e 2r"(e# u! t" user CPU t&%ea#$
syste% CPU t&%e• Our -"+us= CPU USER TIME= T&%e s!e#t
e:e+ut* the
-
8/20/2019 Assessing and Evaluting (3) (1)
7/28
Re)at&e Per-"r%a#+e
• Per-"r%a#+e > 1E:e+ut&"# T&%e
• ?@ &s n t&%e -aster tha#
!er-"r%a#+e :!er-"r%a#+e y > #
• E:a%!)e= t&%e ta(e# t" ru# a !r"*ra%
1s "# A 15s "# B
• E:e+ut&"# T&%e B E:e+ut&"# T&%e A> 15s 1s > 185
• S" A &s 185 t&%es -aster tha# B
-
8/20/2019 Assessing and Evaluting (3) (1)
8/28
CPU T&%e
• Per-"r%a#+e &%!r"e$ 2y – Re$u+* #u%2er "- +)"+( +y+)es
– I#+reas* +)"+( rate
– .ar$/are $es&*#er %ust "-te# tra$e "+)"+( rate a*ast +y+)e +"u#t
RateClock
CyclesClockCPU
TimeCycleClockCyclesClockCPUTimeCPU
=
×=
-
8/20/2019 Assessing and Evaluting (3) (1)
9/28
CPI E:a%!)e• C"%!uter A= Cy+)e T&%e > 5!s CPI > 8
• C"%!uter B= Cy+)e T&%e > 5!s CPI > 18• Sa%e ISA
• ,h&+h &s -aster a#$ 2y h"/ %u+h0
P&t-a)) = E:!e+t* the &%!r"e%e#t "-"#e as!e+t a +"%!uter t" +rease!er-"r%a#+e 2y a# a%"u#t !r"!"rt&"#a) t"
1.2500psI600psI
ATimeCPU
BTimeCPU
600psI500ps1.2I
BTimeCycle
BCPICountnInstuctio
BTimeCPU
500psI250ps2.0I
ATimeCycle
ACPICountnInstuctio
ATimeCPU
=×
×=
×=××=
××=
×=××=
××=
-
8/20/2019 Assessing and Evaluting (3) (1)
10/28
Ee+t&e CPI
•C"%!ut* the "era)) ee+t&e CPI &s $"#e 2y)""(* at the $&ere#t ty!es "- stru+t&"#s a#$the&r $&&$ua) +y+)e +"u#ts a#$ aera**
Oera)) ee+t&e CPI > Σ 6CPI& : IC&7& > 1
#
,here IC& &s the +"u#t 6!er+e#ta*e7 "- the #u%2er "-stru+t&"#s "- +)ass & e:e+ute$
CPI& &s the 6aera*e7 #u%2er "- +)"+( +y+)es !erstru+t&"# -"r that stru+t&"# +)ass
# &s the #u%2er "- stru+t&"# +)asses
The "era)) ee+t&e CPI ar&es 2y stru+t&"# %&: a %easure "- the $y#a%&+ -reue#+y "-stru+t&"#s a+r"ss "#e "r %a#y !r"*ra%s
-
8/20/2019 Assessing and Evaluting (3) (1)
11/28
Deter%ates "- CPU Per-"r%a#+e
CPU t&%e > I#stru+t&"#+"u#t : CPI :
+)"+(+y+)e Instuction !count
CPI clock!cycle
Al"oit#m
Po"ammin"lan"ua"e
Compile
I$A
Pocessoo"ani%ation
Tec#nolo"yX
XX
XX
X X
X
X
-
8/20/2019 Assessing and Evaluting (3) (1)
12/28
A S&%!)e E:a%!)e
&p 'e( CPIi 'e( ) CPIi
A*U 50+ 1
*oa, 20+ 2
$toe 10+ 2
Banc# 20+ 2
&-eall eecti-e CPIΣ /
85
84
84
8
185
,hat !er+e#ta*e "- t&%e /e s!e#$ "#$&ere#t stru+t&"#s0 ALU > H
BRANC.>33H DATA TRANSFER >4H
-
8/20/2019 Assessing and Evaluting (3) (1)
13/28
Per-"r%a#+e ea)uat&"#
Pr"*ra%s t" test !er-"r%a#+e=
• !er-"r%a#+e 2est $eter%e$ 2yru##*
rea) a!!)&+at&"#s
• Use !r"*ra%s ty!&+a) "- e:!e+te$/"r( )"a$
"r ty!&+a) "- e:!e+te$ +)ass "-
a!!)&+at&"#s
C"%!uter 2e#+h%ar(s=
• Be#+h%ar(= !r"*ra%6s7 use$ t"
ea)uate +"%!uter !er-"r%a#+e
-
8/20/2019 Assessing and Evaluting (3) (1)
14/28
A L""( at DSP Be#+h%ar(s
-
8/20/2019 Assessing and Evaluting (3) (1)
15/28
A*e#$a
• ,hy /e #ee$ 2e#+h%ar(s
• ,hat %a(es u! a *""$ 2e#+h%ar(
• ,hat are s"%e +"%%"#)y use$ BAD2e#+h%ar(s
• Ch""s* the r&*ht 2e#+h%ar(
• Be#+h%ar(s use$ 2y the $ustry
-
8/20/2019 Assessing and Evaluting (3) (1)
16/28
,hy Be#+h%ar(s
• ,a#t t" see /h&+h !r"+ess"r &s 2etteru&+()y8 But 2etter /hat as!e+t0
• Be#+h%ar(s +a# 2e 2)e#$ "-a#yth* – Ra/ s!ee$
– P"/er +"#su%!t&"#
– Me%"ry usa*e
– C"st
-
8/20/2019 Assessing and Evaluting (3) (1)
17/28
,hat sh"u)$ a 2e#+h%ar(2e0
• Re!eata2)e
• Re)ea#t
• Fa&r• .ae +"%!ara2)e resu)ts
-
8/20/2019 Assessing and Evaluting (3) (1)
18/28
MIPSMOPS VER BAD
• M&))&"#s "- I#stru+t&"#O!erat&"#s !erse+"#$
• 1 MIPS +a# 2e s)"/er tha# 1MIPS – S"%e stru+t&"#s $" %"re /"r( tha#
"thers8
– E:8 L"a$* a 32&t +"#sta#t "# the J(ta(es stru+t&"#sK ;ust "#e "# theS.ARC
-
8/20/2019 Assessing and Evaluting (3) (1)
19/28
A!!)&+at&"#s N"t Great
• C"%%"#)y use$ -"r #"#DSP "r&e#te$!r"+ess"rs8 E:8 SPEC BTE%ar(
• VER +"%!&)er $e!e#$e#t8 May "r%ay #"t use aa&)a2)e -a#+y DSP-eatures
• Ee# &- &%!)e%e#te$ asse%2)y &ts
st&)) a test "- the !r"*ra%%er
-
8/20/2019 Assessing and Evaluting (3) (1)
20/28
A!!)&+at&"#s C"#t
-
8/20/2019 Assessing and Evaluting (3) (1)
21/28
,h&+h 2e#+h%ar( t"+h""se0
• Ar+h&te+ture $e!e#$e#+e
• Sh"u)$ !er-e+t)y ree+t /hat the DSP+h&! /&)) 2e use$ -"r
• Sh"u)$ 2)e#$ -a+t"rs su+h as +"st!"/er usa*e the !r"!"rt&"#s y"u+are a2"ut
It !r"2a2)y $"es#
-
8/20/2019 Assessing and Evaluting (3) (1)
22/28
Trust the !r"-ess&"#a)s
• Fa%"us )ast /"r$s= Lets trust the $ustry8
• ,hat
-
8/20/2019 Assessing and Evaluting (3) (1)
23/28
,hy $" they use BDTI%ar(0
-
8/20/2019 Assessing and Evaluting (3) (1)
24/28
,hat $"es BDTI%ar( test0
-
8/20/2019 Assessing and Evaluting (3) (1)
25/28
Be#+h%ar( resu)ts=
-
8/20/2019 Assessing and Evaluting (3) (1)
26/28
A!!)&+at&"# !r")*=
-
8/20/2019 Assessing and Evaluting (3) (1)
27/28
C"#+)us&"#s
• Be#+h%ar(s sh"u)$ 2e re!eata2)ere)ea#t -a&r a#$ rea$&)y+"%!ara2)e
• Be#+h%ar(s test a# a!!)&+at&"# that!r"2a2)y &s#
-
8/20/2019 Assessing and Evaluting (3) (1)
28/28
uest&"#s0