1. Trang chủ
  2. » Luận Văn - Báo Cáo

Token ring đánh giá hiệu năng mạng

52 327 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 52
Dung lượng 5,85 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Từ menu drop-down chọn Star và ấn OK.[;C I F.lc Prọịect: Nhom2_Token Scenario: scenariol [Subnet top.Office Netvvork] File Edit Vievv Scenarios Topology Traffic Protocols Simulation Resu

Trang 1

BÁO CÁO BÀI TẬP LỚN

MÔN : ĐÁNH GIÁ HIỆU NĂNG MẠNG

CHỦ ĐÈ: Token ring

Giáo viên hướng dẫn: Th.s Lê Khánh Dương

1

MỤC LỤC

1 Mục tiêu 3

2 Tổng quan 3

3 Cách tiến hành 4

3.1 Tạo một Project mói 4

3.2 Tạo mạng 9

3.3 Cấu hình các node mạng 13

3.4 Cấu hình mô phỏng 22

2

Trang 2

3

Trang 3

4Mbps Học được cách làm thế nào mà việc sử dụng và độ trễ của mạng thì bịảnh hưởng bởi việc tải-load cũng như bị ảnh hướng bới THT.

3 Cách tiến hành.

Bước 2: Lựa chọn Project và chọn OK

4

Trang 4

Đặt tên của project: Nhom2_Token và tên Scenario: scenariol.

5

Trang 6

Chọn Office cho Network scale I=>ân Next 3 lân I=cclick OK

c Startup Wizard: Select Technologies I ' ' í

Select the technotogies you wi use in

yoưr

network.

AI

Trang 7

Bước 4: chọn Object Palette: token_ring, sau đó lưu project: Nhom2_Token

3.2 Tạo mạng

9

Trang 8

Lựa chọn Topology => Rapid Coníìguration

10

Trang 9

Từ menu drop-down chọn Star và ấn OK.

[;C

I F.lc Prọịect: Nhom2_Token Scenario: scenariol [Subnet top.Office Netvvork]

File Edit Vievv Scenarios Topology Traffic Protocols Simulation Results Windows Help

c Model Selection Options

(• Mode) List I token_rmg

_u

Bước 3: trong hộp thoại Rapid Conýiguration, cài đặt sáu giá trị và ấn OK.

£3

Project: Nhom2_Token Scenario: scenariol [Subnet: top.Office Network]

File Edit Vievv Scenarios Topology Traffic Protocols Simulation Results Windows Help

Centeĩ Noòe Modd Ịừ32_hub

Penphety Node Moòd I tr_stabon ▼ Number 114

Itx

m|

12

Trang 10

Mô hình tr32_hub snode là một token ring hub hỗ trợ lên tới 32 kết nối

với tốc độ 4 or 16 Mbps Hub chuyển tiếp gói tin nhận được tới cổng kế tiếp.Trong Hub không có hàng đợi của gói tin, chính bản thân hub thời gian xử lý oin Prọịect Nhom2_Token Scenarío: scenariol [Subnet: top.Office Netvvork] File Edit View Scenarios Topology Traffic Protocols Simulation Results Windows Help

Trang 11

Bước 1: ấn chuột phải lên bất kì một node nào trong 14 node => Select

Similar Nodes Bây giờ các nodc trong mạng là đã được lựa chọn.

Edit Aliases

G Project: Nhom2_Token Scenario: scenariol [Subnet: top.Office Network]

File Edit View Scenarios Topology Traffic Protocols Simulation Resutts Windows Help

Jb JS> ị|j j=d| Ĩ£j

50 0

Itóde

Edit Attributes Set Name Select

Advanced Edit Attrlbutes View Node Description

Edit Similar Nodes Fail This Node

Choose Individual Statistics

View Results Compare Results Open Simulation Log Bring To Front Send To Back

14

Trang 12

File Edit View Scenarios Topology Traffic Protocols Simulation Results Windows Help

Bước 2: ấn chuột phải lên bất kì node nào trong 14 node => Edit

Attributes.

15

Edit Attribưtes

a tích vào ô Apply Changes to Selected Objects Điều này là quan trọng

File Edit View Scenarios Topology Traffic Protocols Simulation

Trang 13

Advanced Edit Attributes

View Node Description Select Similar Nodes Edit Similar Nodes Fail This Node

Edit Aliases

Choose Individual Statistics

View Results Compare Results Open Simulation Log

5C 0

Bring To Front Send To Back

16

Trang 14

I? Appty Changes to Sdected Objects

E«d Next

17

Click chuột phải lên thuộc tính THT Duratỉon => chọn Promote

Attribute to Higher Level.R Prọịect: Nhom2_Token Scenario: scenariol ĨSubnet: top.Office Network]1 File Edit View Scenarios Topology Traffic Protocols Simulation Results Windows Help

Q (rvode_3) Attributes ẻsi&

Trang 15

w Appty Changes to Seỉected Objects

mj

Buớc 5: mở rộng phân cấp Traffic Generation Parameters => gán

exponential(lOO) tới thuộc tính ON State Time,

Gán exponential(O) tới thuộc tính OFF State Time (chú ý: các gói tin chỉ

được tạo trên “ON” State)

s Project: Nhom2_Token Scenario: scenanol ISubnet: top.Office Netwcrk]

