Download - EP LAB #1 #2
-
8/16/2019 EP LAB #1 #2
1/20
Universitatea Tehnică a Moldovei
FCIM
Catedra Informatica Aplicativă
RAPORT
la lucrarea de laborator nr 1 - 2
la Evaluarea Performan elorț
Tema:
Evaluarea performanţelor sistemelor multiprocesor în timp real
A efectuat: st !r C-1"1 Calpacci Maxim
A verificat: dr hab Gu uleac Emilianț
Chi#inău $ 2%1&
-
8/16/2019 EP LAB #1 #2
2/20
Scopul lucrării: 'tudierea metodelor de evaluare a performan(elor sistemelor de calculMetodele de evaluare se ba)ea)ă pe *'+ folosind mediul instrumental '+,et Tools de modelare#i validarea sistemelor cu prelucrare distructivă a datelor
Consieraţii teoretice:
n !eneral arhitectura 'M+ poate fi repre)entată ca o mul(ime de resurse: module primare.procesoare/ module secundare .memorii0 porturi de intrareie#ire/ cu re(ele de comunicare ce leconectea)ă Modulele primare sunt destinate prelucrării datelor #i repre)intă elemente de
procesare a sistemului ce produc cereri pentru accesul prin re(eaua de comunicare către modulelesecundare capabile să deservească cererile !enerate sau să le i!nore)e n calitate de indice de
ba)ă a performan(elor 'M+0 de obicei0 este primită putere de procesare0 e!ală cu numărul mediude procesoare active Ca activitate se subn(ele!e procesoarele neblocate la momentul dat de alte
procesoare #i care nu sunt n a#teptare după resurse necesare pentru a continua prelucrareadatelor Astfel0 puterea de procesare poate fi scrisă sub forma:
∑∉
=θ
π
i
ia in PP /.
unde 3 este mul(imea de stări 'M+0 n care procesoarele sunt active4 na!i" este numărul de procesoare active n starea i 4 5i este probabilitatea sta(ionară a stării i4 PP este puterea de procesare
6e aici se punem problema ale!erii parametrilor da(i la ncărcarea a sistemului #i a unuiastfel de structuri a re(elei de comunicare care ar ma7imi)a puterea de procesare si ar indicavaloarea relativă de re(inere a deservirii cererii0 ce apare n re(eaua de comunicare dată 'M+ 6easemenea0 e evident că puterea de procesare poate fi interpretată ca coeficientul de folosire astructurii
-
8/16/2019 EP LAB #1 #2
3/20
Sarcina #: 'ă se construiască o re(ea +etri 'ă se efectue)e evaluarea performan(elor ma!istraleide date
+arametrii sistemului multiprocesor:
$arianta %
p1
12
p2
p3
p4
p5p6p7p8p9p10p11p12p13p14p15p16
t2t4t5t6t7t8t9t10t11t12
t15t16t17t18t19t20t21t22t23
t1
t3
t13
t24
t14
t25
Totall8 found mar9in!s number 1;"+ositions4p1&4
M% 120=0%0"0%0%0%0%0%0%0%0%0%0%0%0%B t10t2M14DD14M1 11020%0=010%0%0%0%0%0%0%0%0%0%0%B t=M%4t10t2M24t10t"M=4DD14%>4%>4M2 1%010%02020%0%0%0%0%0%0%0%0%0%0%B t=M14t10t2M"4t10t"M>4DD14%>4%>4M= 1%020%0=0%010%0%0%0%0%0%0%0%0%0%B t1>M14t10t2M>4t10t>M&4DD14%>4%>4M" @0%0%010=0%0%0%0%0%0%0%0%0%0%0%B t1M;4t=M24DD1414M> @010%0201010%0%0%0%0%0%0%0%0%0%Bt1>M24t=M=4t10t2M@4t10t"M1%4t10t>M114DD1414%===============4%===============4%===============4M& @020%0=0%0%010%0%0%0%0%0%0%0%0%B t1&M=4t10t2M114t10t&M124DD14%>4%>4M; ?0%01010=0%0%0%0%0%0%0%0%0%0%0%B t1M?4t=0t2M"4t=0t"M>4DD14%>4%>4M? ;0%02010=0%0%0%0%0%0%0%0%0%0%0%Bt1M1=4t=0t2M;4t=0t"0t2M@4t=0t"0t"M1%4t=0t"0t>M114DD14%>4%1&&&&&&&&&&&&&;4%1&&&&&&&&&&&
&&;4%1&&&&&&&&&&&&&;4M@ ?0%0%0102010%0%0%0%0%0%0%0%0%0%B t1>M"4t1M1"4t=M>4DD141414M1% ?010%020%020%0%0%0%0%0%0%0%0%0%B t1>M>4t10t2M1;4t10t>M1?4DD14%>4%>4
m1 12 ,r de procesoare
m2 = ,r de ma!istrale
m" " ,r memoriilor comune
E Gata de sosire
H ="> Gata de servire
M.+1/
11?? +uterea de procesare
-
8/16/2019 EP LAB #1 #2
4/20
M11 ?010%02010%010%0%0%0%0%0%0%0%0%Bt1&M>4t=M&4t10t2M1@4t10t"M1?4t10t&M2%4DD1414%===============4%===============4%===============4M12 ?020%0=0%0%0%010%0%0%0%0%0%0%0%B t1;M&4t10t2M2%4t10t;M214DD14%>4%>4M1= &0%0=010=0%0%0%0%0%0%0%0%0%0%0%Bt1M1>4t=0t2M?4t=0t"0t2M1"4t=0t"0t"0t2M1;4t=0t"0t"0t>M1?4t=0t"0t>0t2M1@4t=0t"0t>0t"M1?4t=0t"0t>0t&M2%4DD14%>4%1&&&&&&&&&&&&&;4%%?=============>4%%?=============>4%%>>>>>>>>>>>>>>>
4%%>>>>>>>>>>>>>>>4%%>>>>>>>>>>>>>>>4M1" ;0%010102010%0%0%0%0%0%0%0%0%0%Bt1>M;4t1M1&4t=0t2M@4t=0t"M1%4t=0t>M114DD1414%===============4%===============4%===============4M1> >0%0"010=0%0%0%0%0%0%0%0%0%0%0%Bt1M224t=0t2M1=4t=0t"0t2M1&4t=0t"0t"0t2M2"4t=0t"0t"0t>0t2M2@4t=0t"0t"0t>0t>M=%4t=0t"0t"0t>0t&M=14t=0t"0t>0t2M2>4t=0t"0t>0t"0t2M2@4t=0t"0t>0t"0t>M=%4t=0t"0t>0t"0t&M=14t=0t"0t>0t&0t2M==4t=0t"0t>0t&0t"M=14t=0t"0t>0t&0t;M="4DD14%>4%1&&&&&&&&&&&&&;4%%?=============>4%%2;;;;;;;;;;;;;@4%%2;;;;;;;;;;;;;@4%%2;;;;;;;;;;;;;@4%%>>>>>>>>>>>>>>&4%%1?>1?>1?>1?>1?>4%%1?>1?>1?>1?>1?>4%%1?>1?>1?>1?>1?>4%%1?>1?>1?>1?>1?>4%%1?>1?>1?>1?>1?>4%%1?>1?>1?>1?>1?>4
Anal8)e successful 6ata listin! folloJs
Gesults for Avera!e to9ens count in p1Ar!1 is :0%%%%
%0%="% 110?;%%110??%%110??%%110??%%110??%%%01="% 1102@%%110""%%110">%%110">%%110">%%%02="% 1%0=1%%1%0@%%%1%0@>%%1%0@>%%1%0@>%%%0=="% ?0@&1% 1%02>%%1%0=?%%1%0=?%%1%0=?%%%0"="% ;0>>2% @0>2"% @0;";% @0;";% @0;";%%0>="% &0=";% ?0;&=% @0%;1% @0%;1% @0%;1%%0&="% >0"%?% ?0%1&% ?0=;"% ?0=;"% ?0=;"%%0;="% "0&@%% ;0=1?% ;0&?>% ;0&?>% ;0&?>%%0?="% "01==% &0&??% ;0%=1% ;0%=1% ;0%=1%%0@="% =0&@=% &01=%% &0"=%% &0"=%% &0"=%%10%="% =0==&% >0&"1% >0?@1% >0?@1% >0?@1%
-
8/16/2019 EP LAB #1 #2
5/20
Evaluarea &rafică a performanţelor:
Timpul meiu e a'teptare ( )r* meiu e to+en,uri incluse
-. /.
P#
Average token stay time in p1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5
Lm1
1
28
26
24
22
20
18
16
1412
10
8
6
4
2
-
8/16/2019 EP LAB #1 #2
6/20
P-
Average token stay time in p2
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5
Lm1
1
1,100
1,000
900
800
700
600
500
400
300
200
100
0
P0
Average token stay time in p4
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5
Lm1
1
12
11
10
9
8
7
6
5
4
3
2
1
0
P#
Average tokens count in p1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5
Lm1
1
11
10
9
8
7
6
5
4
-
8/16/2019 EP LAB #1 #2
7/20
P-
Average tokens count in p2
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5
Lm1
1
2
P0
Average tokens count in p4
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5
Lm1
1
4
3
2
1
0
-
8/16/2019 EP LAB #1 #2
8/20
Re ea Petri cu 1uclă 2# !P#"ț
p1
12
p2
p3
p4
p5p6p7p8p9p10p11p12p13p14p15p16
t2t4t5t6t7t8t9t10t11t12
t15t16t17t18t19t20t21t22t23
t1
t3
t13
t24
t14
t25
t26 t27
p17
Totall8 found mar9in!s number &;2+ositions4p1&4p1;4M% 120=0%0"0%0%0%0%0%0%0%0%0%0%0%0%0%B t2&M14t10t2M24DD1414M1 110=0%0"0%0%0%0%0%0%0%0%0%0%0%0%01B t2&M=4t2;M%4t10t2M"4DD141414M2 11020%0=010%0%0%0%0%0%0%0%0%0%0%0%B t=M%4t2&M"4t10t2M&4t10t"M;4DD1414%>4%>4M= 1%0=0%0"0%0%0%0%0%0%0%0%0%0%0%0%02B t2&M>4t2;M14t10t2M?4DD141414
M" 1%020%0=010%0%0%0%0%0%0%0%0%0%0%01Bt=M14t2&M?4t2;M24t10t2M1%4t10t"M114DD141414%>4%>4M> @0=0%0"0%0%0%0%0%0%0%0%0%0%0%0%0=B t2&M@4t2;M=4t10t2M124DD141414M& 1%010%02020%0%0%0%0%0%0%0%0%0%0%0%B t=M24t2&M1%4t10t2M1"4t10t"M1>4DD1414%>4%>4M; 1%020%0=0%010%0%0%0%0%0%0%0%0%0%0%B t1>M24t2&M114t10t2M1>4t10t>M1;4DD1414%>4%>4M? @020%0=010%0%0%0%0%0%0%0%0%0%0%02Bt=M=4t2&M124t2;M"4t10t2M1&4t10t"M1?4DD141414%>4%>4M@ ?0=0%0"0%0%0%0%0%0%0%0%0%0%0%0%0"B t2&M1=4t2;M>4t10t2M1@4DD141414M1% @010%02020%0%0%0%0%0%0%0%0%0%0%01Bt=M"4t2&M1&4t2;M&4t10t2M224t10t"M2=4DD141414%>4%>4M11 @020%0=0%010%0%0%0%0%0%0%0%0%0%01Bt1>M"4t2&M1?4t2;M;4t10t2M2=4t10t>M2>4DD141414%>4%>4M12 ?020%0=010%0%0%0%0%0%0%0%0%0%0%0=Bt=M>4t2&M1@4t2;M?4t10t2M2"4t10t"M2&4DD141414%>4%>4M1= ;0=0%0"0%0%0%0%0%0%0%0%0%0%0%0%0>B t2&M2%4t2;M@4t10t2M2;4DD141414M1" @0%0%010=0%0%0%0%0%0%0%0%0%0%0%0%B t1M214t=M&4t2&M224DD141414M1> @010%0201010%0%0%0%0%0%0%0%0%0%0%Bt1>M&4t=M;4t2&M2=4t10t2M=24t10t"M==4t10t>M="4DD141414%===============4%===============4%===============4
-
8/16/2019 EP LAB #1 #2
9/20
Anal8)e successful 6ata listin! folloJs
Gesults for Avera!e to9ens count in p1Ar!1 is :0%%%%
%0%21% 110??%% 110??%% 110??%% 110??%% 110??%%%0121% 110=>%% 110";%% 110";%% 110";%% 110";%%%0221% 1%0"=%% 1%0@"%% 1%0@@%% 1%0@@%% 1%0@@%%%0=21% @01=1% 1%0=1%% 1%0"=%% 1%0"=%% 1%0"=%%%0"21% ;0;2%% @0>@@% @0?%?% @0?%?% @0?%?%%0>21% &0"?&% ?0?""% @01"=% @01"=% @01"=%%0&21% >0>1&% ?0%@?% ?0">=% ?0">=% ?0">=%%0;21% "0;;=% ;0=@&% ;0;&&% ;0;&&% ;0;&&%%0?21% "01@?% &0;>@% ;01%@% ;01%@% ;01%@%
%0@21% =0;""% &01@"% &0>%2% &0>%2% &0>%2%10%21% =0=;?% >0&@?% >0@>&% >0@>&% >0@>&%
-
8/16/2019 EP LAB #1 #2
10/20
Evaluarea &rafică a performanţelor:
Timpul meiu e a'teptare ( )r* meiu e to+en,uri incluse
-. /.
P#
Average token stay time in p1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5
Lm1
1
45
40
35
30
25
20
15
10
5
P-
Average token stay time in p2
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5
Lm1
1
1,000
900
800
700
600
500
400
300
200
100
0
P0
Average token stay time in p4
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5
Lm1
1
20
18
16
14
12
10
8
6
4
2
0
-
8/16/2019 EP LAB #1 #2
11/20
P#
Average tokens count in p1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5
Lm1
1
11
10
9
8
7
6
5
4
P-
Average tokens count in p2
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5
Lm1
1
2
P0
Average tokens count in p4
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5
Lm1
1
4
3
2
1
0
-
8/16/2019 EP LAB #1 #2
12/20
Re ea Petri cu 1uclă 2- !P-"ț
p1
11
p2
p3
p4
p5p6p7p8p9p10p11p12p13p14p15p16
t2t4t5t6t7t8t9t10t11t12
t15t16t17t18t19t20t21t22t23
t1
t3
t13
t24
t14
t25
p17
t26
t27
Totall8 found mar9in!s number ;"2+ositions4p1&4p1;4M% 110=0%0"010%0%0%0%0%0%0%0%0%0%0%0%B t=M14t2&M24t10t2M=4t10t"M"4DD1414%>4%>4M1 120"0%0>0%0%0%0%0%0%0%0%0%0%0%0%0%B t2&M>4t10t2M%4DD1414M2 11020%0"010%0%0%0%0%0%0%0%0%0%0%01Bt=M>4t2&M&4t2;M%4t10t2M;4t10t"M?4DD141414%>4%>4M= 1%020%0=020%0%0%0%0%0%0%0%0%0%0%0%B t=M%4t2&M;4t10t2M114t10t"M124DD1414%>4%>4
M" 1%0=0%0"0%010%0%0%0%0%0%0%0%0%0%0%B t1>M%4t2&M?4t10t2M124t10t>M1"4DD1414%>4%>4M> 120=0%0>0%0%0%0%0%0%0%0%0%0%0%0%01B t2&M@4t2;M14t10t2M24DD141414M& 11010%0"010%0%0%0%0%0%0%0%0%0%0%02Bt=M@4t2&M1%4t2;M24t10t2M1=4t10t"M1>4DD141414%>4%>4M; 1%010%0=020%0%0%0%0%0%0%0%0%0%0%01Bt=M24t2&M1=4t2;M=4t10t2M1?4t10t"M1@4DD141414%>4%>4M? 1%020%0"0%010%0%0%0%0%0%0%0%0%0%01Bt1>M24t2&M1>4t2;M"4t10t2M1@4t10t>M214DD141414%>4%>4M@ 12020%0>0%0%0%0%0%0%0%0%0%0%0%0%02B t2&M1&4t2;M>4t10t2M&4DD141414M1% 110%0%0"010%0%0%0%0%0%0%0%0%0%0%0=B t1M1;4t=M1&4t2;M&4DD141414M11 @010%020=0%0%0%0%0%0%0%0%0%0%0%0%B t=M=4t2&M1?4t10t2M2>4t10t"M2&4DD1414%>4%>4
M12 @020%0=01010%0%0%0%0%0%0%0%0%0%0%Bt1>M=4t=M"4t2&M1@4t10t2M2&4t10t"M2?4t10t>M2@4DD141414%===============4%===============4%===============4M1= 1%0%0%0=020%0%0%0%0%0%0%0%0%0%0%02B t1M2%4t=M&4t2;M;4DD141414M1" @0=0%0"0%0%010%0%0%0%0%0%0%0%0%0%B t1&M"4t2&M214t10t2M2@4t10t&M=24DD1414%>4%>4M1> 1%010%0"0%010%0%0%0%0%0%0%0%0%0%02Bt1>M&4t2&M224t2;M?4t10t2M=%4t10t>M==4DD141414%>4%>4
-
8/16/2019 EP LAB #1 #2
13/20
Anal8)e successful 6ata listin! folloJs
Gesults for Avera!e to9en sta8 time in p1Ar!1 is :0%%%%
%0%?"2 110??%% 110??%% 110??%% 110??%% 110??%%%01?"2 >0"2@% >0"2@% >0"2@% >0"2@% >0"2@%%02?"2 =0>1@% =0>1@% =0>1@% =0>1@% =0>1@%%0=?"2 20&%=% 20&%=% 20&%=% 20&%=% 20&%=%%0"?"2 20%&>% 20%&>% 20%&>% 20%&>% 20%&>%%0>?"2 10;12% 10;12% 10;1%% 10;1%% 10;1%%%0&?"2 10"&2% 10"&2% 10">@% 10">@% 10">@%%0;?"2 102;>% 102;>% 102;2% 102;2% 102;2%%0??"2 101=1% 101=1% 1012;% 1012;% 1012;%
%0@?"2 10%1&% 10%1&% 10%1%% 10%1%% 10%1%%10%?"% %0@22= %0@22= %0@1>& %0@1>& %0@1>&
-
8/16/2019 EP LAB #1 #2
14/20
Evaluarea &rafică a performanţelor:
Timpul meiu e a'teptare ( )r* meiu e to+en,uri incluse
-. /.
P#
Average token stay time in p1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5
Lm1
1
12
11
10
9
8
7
6
5
4
3
2
1
P-
Average token stay time in p2
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5
Lm1
1
4
3
2
1
P0
Average token stay time in p4
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5
Lm1
1
6
5
4
3
2
1
-
8/16/2019 EP LAB #1 #2
15/20
P#
Average tokens count in p1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5
Lm1
1
11
10
9
8
7
6
P-
Average tokens count in p2
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5
Lm1
1
3
2
P0
Average tokens count in p4
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5
Lm1
1
5
4
3
2
1
-
8/16/2019 EP LAB #1 #2
16/20
Re ea Petri cu 1uclă 2/ !P0"ț
p1
11
p2
p3
p4
p5p6p7p8p9p10p11p12p13p14p15p16
t2t4t5t6t7t8t9t10t11t12
t15t16t17t18t19t20t21t22t23
t1
t3
t13
t24
t14
t25
p17
t26t27
Totall8 found mar9in!s number &>=+ositions4p1&4p1;4M% 110=0%0"010%0%0%0%0%0%0%0%0%0%0%0%B t=M14t2&M24t10t2M=4t10t"M"4DD1414%0>4%0>4M1 120"0%0>0%0%0%0%0%0%0%0%0%0%0%0%0%B t2&M>4t10t2M%4DD1414M2 110=0%0=010%0%0%0%0%0%0%0%0%0%0%01Bt=M>4t2&M&4t2;M%4t10t2M;4t10t"M?4DD141414%0>4%0>4M= 1%020%0=020%0%0%0%0%0%0%0%0%0%0%0%B t=M%4t2&M;4t10t2M114t10t"M124DD1414%0>4%0>4
M" 1%0=0%0"0%010%0%0%0%0%0%0%0%0%0%0%B t1>M%4t2&M?4t10t2M124t10t>M1"4DD1414%0>4%0>4M> 120"0%0"0%0%0%0%0%0%0%0%0%0%0%0%01B t2&M@4t2;M14t10t2M24DD141414M& 110=0%02010%0%0%0%0%0%0%0%0%0%0%02Bt=M@4t2&M1%4t2;M24t10t2M1=4t10t"M1>4DD141414%0>4%0>4M; 1%020%02020%0%0%0%0%0%0%0%0%0%0%01Bt=M24t2&M1=4t2;M=4t10t2M1?4t10t"M1@4DD141414%0>4%0>4M? 1%0=0%0=0%010%0%0%0%0%0%0%0%0%0%01Bt1>M24t2&M1>4t2;M"4t10t2M1@4t10t>M214DD141414%0>4%0>4M@ 120"0%0=0%0%0%0%0%0%0%0%0%0%0%0%02B t2&M1&4t2;M>4t10t2M&4DD141414M1% 110=0%01010%0%0%0%0%0%0%0%0%0%0%0=Bt=M1&4t2&M1;4t2;M&4t10t2M2%4t10t"M224DD141414%0>4%0>4M11 @010%020=0%0%0%0%0%0%0%0%0%0%0%0%B t=M=4t2&M1?4t10t2M2"4t10t"M2>4DD1414%0>4%0>4M12 @020%0=01010%0%0%0%0%0%0%0%0%0%0%Bt1>M=4t=M"4t2&M1@4t10t2M2>4t10t"M2;4t10t>M2?4DD141414%0===============4%0===============4%0===============4M1= 1%020%01020%0%0%0%0%0%0%0%0%0%0%02Bt=M&4t2&M2%4t2;M;4t10t2M2&4t10t"M2@4DD141414%0>4%0>4M1" @0=0%0"0%0%010%0%0%0%0%0%0%0%0%0%B t1&M"4t2&M214t10t2M2?4t10t&M=%4DD1414%0>4%0>4M1> 1%0=0%020%010%0%0%0%0%0%0%0%0%0%02Bt1>M&4t2&M224t2;M?4t10t2M2@4t10t>M=14DD141414%0>4%0>4
-
8/16/2019 EP LAB #1 #2
17/20
Anal8)e successful 6ata listin! folloJs
Gesults for Avera!e to9en sta8 time in p1Ar!1 is :0%%%%
%0%?"2 110??%% 110??%% 110??%% 110??%% 110??%%%01?"2 >0"2@% >0"2@% >0"2@% >0"2@% >0"2@%%02?"2 =0>1@% =0>1@% =0>1@% =0>1@% =0>1@%%0=?"2 20&%=% 20&%=% 20&%=% 20&%=% 20&%=%%0"?"2 20%&>% 20%&>% 20%&>% 20%&>% 20%&>%%0>?"2 10;12% 10;12% 10;1%% 10;1%% 10;1%%%0&?"2 10"&2% 10"&2% 10">@% 10">@% 10">@%%0;?"2 102;>% 102;>% 102;2% 102;2% 102;2%%0??"2 101=1% 101=1% 1012;% 1012;% 1012;%
%0@?"2 10%1&% 10%1&% 10%11% 10%11% 10%11%10%?"% %0@22= %0@22= %0@1>? %0@1>? %0@1>?
-
8/16/2019 EP LAB #1 #2
18/20
Evaluarea &rafică a performanţelor:
Timpul meiu e a'teptare ( )r* meiu e to+en,uri incluse
-. /.
P#
Average token stay time in p1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5
Lm1
1
12
11
10
9
8
7
6
5
4
3
2
1
P-
Average token stay time in p2
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5
Lm1
1
4
3
2
1
P0
Average token stay time in p4
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5
Lm1
1
6
5
4
3
2
1
-
8/16/2019 EP LAB #1 #2
19/20
P#
Average tokens count in p1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5
Lm1
1
11
10
9
8
7
6
P-
Average tokens count in p2
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5
Lm1
1
3
2
P0
Average tokens count in p4
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5
Lm1
1
5
4
3
2
1
-
8/16/2019 EP LAB #1 #2
20/20
Conclu3ie
n urma efectuării lucrării de laborator am efectuat anali)a sistemelor multiprocesor cuarhitectură de tip ma!istrală comună ce func(ionea)ă n timp real Am studiat metodele deevaluare a performan(elor sistemelor de calcul