close

Вход

Забыли?

вход по аккаунту

?

Лаба 2 (2)

код для вставкиСкачать
Федеральное агентство по образованию
Вологодский государственный технический университет
Кафедра автоматики и вычислительной техники
Информационные сети и телекоммуникации
Лабораторная работа №2
Выполнил: ст. гр. ЭМ-41
Иванов Владимир
Проверил: Голыхов А. Ю.
Вологда 2007
Цель работы: спроектировать работу сетей, соединенных на основе HUB и Switch, освоить принципы работы этих устройств.
Задание 1. Промоделировать сеть, представленную на рисунке.
1.1. Текст программы на GPSS
1 * modelirovanie HUBa 11 * 21 ADR1 FUNCTION RN1,D3
0.333,2/0.667,3/1,4 31 ADR2 FUNCTION RN1,D3
0.333,1/0.667,3/1,4 41 ADR3 FUNCTION RN1,D3
0.333,1/0.667,2/1,4 51 ADR4 FUNCTION RN1,D3
0.333,1/0.667,2/1,3 61 * 71 * 81 GENERATE 90,25 91 ASSIGN 1,1 101 ASSIGN 2,FN$ADR1 111 ASSIGN 3,0 ;0-peredacha paketa,1-podtverjdeni 121 * 131 SEIZE PC1 141 ADVANCE 22,5 151 RELEASE PC1 161 SEIZE KAN1 171 ADVANCE 7,2 181 RELEASE KAN1 191 * 201 SPLIT 1,M_PC2 211 SPLIT 1,M_PC3 221 SPLIT 1,M_PC4
225 TERMINATE 231 * 241 * ************************* 251 GENERATE 94,27 261 ASSIGN 1,2 271 ASSIGN 2,FN$ADR2 281 ASSIGN 3,0 ;0-peredacha paketa,1-podtverjdeni 291 * 301 SEIZE PC2 311 ADVANCE 22,5 321 RELEASE PC2 331 SEIZE KAN2 341 ADVANCE 7,2 351 RELEASE KAN2 361 * 371 SPLIT 1,M_PC1 381 SPLIT 1,M_PC3 391 SPLIT 1,M_PC4
399 TERMINATE 401 * 411 * ************************* 421 GENERATE 99,24 431 ASSIGN 1,3 441 ASSIGN 2,FN$ADR3 451 ASSIGN 3,0 ;0-peredacha paketa,1-podtverjdeni 461 * 471 SEIZE PC3 481 ADVANCE 22,5 491 RELEASE PC3 501 SEIZE KAN3 511 ADVANCE 7,2 521 RELEASE KAN3 531 * 541 SPLIT 1,M_PC1 551 SPLIT 1,M_PC2 561 SPLIT 1,M_PC4
566 TERMINATE 571 * 581 * ************************** 591 GENERATE 97,26 601 ASSIGN 1,4 611 ASSIGN 2,FN$ADR4 621 ASSIGN 3,0 ;0-peredacha paketa,1-podtverjdeni 631 * 641 SEIZE PC4 651 ADVANCE 22,5 661 RELEASE PC4 671 SEIZE KAN4 681 ADVANCE 7,2 691 RELEASE KAN4 701 * 711 SPLIT 1,M_PC1 721 SPLIT 1,M_PC2 731 SPLIT 1,M_PC3
733 TERMINATE 741 * 751 * ************************** 761 M_PC1 SEIZE KAN1 771 ADVANCE 7,2 781 RELEASE KAN1 791 SEIZE PC1 801 ADVANCE 22,5 811 RELEASE PC1 821 * 831 TEST NE P2,1,TO_PC1 841 TERMINATE 851 * 861 TO_PC1 TEST NE P3,0,TO_RET1 871 TERMINATE 881 TO_RET1 ASSIGN 3,1 891 ASSIGN 2,P1 901 ASSIGN 1,1 911 * 921 SEIZE KAN1 931 ADVANCE 7,2 941 RELEASE KAN1
942 * 951 SPLIT 1,M_PC2 961 SPLIT 1,M_PC3 971 SPLIT 1,M_PC4
980 TERMINATE 981 * ************************* 991 M_PC2 SEIZE KAN2 1001 ADVANCE 7,2 1011 RELEASE KAN2 1021 SEIZE PC2 1031 ADVANCE 22,5 1041 RELEASE PC2 1051 * 1061 TEST NE P2,2,TO_PC2 1071 TERMINATE 1081 * 1091 TO_PC2 TEST NE P3,0,TO_RET2 1101 TERMINATE 1111 TO_RET2 ASSIGN 3,1 1121 ASSIGN 2,P1 1131 ASSIGN 1,2 1141 * 1151 SEIZE KAN2 1161 ADVANCE 7,2 1171 RELEASE KAN2
1172 * 1181 SPLIT 1,M_PC1 1191 SPLIT 1,M_PC3 1201 SPLIT 1,M_PC4
1202 TERMINATE 1211 * ************************* 1221 M_PC3 SEIZE KAN3 1231 ADVANCE 7,2 1241 RELEASE KAN3 1251 SEIZE PC3 1261 ADVANCE 22,5 1271 RELEASE PC3 1281 * 1291 TEST NE P2,3,TO_PC3 1301 TERMINATE 1311 * 1321 TO_PC3 TEST NE P3,0,TO_RET3 1331 TERMINATE 1341 TO_RET3 ASSIGN 3,1 1351 ASSIGN 2,P1 1361 ASSIGN 1,3 1371 * 1381 SEIZE KAN3 1391 ADVANCE 7,2 1401 RELEASE KAN3
1402 * 1411 SPLIT 1,M_PC1 1421 SPLIT 1,M_PC2 1431 SPLIT 1,M_PC4
1433 TERMINATE 1441 * 1451 * ************************* 1461 M_PC4 SEIZE KAN4 1471 ADVANCE 7,2 1481 RELEASE KAN4 1491 SEIZE PC4 1501 ADVANCE 22,5 1511 RELEASE PC4 1521 * 1531 TEST NE P2,4,TO_PC4 1541 TERMINATE 1551 * 1561 TO_PC4 TEST NE P3,0,TO_RET4 1571 TERMINATE 1581 TO_RET4 ASSIGN 3,1 1591 ASSIGN 2,P1 1601 ASSIGN 1,4 1611 * 1621 SEIZE KAN4 1631 ADVANCE 7,2 1641 RELEASE KAN4
1642 * 1651 SPLIT 1,M_PC1 1661 SPLIT 1,M_PC2 1671 SPLIT 1,M_PC3
1672 TERMINATE 1673 * 1681 * ************************* 1701 GENERATE 30000 1711 TERMINATE 1 1721 START 1
1.2. Результаты моделирования:
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-17-2007 13:40:11 page 1
START_TIME END_TIME BLOCKS FACILITIES STORAGES FREE_MEMORY
0 30000 137 8 0 110096
NAME VALUE TYPE
COLUMN 10001 2
POSITION 10002 2
SHAPE 10003 2
ROW 10004 2
TO_COLUMN 10005 2
TO_ROW 10006 2
COLOR 10007 2
ADR1 10008 2
ADR2 10009 2
ADR3 10010 2
ADR4 10011 2
PC1 10012 2
KAN1 10013 2
M_PC2 77 3
M_PC3 97 3
M_PC4 117 3
PC2 10017 2
KAN2 10018 2
M_PC1 57 3
PC3 10020 2
KAN3 10021 2
PC4 10022 2
KAN4 10023 2
TO_PC1 65 3
TO_RET1 67 3
TO_PC2 85 3
TO_RET2 87 3
TO_PC3 105 3
TO_RET3 107 3
TO_PC4 125 3
TO_RET4 127 3
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
81 1 GENERATE 331 0 0
91 2 ASSIGN 331 0 0
101 3 ASSIGN 331 0 0
111 4 ASSIGN 331 67 0
131 5 SEIZE 264 0 0
141 6 ADVANCE 264 0 0
151 7 RELEASE 264 0 0
161 8 SEIZE 264 0 0
171 9 ADVANCE 264 0 0
181 10 RELEASE 264 0 0
201 11 SPLIT 264 0 0
211 12 SPLIT 264 0 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-17-2007 13:40:11 page 2
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
221 13 SPLIT 264 0 0
225 14 TERMINATE 264 0 0
251 15 GENERATE 324 0 0
261 16 ASSIGN 324 0 0
271 17 ASSIGN 324 0 0
281 18 ASSIGN 324 64 0
301 19 SEIZE 260 0 0
311 20 ADVANCE 260 0 0
321 21 RELEASE 260 0 0
331 22 SEIZE 260 0 0
341 23 ADVANCE 260 0 0
351 24 RELEASE 260 0 0
371 25 SPLIT 260 0 0
381 26 SPLIT 260 0 0
391 27 SPLIT 260 0 0
399 28 TERMINATE 260 0 0
421 29 GENERATE 302 0 0
431 30 ASSIGN 302 0 0
441 31 ASSIGN 302 0 0
451 32 ASSIGN 302 59 0
471 33 SEIZE 243 0 0
481 34 ADVANCE 243 0 0
491 35 RELEASE 243 0 0
501 36 SEIZE 243 0 0
511 37 ADVANCE 243 0 0
521 38 RELEASE 243 0 0
541 39 SPLIT 243 0 0
551 40 SPLIT 243 0 0
561 41 SPLIT 243 0 0
566 42 TERMINATE 243 0 0
591 43 GENERATE 304 0 0
601 44 ASSIGN 304 0 0
611 45 ASSIGN 304 0 0
621 46 ASSIGN 304 54 0
641 47 SEIZE 250 0 0
651 48 ADVANCE 250 0 0
661 49 RELEASE 250 0 0
671 50 SEIZE 250 0 0
681 51 ADVANCE 250 0 0
691 52 RELEASE 250 0 0
711 53 SPLIT 250 0 0
721 54 SPLIT 250 0 0
731 55 SPLIT 250 0 0
733 56 TERMINATE 250 0 0
761 M_PC1 SEIZE 1386 0 0
771 58 ADVANCE 1386 1 0
781 59 RELEASE 1385 290 0
791 60 SEIZE 1095 0 0
801 61 ADVANCE 1095 1 0
811 62 RELEASE 1094 0 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-17-2007 13:40:11 page 3
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
831 63 TEST 1094 0 0
841 64 TERMINATE 737 0 0
861 TO_PC1 TEST 357 0 0
871 66 TERMINATE 170 0 0
881 TO_RET1 ASSIGN 187 0 0
891 68 ASSIGN 187 0 0
901 69 ASSIGN 187 0 0
921 70 SEIZE 187 0 0
931 71 ADVANCE 187 0 0
941 72 RELEASE 187 0 0
951 73 SPLIT 187 0 0
961 74 SPLIT 187 0 0
971 75 SPLIT 187 0 0
980 76 TERMINATE 187 0 0
991 M_PC2 SEIZE 1389 0 0
1001 78 ADVANCE 1389 1 0
1011 79 RELEASE 1388 280 0
1021 80 SEIZE 1108 1 0
1031 81 ADVANCE 1107 0 0
1041 82 RELEASE 1107 0 0
1061 83 TEST 1107 0 0
1071 84 TERMINATE 754 0 0
1091 TO_PC2 TEST 353 0 0
1101 86 TERMINATE 164 0 0
1111 TO_RET2 ASSIGN 189 0 0
1121 88 ASSIGN 189 0 0
1131 89 ASSIGN 189 1 0
1151 90 SEIZE 188 0 0
1161 91 ADVANCE 188 0 0
1171 92 RELEASE 188 0 0
1181 93 SPLIT 188 0 0
1191 94 SPLIT 188 0 0
1201 95 SPLIT 188 0 0
1202 96 TERMINATE 188 0 0
1221 M_PC3 SEIZE 1376 0 0
1231 98 ADVANCE 1376 1 0
1241 99 RELEASE 1375 256 0
1251 100 SEIZE 1119 0 0
1261 101 ADVANCE 1119 1 0
1271 102 RELEASE 1118 0 0
1291 103 TEST 1118 0 0
1301 104 TERMINATE 740 0 0
1321 TO_PC3 TEST 378 0 0
1331 106 TERMINATE 160 0 0
1341 TO_RET3 ASSIGN 218 0 0
1351 108 ASSIGN 218 0 0
1361 109 ASSIGN 218 0 0
1381 110 SEIZE 218 0 0
1391 111 ADVANCE 218 0 0
1401 112 RELEASE 218 0 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-17-2007 13:40:11 page 4
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
1411 113 SPLIT 218 0 0
1421 114 SPLIT 218 0 0
1431 115 SPLIT 218 0 0
1433 116 TERMINATE 218 0 0
1461 M_PC4 SEIZE 1360 0 0
1471 118 ADVANCE 1360 0 0
1481 119 RELEASE 1360 245 0
1491 120 SEIZE 1115 0 0
1501 121 ADVANCE 1115 1 0
1511 122 RELEASE 1114 0 0
1531 123 TEST 1114 0 0
1541 124 TERMINATE 722 0 0
1561 TO_PC4 TEST 392 0 0
1571 126 TERMINATE 165 0 0
1581 TO_RET4 ASSIGN 227 0 0
1591 128 ASSIGN 227 0 0
1601 129 ASSIGN 227 0 0
1621 130 SEIZE 227 0 0
1631 131 ADVANCE 227 0 0
1641 132 RELEASE 227 0 0
1651 133 SPLIT 227 0 0
1661 134 SPLIT 227 0 0
1671 135 SPLIT 227 0 0
1672 136 TERMINATE 227 0 0
1701 137 GENERATE 1 0 0
1711 138 TERMINATE 1 0 0
FACILITY ENTRIES UTIL. AVE._TIME AVAILABLE OWNER PEND INTER RETRY DELAY
PC1 1359 0.995 21.98 1 5390 0 0 0 357
KAN1 1837 0.429 7.02 1 6775 0 0 0 0
PC2 1368 0.996 21.85 1 5424 0 0 0 344
KAN2 1837 0.430 7.04 1 6776 0 0 0 1
PC3 1362 0.996 21.94 1 5461 0 0 0 315
KAN3 1837 0.425 6.95 1 6777 0 0 0 0
PC4 1365 0.996 21.89 1 5558 0 0 0 299
KAN4 1837 0.430 7.04 1 0 0 0 0 0
XACT_GROUP GROUP_SIZE RETRY
POSITION 0 0
Задание 2. Промоделировать сеть, представленную на рисунке.
2.1. Текст программы на GPSS
1 * modelirovanie switcha 11 ADR1 FUNCTION RN1,D3
0.333,2/0.667,3/1,4 21 ADR2 FUNCTION RN1,D3
0.333,1/0.667,3/1,4 31 ADR3 FUNCTION RN1,D3
0.333,1/0.667,2/1,4 41 ADR4 FUNCTION RN1,D3
0.333,1/0.667,2/1,3 51 * 61 * 71 GENERATE 90,25 81 ASSIGN 1,1 91 ASSIGN 2,FN$ADR1 101 ASSIGN 3,0 ;0-peredacha paketa,1-podtverjdenie 111 * 121 SEIZE PC1 131 ADVANCE 22,5 141 RELEASE PC1 151 SEIZE KAN1 161 ADVANCE 7,2 171 RELEASE KAN1 181 TRANSFER ,M_SW1 191 * 201 * ************************* 211 GENERATE 94,27 221 ASSIGN 1,2 231 ASSIGN 2,FN$ADR2 241 ASSIGN 3,0 ;0-peredacha paketa,1-podtverjdenie 251 * 261 SEIZE PC2 271 ADVANCE 22,5 281 RELEASE PC2 291 SEIZE KAN2 301 ADVANCE 7,2 311 RELEASE KAN2 321 TRANSFER ,M_SW1 331 * 341 * ************************* 351 GENERATE 99,24 361 ASSIGN 1,3 371 ASSIGN 2,FN$ADR3 381 ASSIGN 3,0 ;0-peredacha paketa,1-podtverjdenie 391 * 401 SEIZE PC3 411 ADVANCE 22,5 421 RELEASE PC3 431 SEIZE KAN3 441 ADVANCE 7,2 451 RELEASE KAN3 461 TRANSFER ,M_SW1
462 * **************************
463 GENERATE 97,26 464 ASSIGN 1,4 465 ASSIGN 2,FN$ADR4 466 ASSIGN 3,0 ;0-peredacha paketa,1-podtverjdenie 467 * 468 SEIZE PC4
470 ADVANCE 22,5 472 RELEASE PC4 481 SEIZE KAN4 491 ADVANCE 7,2 541 RELEASE KAN4 551 TRANSFER ,M_SW1 561 * 571 * ************************** 581 M_SW1 SEIZE SW1 591 ADVANCE 5,2 601 RELEASE SW1 611 TEST NE P2,1,TO_PC1 621 TEST NE P2,2,TO_PC2 631 TEST NE P2,3,TO_PC3 641 TEST NE P2,4,TO_PC4 651 TERMINATE 661 * ************************** 671 TO_PC1 SEIZE KAN1 681 ADVANCE 7,2 691 RELEASE KAN1 701 * 711 SEIZE PC1 721 ADVANCE 22,5 731 RELEASE PC1 741 * 751 TEST NE P3,0,TO_RET1 761 TERMINATE 771 TO_RET1 ASSIGN 3,1 781 ASSIGN 2,P1 791 ASSIGN 1,1 801 * 811 SEIZE KAN1 821 ADVANCE 7,2 831 RELEASE KAN1 841 TRANSFER ,M_SW1 851 * ************************* 861 TO_PC2 SEIZE KAN2 871 ADVANCE 7,2 881 RELEASE KAN2 891 * 901 SEIZE PC2 911 ADVANCE 22,5 921 RELEASE PC2 931 * 941 TEST NE P3,0,TO_RET2 951 TERMINATE 961 TO_RET2 ASSIGN 3,1 971 ASSIGN 2,P1 981 ASSIGN 1,2 991 * 1001 SEIZE KAN2 1011 ADVANCE 7,2 1021 RELEASE KAN2 1031 TRANSFER ,M_SW1 1041 * ************************* 1051 TO_PC3 SEIZE KAN3 1061 ADVANCE 7,2 1071 RELEASE KAN3 1081 * 1091 SEIZE PC3 1101 ADVANCE 22,5 1111 RELEASE PC3 1121 * 1131 TEST NE P3,0,TO_RET3 1141 TERMINATE 1151 TO_RET3 ASSIGN 3,1 1161 ASSIGN 2,P1 1171 ASSIGN 1,3 1181 * 1191 SEIZE KAN3 1201 ADVANCE 7,2 1211 RELEASE KAN3 1221 TRANSFER ,M_SW1 1231 * ************************* 1241 TO_PC4 SEIZE KAN4 1251 ADVANCE 7,2 1261 RELEASE KAN4 1271 * 1281 SEIZE PC4 1291 ADVANCE 22,5 1301 RELEASE PC4 1311 * 1321 TEST NE P3,0,TO_RET4 1331 TERMINATE 1341 TO_RET4 ASSIGN 3,1 1351 ASSIGN 2,P1 1361 ASSIGN 1,4 1371 * 1381 SEIZE KAN4 1391 ADVANCE 7,2 1401 RELEASE KAN4 1411 TRANSFER ,M_SW1 1421 * ************************* 1431 GENERATE 30000 1441 TERMINATE 1 1451 START 1 2.2. Результаты моделирования:
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-12-2007 22:05:02 page 1
START_TIME END_TIME BLOCKS FACILITIES STORAGES FREE_MEMORY
0 30000 113 9 0 295216
NAME VALUE TYPE
COLUMN 10001 2
POSITION 10002 2
SHAPE 10003 2
ROW 10004 2
TO_COLUMN 10005 2
TO_ROW 10006 2
COLOR 10007 2
ADR1 10008 2
ADR2 10009 2
ADR3 10010 2
ADR4 10011 2
PC1 10012 2
KAN1 10013 2
M_SW1 45 3
PC2 10015 2
KAN2 10016 2
PC3 10017 2
KAN3 10018 2
PC4 10019 2
KAN4 10020 2
SW1 10021 2
TO_PC1 53 3
TO_PC2 68 3
TO_PC3 83 3
TO_PC4 98 3
TO_RET1 61 3
TO_RET2 76 3
TO_RET3 91 3
TO_RET4 106 3
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
71 1 GENERATE 332 0 0
81 2 ASSIGN 332 0 0
91 3 ASSIGN 332 0 0
101 4 ASSIGN 332 0 0
121 5 SEIZE 332 0 0
131 6 ADVANCE 332 0 0
141 7 RELEASE 332 0 0
151 8 SEIZE 332 0 0
161 9 ADVANCE 332 0 0
171 10 RELEASE 332 0 0
181 11 TRANSFER 332 0 0
211 12 GENERATE 315 0 0
221 13 ASSIGN 315 0 0
231 14 ASSIGN 315 0 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-12-2007 22:05:02 page 2
LINE LOC BLOCK_TYPE ENTRY_COUNT CURRENT_COUNT RETRY
241 15 ASSIGN 315 0 0
261 16 SEIZE 315 0 0
271 17 ADVANCE 315 0 0
281 18 RELEASE 315 0 0
291 19 SEIZE 315 0 0
301 20 ADVANCE 315 0 0
311 21 RELEASE 315 0 0
321 22 TRANSFER 315 0 0
351 23 GENERATE 304 0 0
361 24 ASSIGN 304 0 0
371 25 ASSIGN 304 0 0
381 26 ASSIGN 304 0 0
401 27 SEIZE 304 0 0
411 28 ADVANCE 304 0 0
421 29 RELEASE 304 0 0
431 30 SEIZE 304 0 0
441 31 ADVANCE 304 0 0
451 32 RELEASE 304 0 0
461 33 TRANSFER 304 0 0
463 34 GENERATE 313 0 0
464 35 ASSIGN 313 0 0
465 36 ASSIGN 313 0 0
466 37 ASSIGN 313 0 0
468 38 SEIZE 313 0 0
470 39 ADVANCE 313 1 0
472 40 RELEASE 312 0 0
481 41 SEIZE 312 0 0
491 42 ADVANCE 312 0 0
541 43 RELEASE 312 0 0
551 44 TRANSFER 312 0 0
581 M_SW1 SEIZE 2524 0 0
591 46 ADVANCE 2524 0 0
601 47 RELEASE 2524 0 0
611 48 TEST 2524 0 0
621 49 TEST 1870 0 0
631 50 TEST 1262 0 0
641 51 TEST 640 0 0
651 52 TERMINATE 0 0 0
671 TO_PC1 SEIZE 654 0 0
681 54 ADVANCE 654 0 0
691 55 RELEASE 654 0 0
711 56 SEIZE 654 0 0
721 57 ADVANCE 654 1 0
731 58 RELEASE 653 0 0
751 59 TEST 653 0 0
761 60 TERMINATE 331 0 0
771 TO_RET1 ASSIGN 322 0 0
781 62 ASSIGN 322 0 0
791 63 ASSIGN 322 0 0
811 64 SEIZE 322 0 0
821 65 ADVANCE 322 0 0
831 66 RELEASE 322 0 0
841 67 TRANSFER 322 0 0
861 TO_PC2 SEIZE 608 0 0
871 69 ADVANCE 608 0 0
881 70 RELEASE 608 0 0
901 71 SEIZE 608 0 0
911 72 ADVANCE 608 1 0
921 73 RELEASE 607 0 0
941 74 TEST 607 0 0
951 75 TERMINATE 314 0 0
961 TO_RET2 ASSIGN 293 0 0
971 77 ASSIGN 293 0 0
981 78 ASSIGN 293 0 0
1001 79 SEIZE 293 0 0
1011 80 ADVANCE 293 0 0
1021 81 RELEASE 293 0 0
1031 82 TRANSFER 293 0 0
1051 TO_PC3 SEIZE 622 0 0
1061 84 ADVANCE 622 0 0
1071 85 RELEASE 622 0 0
1091 86 SEIZE 622 0 0
1101 87 ADVANCE 622 1 0
1111 88 RELEASE 621 0 0
1131 89 TEST 621 0 0
1141 90 TERMINATE 303 0 0
1151 TO_RET3 ASSIGN 318 0 0
1161 92 ASSIGN 318 0 0
1171 93 ASSIGN 318 0 0
1191 94 SEIZE 318 0 0
1201 95 ADVANCE 318 0 0
1211 96 RELEASE 318 0 0
1221 97 TRANSFER 318 0 0
1241 TO_PC4 SEIZE 640 0 0
1251 99 ADVANCE 640 1 0
1261 100 RELEASE 639 0 0
1281 101 SEIZE 639 0 0
1291 102 ADVANCE 639 0 0
1301 103 RELEASE 639 0 0
1321 104 TEST 639 0 0
1331 105 TERMINATE 311 0 0
1341 TO_RET4 ASSIGN 328 0 0
1351 107 ASSIGN 328 0 0
1361 108 ASSIGN 328 0 0
1381 109 SEIZE 328 0 0
1391 110 ADVANCE 328 0 0
1401 111 RELEASE 328 0 0
1411 112 TRANSFER 328 0 0
1431 113 GENERATE 1 0 0
1441 114 TERMINATE 1 0 0
GPSS/PC Report file REPORT.GPS. (V 2, # 37349) 12-12-2007 22:05:02 page 4
FACILITY ENTRIES UTIL. AVE._TIME AVAILABLE OWNER PEND INTER RETRY DELAY
PC1 986 0.722 22.00 1 1261 0 0 0 0
KAN1 1308 0.307 7.06 1 0 0 0 0 0
PC2 923 0.677 22.03 1 1263 0 0 0 0
KAN2 1216 0.284 7.03 1 0 0 0 0 0
PC3 926 0.674 21.87 1 1264 0 0 0 0
KAN3 1244 0.290 7.01 1 0 0 0 0 0
PC4 952 0.699 22.03 1 1265 0 0 0 0
KAN4 1280 0.298 7.00 1 1262 0 0 0 0
SW1 2524 0.419 4.98 1 0 0 0 0 0
XACT_GROUP GROUP_SIZE RETRY
POSITION 0 0
Вывод: мы промоделировали концентратор и коммутатор. По результатам отчетов видно, что при использовании коммутатора снижается нагрузка на каналы передачи и на рабочие станции. Это связано с тем, что коммутатор осуществляет направленную пересылка пакетов: от отправителя к получателю. Хаб же рассылает широковещательные пакеты, тем самым загружая каналы и вынуждая рабочие станции обрабатывать пакеты, для них не предназначенные.
Документ
Категория
Рефераты
Просмотров
5
Размер файла
104 Кб
Теги
лаба
1/--страниц
Пожаловаться на содержимое документа