File Edit View Scenarios Topology Traffic Protocols Simulation Results Windows Help

c "OFF State Time' Specitication

Trang 16

I® R Traffic Generebon Parameters

® f- Start T«>e (seconds)

® [-ON State Tme (secoods)

® h OFF State Tme (seconds)

® Ị+J Packet Generabon Arguments

h Stop Tme (seconds)

y constant (5 0) exponenbal (100.0)

J

<->

( L S:op Time (seconds) Never

® l-Token Ring Parameters [0] THT Duration promoted

Bưó’c 7: ấn OK để quay lại Project Edìtor.

B Prọịect: Nhom2_Token Scenario: scenariol [Subnet top.Office Network] i

File EcTrt View Scenarios Topology Traffic Protocols Simulation Results Windows Help

21

Trang 17

trước khi phát token interarrival time là thời gian giữa các gói tin kế tiếp nhau

trong trạng thái “ON”

3.4 Cấu hình mô phỏng.

22

Trang 18

Bước 2: chăc chăn răng tab Common là được chọn => gán 5 minutes tới Duration.

Click tab Object Attributes => click nút Add

23

Trang 19

ParametersỊOỊ.THT Duration bàng cách click vào ô dưới cột Add? => click OK.

24

File Edit View Scenarios Topology Traffic Protocols Simulation Results Windows Help

Common I Global Attnbutes; Obíect Attnbưtes Repoíts I SI_As I Antnatton I PioSng I Advanced I Envronment Fíes I

1* Numba of rurts ri set: 1

jaj

“Attribute” => click vào nút Values.

25

Trang 20

này cho 6 giá trị).

26

Trang 22

Bước 8: đối với việc chạy 6 mô phỏng cần mô phỏng để lưu giá trị

“scalar”, scalar thê hiện giá trị “average” của thông tin thống kê được suy ra từ

28

Trang 23

Bước 10: click OK sau đó lưu project.

3.5 Lựa chọn các số liệu thống kê (Statistics).

Đê chọn các số liệu thống kê được thu thập trong suốt quá trình mô

29

Trang 24

File Edit Vĩew Scenarios Topology Traffic Protocols Simulation Results Windows Help

Go To Parent Subnet Zoom To Sdection ZoomIn Zoom Out Zoom To Window Edit Selected Objects

View Results Compare Results

Open Simulation Log Record Animation Choose Individual Statistics

a Mở rộng hệ thống phân cấp Global Satistics:

• Mở rộng hệ thống phân cấp Traíílc Sick => tích vào Traffic Received

(packets/sec).

30

Trang 25

Mở rộng hệ thống phân cấp Traffic Source => tích vào Traffic Sent (packets/sec).

31

Trang 26

b Mở rộng hệ thống phân cấp Node Statistics:

• Mở rộng hệ thống Token Ring => tích chọn Utilization

32

Trang 27

a chọn Choose Statistics (Advanced) tù’ menu Simulation.

b Điều tra Traffic Sent và Traffic Received xuất hiện dưới Global

33

Trang 28

c click chuột phải Traffic Received probe => Edit Attributes.

34

Trang 30

Cài đặt thuộc tính scalar type tới time average => click OK.

Global StatistỉC Probes -coiect Name Group Stabsbc

3

Trang 31

r Appty Changes to Sdected Objects

£ind Next I

d lặp lại các bước trên với Traííỉc Sent và Utilizatỉon probes

• Với Traffic Sent:

36

File Edit Objects Windows Help

F H F Global Stattsbc Probes

2ịvl Path Statistic Prot

Demand Stabsbc

Coupted Node Stc Attribute Probes Automatic Ammab

J

E (pbl) Attributes

Trang 32

r Apply Changes to Seiected Obỷects

Trang 33

chọn một node bất kì) => click OK.p

■ F,le

Prọịect: Nhom2_Token-scenariol Scenano: scenariol [Subnet: top.Office Network) 1 0 ' £3

Trang 34

Ta thu được kết quả: 40

c Click lại chuột phải lên thuộc tính probe mới tạo và lựa chọn Edit Attributes từ menu pop-up.

41

“attribute” => click OK.

