Sunteți pe pagina 1din 20

Universitatea Tehnic a Moldovei

FCIM
Catedra Informatica Aplicativ

RAPORT
la lucrarea de laborator nr 1 - 2
la Evaluarea Performanelor
Tema:
Evaluarea performanelor sistemelor multiprocesor n timp real

A efectuat:

st. gr. C-141 Calpacci Maxim

A verificat:

dr. hab. Guuleac Emilian

Chiinu 2016

Scopul lucrrii: Studierea metodelor de evaluare a performanelor sistemelor de calcul.


Metodele de evaluare se bazeaz pe GSP folosind mediul instrumental SPNet Tools de modelare
i validarea sistemelor cu prelucrare distructiv a datelor.

Consideraii teoretice:
n general arhitectura SMP poate fi reprezentat ca o mulime de resurse: module primare
(procesoare) module secundare (memorii, porturi de intrare/ieire) cu reele de comunicare ce le
conecteaz. Modulele primare sunt destinate prelucrrii datelor i reprezint elemente de
procesare a sistemului ce produc cereri pentru accesul prin reeaua de comunicare ctre modulele
secundare capabile s deserveasc cererile generate sau s le ignoreze. n calitate de indice de
baz a performanelor SMP, de obicei, este primit putere de procesare, egal cu numrul mediu
de procesoare active. Ca activitate se subnelege procesoarele neblocate la momentul dat de alte
procesoare i care nu sunt n ateptare dup resurse necesare pentru a continua prelucrarea
datelor. Astfel, puterea de procesare poate fi scris sub forma:
PP n a (i ) i
i

unde este mulimea de stri SMP, n care procesoarele sunt active; na(i) este numrul de
procesoare active n starea i ; i este probabilitatea staionar a strii i; PP este puterea de
procesare.
De aici se punem problema alegerii parametrilor dai la ncrcarea a sistemului i a unui
astfel de structuri a reelei de comunicare care ar maximiza puterea de procesare si ar indica
valoarea relativ de reinere a deservirii cererii, ce apare n reeaua de comunicare dat SMP. De
asemenea, e evident c puterea de procesare poate fi interpretat ca coeficientul de folosire a
structurii.

Sarcina 1: S se construiasc o reea Petri. S se efectueze evaluarea performanelor magistralei


de date.
Parametrii sistemului multiprocesor:
Varianta 8
m1

12

Nr. de procesoare

m2

Nr. de magistrale

m4

Nr. memoriilor comune

Rata de sosire

3.45

Rata de servire

M*(P1
)

11.88

Puterea de procesare

p3
p2

t14
p16

t13

p15

t12

p14

t11

p13

t10

p12

t9

p11

t8

p10

t7
p9

t6
p8

t5
p7

p4

t4
p6

t2
p5
t3

t25

t24

t23

t22

t21

t20

t19

12

t18

t17

t16

t15

t1

p1

Totally found markings number = 174


PositionsList: p1;p2;p3;p4;p5;p6;p7;p8;p9;p10;p11;p12;p13;p14;p15;p16;
M0 = [12,3,0,4,0,0,0,0,0,0,0,0,0,0,0,0] [t1,t2>M1;\\1;
M1 = [11,2,0,3,1,0,0,0,0,0,0,0,0,0,0,0] [t3>M0;t1,t2>M2;t1,t4>M3;\\1;0.5;0.5;
M2 = [10,1,0,2,2,0,0,0,0,0,0,0,0,0,0,0] [t3>M1;t1,t2>M4;t1,t4>M5;\\1;0.5;0.5;
M3 = [10,2,0,3,0,1,0,0,0,0,0,0,0,0,0,0] [t15>M1;t1,t2>M5;t1,t5>M6;\\1;0.5;0.5;
M4 = [9,0,0,1,3,0,0,0,0,0,0,0,0,0,0,0] [t1>M7;t3>M2;\\1;1;
M5 = [9,1,0,2,1,1,0,0,0,0,0,0,0,0,0,0]
[t15>M2;t3>M3;t1,t2>M9;t1,t4>M10;t1,t5>M11;\\1;1;0.333333333333333;0.333333333333333;0.33333
3333333333;
M6 = [9,2,0,3,0,0,1,0,0,0,0,0,0,0,0,0] [t16>M3;t1,t2>M11;t1,t6>M12;\\1;0.5;0.5;
M7 = [8,0,1,1,3,0,0,0,0,0,0,0,0,0,0,0] [t1>M8;t3,t2>M4;t3,t4>M5;\\1;0.5;0.5;
M8 = [7,0,2,1,3,0,0,0,0,0,0,0,0,0,0,0]
[t1>M13;t3,t2>M7;t3,t4,t2>M9;t3,t4,t4>M10;t3,t4,t5>M11;\\1;0.5;0.166666666666667;0.166666666666
667;0.166666666666667;
M9 = [8,0,0,1,2,1,0,0,0,0,0,0,0,0,0,0] [t15>M4;t1>M14;t3>M5;\\1;1;1;
M10 = [8,1,0,2,0,2,0,0,0,0,0,0,0,0,0,0] [t15>M5;t1,t2>M17;t1,t5>M18;\\1;0.5;0.5;

M11 = [8,1,0,2,1,0,1,0,0,0,0,0,0,0,0,0]
[t16>M5;t3>M6;t1,t2>M19;t1,t4>M18;t1,t6>M20;\\1;1;0.333333333333333;0.333333333333333;0.3333
33333333333;
M12 = [8,2,0,3,0,0,0,1,0,0,0,0,0,0,0,0] [t17>M6;t1,t2>M20;t1,t7>M21;\\1;0.5;0.5;
M13 = [6,0,3,1,3,0,0,0,0,0,0,0,0,0,0,0]
[t1>M15;t3,t2>M8;t3,t4,t2>M14;t3,t4,t4,t2>M17;t3,t4,t4,t5>M18;t3,t4,t5,t2>M19;t3,t4,t5,t4>M18;t3,t4,t
5,t6>M20;\\1;0.5;0.166666666666667;0.0833333333333335;0.0833333333333335;0.0555555555555555
;0.0555555555555555;0.0555555555555555;
M14 = [7,0,1,1,2,1,0,0,0,0,0,0,0,0,0,0]
[t15>M7;t1>M16;t3,t2>M9;t3,t4>M10;t3,t5>M11;\\1;1;0.333333333333333;0.333333333333333;0.3333
33333333333;
M15 = [5,0,4,1,3,0,0,0,0,0,0,0,0,0,0,0]
[t1>M22;t3,t2>M13;t3,t4,t2>M16;t3,t4,t4,t2>M24;t3,t4,t4,t5,t2>M29;t3,t4,t4,t5,t5>M30;t3,t4,t4,t5,t6>M
31;t3,t4,t5,t2>M25;t3,t4,t5,t4,t2>M29;t3,t4,t5,t4,t5>M30;t3,t4,t5,t4,t6>M31;t3,t4,t5,t6,t2>M33;t3,t4,t5,t6,
t4>M31;t3,t4,t5,t6,t7>M34;\\1;0.5;0.166666666666667;0.0833333333333335;0.0277777777777779;0.02
77777777777779;0.0277777777777779;0.0555555555555556;0.0185185185185185;0.01851851851851
85;0.0185185185185185;0.0185185185185185;0.0185185185185185;0.0185185185185185;

Analyze successful. Data listing follows.


Results for Average tokens count in p1
Arg1 is :Lm1
Arg2 is :M(p4)
Arg1 values are in 1st column, Arg2 values are in 1st line
1,0000 2,0000 3,0000 4,0000 5,0000
0,0340
0,1340
0,2340
0,3340
0,4340
0,5340
0,6340
0,7340
0,8340
0,9340
1,0340

11,870011,880011,880011,880011,8800
11,290011,440011,450011,450011,4500
10,310010,900010,950010,950010,9500
8,9610 10,250010,380010,380010,3800
7,5520 9,5240 9,7470 9,7470 9,7470
6,3470 8,7630 9,0710 9,0710 9,0710
5,4080 8,0160 8,3740 8,3740 8,3740
4,6900 7,3180 7,6850 7,6850 7,6850
4,1330 6,6880 7,0310 7,0310 7,0310
3,6930 6,1300 6,4300 6,4300 6,4300
3,3360 5,6410 5,8910 5,8910 5,8910

Evaluarea grafic a performanelor:

Timpul mediu de ateptare + Nr. mediu de token-uri incluse


2D

3D

Average token stay time in p1

P1

28
26
24
22
20
18
16
14
12
10
8
6
4
2
1
Lm1
M(p4) = 1

M(p4) = 2

M(p4) = 3

M(p4) = 4

M(p4) = 5

Average token stay time in p2


1,100
1,000
900
800
700
600
500

P2

400
300
200
100
0
1
Lm1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5

Average token stay time in p4


12
11
10
9
8
7

P4

6
5
4
3
2
1
0
1
Lm1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5

Average tokens count in p1


11
10
9
8

P1

7
6
5
4
1
Lm1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5

Average tokens count in p2

P2

1
Lm1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5

Average tokens count in p4

P4

0
1
Lm1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5

Reea Petri cu Bucl #1 (P1)


p3
p2

t14
p16

t13

p15

t12

p14

t11

p13

t10

p12

t9

p11

t8

p10

t7
p9

t6
p8

t5
p7

p4

t4
p6

t2
p5
t3

t25

t24

t23

t22

t21

t20

t19

t18

12

t17

t16

t15

t1

p1
t26

t27

p17

Totally found markings number = 672


PositionsList: p1;p2;p3;p4;p5;p6;p7;p8;p9;p10;p11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0,0,0,3]
[t3>M5;t26>M19;t27>M8;t1,t2>M24;t1,t4>M26;\\1;1;1;0.5;0.5;
M13 = [7,3,0,4,0,0,0,0,0,0,0,0,0,0,0,0,5] [t26>M20;t27>M9;t1,t2>M27;\\1;1;1;
M14 = [9,0,0,1,3,0,0,0,0,0,0,0,0,0,0,0,0] [t1>M21;t3>M6;t26>M22;\\1;1;1;
M15 = [9,1,0,2,1,1,0,0,0,0,0,0,0,0,0,0,0]
[t15>M6;t3>M7;t26>M23;t1,t2>M32;t1,t4>M33;t1,t5>M34;\\1;1;1;0.333333333333333;0.3333
33333333333;0.333333333333333;

Analyze successful. Data listing follows.


Results for Average tokens count in p1
Arg1 is :Lm1
Arg2 is :M(p4)
Arg1 values are in 1st column, Arg2 values are in 1st line
1,0000 2,0000 3,0000 4,0000 5,0000
0,0210 11,8800
11,8800
11,8800
11,8800
11,8800
0,1210 11,3500
11,4700
11,4700
11,4700
11,4700
0,2210 10,4300
10,9400
10,9900
10,9900
10,9900
0,3210 9,1310 10,3100
10,4300
10,4300
10,4300
0,4210 7,7200 9,5990 9,8080 9,8080 9,8080
0,5210 6,4860 8,8440 9,1430 9,1430 9,1430
0,6210 5,5160 8,0980 8,4530 8,4530 8,4530
0,7210 4,7730 7,3960 7,7660 7,7660 7,7660
0,8210 4,1980 6,7590 7,1090 7,1090 7,1090
0,9210 3,7440 6,1940 6,5020 6,5020 6,5020
1,0210 3,3780 5,6980 5,9560 5,9560 5,9560

Evaluarea grafic a performanelor:


Timpul mediu de ateptare + Nr. mediu de token-uri incluse
2D

3D

Average token stay time in p1


45
40
35
30
25

P1

20
15
10
5
1
Lm1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5

Average token stay time in p2


1,000
900
800
700
600
500

P2

400
300
200
100
0
1
Lm1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5

Average token stay time in p4


20
18
16
14
12
10

P4

8
6
4
2
0
1
Lm1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5

Average tokens count in p1


11
10
9
8

P1

7
6
5
4
1
Lm1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5

Average tokens count in p2

P2

1
Lm1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5

Average tokens count in p4

P4

0
1
Lm1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5

Reea Petri cu Bucl #2 (P2)

t26
p3

p17

p2
t27

t14
p16

t13

p15

t12

p14

t11

p13

t10

p12

t9

p11

t8

p10

t7
p9

t6
p8

t5
p7

p4

t4
p6

t2
p5
t3

t25

t24

t23

t22

t21

t20

t19

11

t18

t17

t16

t15

t1

p1

Totally found markings number = 742


PositionsList: p1;p2;p3;p4;p5;p6;p7;p8;p9;p10;p11;p12;p13;p14;p15;p16;p17;
M0 = [11,3,0,4,1,0,0,0,0,0,0,0,0,0,0,0,0] [t3>M1;t26>M2;t1,t2>M3;t1,t4>M4;\\1;1;0.5;0.5;
M1 = [12,4,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0] [t26>M5;t1,t2>M0;\\1;1;
M2 = [11,2,0,4,1,0,0,0,0,0,0,0,0,0,0,0,1]
[t3>M5;t26>M6;t27>M0;t1,t2>M7;t1,t4>M8;\\1;1;1;0.5;0.5;
M3 = [10,2,0,3,2,0,0,0,0,0,0,0,0,0,0,0,0] [t3>M0;t26>M7;t1,t2>M11;t1,t4>M12;\\1;1;0.5;0.5;
M4 = [10,3,0,4,0,1,0,0,0,0,0,0,0,0,0,0,0] [t15>M0;t26>M8;t1,t2>M12;t1,t5>M14;\\1;1;0.5;0.5;
M5 = [12,3,0,5,0,0,0,0,0,0,0,0,0,0,0,0,1] [t26>M9;t27>M1;t1,t2>M2;\\1;1;1;
M6 = [11,1,0,4,1,0,0,0,0,0,0,0,0,0,0,0,2]
[t3>M9;t26>M10;t27>M2;t1,t2>M13;t1,t4>M15;\\1;1;1;0.5;0.5;
M7 = [10,1,0,3,2,0,0,0,0,0,0,0,0,0,0,0,1]
[t3>M2;t26>M13;t27>M3;t1,t2>M18;t1,t4>M19;\\1;1;1;0.5;0.5;
M8 = [10,2,0,4,0,1,0,0,0,0,0,0,0,0,0,0,1]
[t15>M2;t26>M15;t27>M4;t1,t2>M19;t1,t5>M21;\\1;1;1;0.5;0.5;
M9 = [12,2,0,5,0,0,0,0,0,0,0,0,0,0,0,0,2] [t26>M16;t27>M5;t1,t2>M6;\\1;1;1;
M10 = [11,0,0,4,1,0,0,0,0,0,0,0,0,0,0,0,3] [t1>M17;t3>M16;t27>M6;\\1;1;1;
M11 = [9,1,0,2,3,0,0,0,0,0,0,0,0,0,0,0,0] [t3>M3;t26>M18;t1,t2>M25;t1,t4>M26;\\1;1;0.5;0.5;
M12 = [9,2,0,3,1,1,0,0,0,0,0,0,0,0,0,0,0]
[t15>M3;t3>M4;t26>M19;t1,t2>M26;t1,t4>M28;t1,t5>M29;\\1;1;1;0.333333333333333;0.3333
33333333333;0.333333333333333;
M13 = [10,0,0,3,2,0,0,0,0,0,0,0,0,0,0,0,2] [t1>M20;t3>M6;t27>M7;\\1;1;1;
M14 = [9,3,0,4,0,0,1,0,0,0,0,0,0,0,0,0,0] [t16>M4;t26>M21;t1,t2>M29;t1,t6>M32;\\1;1;0.5;0.5;
M15 = [10,1,0,4,0,1,0,0,0,0,0,0,0,0,0,0,2]
[t15>M6;t26>M22;t27>M8;t1,t2>M30;t1,t5>M33;\\1;1;1;0.5;0.5;

Analyze successful. Data listing follows.


Results for Average token stay time in p1
Arg1 is :Lm1
Arg2 is :M(p4)
Arg1 values are in 1st column, Arg2 values are in 1st line
1,0000 2,0000 3,0000 4,0000 5,0000
0,0842 11,8800
11,8800
11,8800
0,1842 5,4290 5,4290 5,4290 5,4290 5,4290
0,2842 3,5190 3,5190 3,5190 3,5190 3,5190
0,3842 2,6030 2,6030 2,6030 2,6030 2,6030
0,4842 2,0650 2,0650 2,0650 2,0650 2,0650
0,5842 1,7120 1,7120 1,7100 1,7100 1,7100
0,6842 1,4620 1,4620 1,4590 1,4590 1,4590
0,7842 1,2750 1,2750 1,2720 1,2720 1,2720
0,8842 1,1310 1,1310 1,1270 1,1270 1,1270
0,9842 1,0160 1,0160 1,0100 1,0100 1,0100
1,0840 0,9223 0,9223 0,9156 0,9156 0,9156

11,8800

11,8800

Evaluarea grafic a performanelor:


Timpul mediu de ateptare + Nr. mediu de token-uri incluse
2D

3D

Average token stay time in p1


12
11
10
9
8
7

P1

6
5
4
3
2
1
1
Lm1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5

Average token stay time in p2


4

P2

1
1
Lm1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5

Average token stay time in p4


6
5
4

P4

3
2
1

1
Lm1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5

Average tokens count in p1


11
10
9

P1

8
7
6
1
Lm1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5

Average tokens count in p2

P2

2
1
Lm1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5

Average tokens count in p4


5

P4
2

1
Lm1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5

Reea Petri cu Bucl #3 (P4)

p3
p2
p17

t27

t14
p16

t13

p15

t12

p14

t11

p13

t10

p12

t9

p11

t8

p10

t7
p9

t6
p8

t5
p7

p4

t4
p6

t26

t2
p5
t3

t25

t24

t23

t22

t21

t20

t19

11

t18

t17

t16

t15

t1

p1

Totally found markings number = 653


PositionsList: p1;p2;p3;p4;p5;p6;p7;p8;p9;p10;p11;p12;p13;p14;p15;p16;p17;
M0 = [11,3,0,4,1,0,0,0,0,0,0,0,0,0,0,0,0] [t3>M1;t26>M2;t1,t2>M3;t1,t4>M4;\\1;1;0,5;0,5;
M1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333333;0,3333
33333333333;0,333333333333333;
M13 = [10,2,0,1,2,0,0,0,0,0,0,0,0,0,0,0,2]
[t3>M6;t26>M20;t27>M7;t1,t2>M26;t1,t4>M29;\\1;1;1;0,5;0,5;
M14 = [9,3,0,4,0,0,1,0,0,0,0,0,0,0,0,0,0] [t16>M4;t26>M21;t1,t2>M28;t1,t6>M30;\\1;1;0,5;0,5;
M15 = [10,3,0,2,0,1,0,0,0,0,0,0,0,0,0,0,2]
[t15>M6;t26>M22;t27>M8;t1,t2>M29;t1,t5>M31;\\1;1;1;0,5;0,5;

Analyze successful. Data listing follows.


Results for Average token stay time in p1
Arg1 is :Lm1
Arg2 is :M(p4)
Arg1 values are in 1st column, Arg2 values are in 1st line
1,0000 2,0000 3,0000 4,0000 5,0000
0,0842 11,8800
11,8800
11,8800
0,1842 5,4290 5,4290 5,4290 5,4290 5,4290
0,2842 3,5190 3,5190 3,5190 3,5190 3,5190
0,3842 2,6030 2,6030 2,6030 2,6030 2,6030
0,4842 2,0650 2,0650 2,0650 2,0650 2,0650
0,5842 1,7120 1,7120 1,7100 1,7100 1,7100
0,6842 1,4620 1,4620 1,4590 1,4590 1,4590
0,7842 1,2750 1,2750 1,2720 1,2720 1,2720
0,8842 1,1310 1,1310 1,1270 1,1270 1,1270
0,9842 1,0160 1,0160 1,0110 1,0110 1,0110
1,0840 0,9223 0,9223 0,9158 0,9158 0,9158

11,8800

11,8800

Evaluarea grafic a performanelor:


Timpul mediu de ateptare + Nr. mediu de token-uri incluse
2D

3D

Average token stay time in p1


12
11
10
9
8
7

P1

6
5
4
3
2
1
1
Lm1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5

Average token stay time in p2


4

P2

1
1
Lm1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5

Average token stay time in p4


6
5
4

P4

3
2
1
1
Lm1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5

Average tokens count in p1


11
10
9

P1

8
7
6
1
Lm1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5

Average tokens count in p2

P2

2
1
Lm1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5

Average tokens count in p4


5

P4
2

1
Lm1
M(p4) = 1 M(p4) = 2 M(p4) = 3 M(p4) = 4 M(p4) = 5

Concluzie
n urma efecturii lucrrii de laborator am efectuat analiza sistemelor multiprocesor cu
arhitectur de tip magistral comun ce funcioneaz n timp real. Am studiat metodele de
evaluare a performanelor sistemelor de calcul.

S-ar putea să vă placă și