File Edit Objects Windows Helpị

Global Stattstic Probes -collect Name Group StatBbc pbO Traffic Smk.Traffic pb1 TrafficSouroe.Trafll Node Statisbo Probes

-collect Name Group Stabstic pb2 Token Ring.Utiza Link Stahsbc Probes Path Statistĩc Probes Demand Statistic Probes Coupled Node Statistlc Probes Attribute Probes Name Attnbute Ob)ect

Automatic Animation Probes Statistic Arũmatlon Probes Custom Animabon Probes

J

3

3

r~ Apply Changes to Selected Objects

Find Next I Cancel

Bước 5: quay trở lại Project Editor Và lưu prọịect.

3.6 Duplicate the Scenario.

42

Trang 35

• Đặt tên là: unscenarỉo 1 => click OK.

43

Trang 36

Set Na me Unselect

Advanced Edit Attributes View Node Description Select Similar Nodes Edit Similar Nodes Fail This Node

Edit Aliases Choose Individual Statistics

View Results Compare Results Open Simulation Log

Trang 37

tính Interarrival Time tới exponential(0.005) Đảm bảo ràng hộp Apply Changes to Selected Objects đã được tích trước khi click OK.

Bước 3: lựa chọn tất cả các node ngoại trừ node_0 và node_745

Trang 39

• Mở rộng hệ thống phân cấp Traffic Generation Parameters => mở

thuộc tính Interarrival Time tới exponential(0.075) Đảm bảo rằng hộp Apply Changes to Selected Objects đã được tích trước khi click OK.

47

Trang 40

unscenariol tới trường Scalarýìle.

48

Trang 41

Bước 6: click OK và lưu project.

3.7 Chạy mô phỏng.

Bước 1: tới menu Scenarios => lựa chọn Manage Scenarios.

49

Trang 42

File Edit View Scenarios Topology Traffic Protocols Simulation Results Windows Help

50

Trang 43

Bước 3: click OK đế chạy mô phỏng Phụ thuộc vào tốc độ của bộ xử lý,

51

Trang 44

Tới menu File => chọn Model Files => Delete Model Files =>từ danh sách

chọn other model types => lựa chọn ( os): Output Scalars => lựa chọn scalar52

Trang 45

fìle đê xóa ; trong bài lab này là : Nhom2_Token_scenariol và Nhom2_Token

unscenariol => Click Close

3.8 Xem kết quả.

Bước 1: lựa chọn View Results (Advanced) tù’ menu Results.

ri

Project: Nhom2_Token Scenario: unscenariol [Subnet: top.Office NehvorkỊ

File Edit View Scenarios Topology Traffic Protocols Simulation I Results I Windows Help

Find Top Results

View Results (Advanced)

Visualize Link Statistics Clear Link Visuaiization

Play Animation Open Simulation Log

Panels

Arrange Panels Paneỉ Annotations Panel Templates Delete All Panels

node

node_13 node_0

• Công cụ Analvsis Coníiguration thì được mở.

53

Trang 46

Bước 2: tải scenariol, chọn Load Output Scalar File từ menu File => lựa

chọn Nhom2_Token_scenariol tù’ menu pop-up

54

Trang 47

seỉect the output scaiar Aename

Bước 3: lựa chọn Create Scalar Panel từ menu Panels.

55

Trang 48

Bước 4: click OK

56

Trang 49

Bước 5: thay đổi tiêu đề của đồ thị, click chuột phải trên vùng graph và

chọn Edit Graph Properties

Analysis Coníiguration: Nhom2_Token-unscenariol File Edrt Panels VVindovvs Help

"1r

0.1 0.2

Export Graph Data to Spreadsheet Make Graph Template Load Data Into Template Generate Distribution from Trace Remove Trace

Thay đổi Custom Title thành Scenariol Utỉlization.

57

Bước 6: click OK.

Bước 7: để so sánh với unscenariol, tải scalar file của nó, lựa chọn Load

Output Scalar File từ menu File => lựa chọn Nhom2_Token_unscenariol từ

menu pop-up

G 2 available files ỉg i B I'

58

Trang 50

panel data như trong bước 3.

Custom Title thành Unscenariol Utilization => click OK.

59

Trang 51

Bước 10: để kết hợp hai đồ thị ở trên thành một đồ thị, chọn Create

Vector Pane từ menu Panels => click lên tab Display Panel Graphs => chọn cả

scenariol Utilization and Unscenariol Utilization statistics => chọn Overlaid

Statistics từ menu drop-down

Bước 11: click Show Ket quả hiền thị:

60

Trang 52

Bước 12: lặp lại các quá trình tương tự để kiểm tra ảnh hưởng của THT

61

Ngày đăng: 07/01/2016, 17:41

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w