Free Essay

Creation of a Radix Transformer Multiplier

In: Science

Submitted By gaffylise
Words 1544
Pages 7
Lab 2

Switches versus Hubs

Overview Ethernet hubs work at the physical layer, simply repeating any frames they receive on one port onto all other ports. For this reason, they are also called multiport repeaters. Switches, on the other hand, forward frames only to the port that is connected to the frame’s destination. All the nodes connected to a hub are considered to be part of the same broadcast domain. In other words, any frame transmitted by one of the nodes will be received by all the rest. This configuration can limit throughput, as all nodes must share the capacity of the LAN. Since switches forward frames only on a single line, they create multiple broadcast domains, leading to great gains in throughput. The throughput of a switch is restricted, however, by its processing speed, the speed at which it can forward frames onto the correct outgoing link. Objective To examine the change in throughput in a local area network when upgrading from a hub to a switch. Build the Simulation Model Start up OPNET IT Guru Academic Edition. Select the File tab => New... Choose Project and click on OK. Change the Project Name to xx_Switch_vs_Hub (where xx are your initials). Set the Scenario Name to Hub and click on OK. In the Initial Topology window, select Create Empty Scenario and click on Next. In the Choose Network Scale window, select Office and click on Next. In the Specify Size window, accept the default values and click on Next. In the Select Technologies window, include the ethernet and ethernet_advanced model families, and click on Next. In the Review window, click on OK.

First, we will build a LAN in which the workstations are connected together with an Ethernet hub. An easy way to create a network with a large number of nodes in OPNET is with the Rapid Configuration tool.

OPNET Lab Manual Select the Topology tab => Rapid Configuration. Set the Configuration to Star, and click on OK. Set the Center Node Model to ethernet16_hub. Set the Periphery Node Model to ethernet_station. Set the Link Model to 10BaseT. Set the Number to 12, and click on OK to create the LAN.

Right click on the hub and select Set Name. Set the Name to Hub. Click on OK to close the window. Now we need to set up the traffic patterns for the Ethernet stations. Right click on any of the stations and choose Select Similar Nodes. Next, right click on one of the stations and choose Edit Attributes. Put a check in the checkbox next to Apply Changes to Selected Objects. Expand the Traffic Generation Parameters and Packet Generation Arguments attributes. Set the ON State Time to constant(1000), and the OFF State Time to constant(0). This will ensure that the stations are always sending. Set the Interarrival Time (seconds) to exponential(0.005) and the Packet Size (bytes) to constant(1000). Click on OK to apply the changes and close the window. Each station will now generate traffic at an average rate of one 1000-byte packet every 5 milliseconds. You can calculate the average traffic that each node will generate from the interarrival time and the packet size. For instance, 1000 bytes/packet * 8 bits/byte * 1 packet/0.005 sec = 1.6 Mbps

18

Lab 2

Switches versus Hubs

We are done creating the hub-based LAN. Your model should look like the one presented next.

19

OPNET Lab Manual Configure the Simulation Select the Simulation tab => Choose Individual Statistics… Expand the Global Statistics item and the Ethernet item, and select the Delay (sec) statistic. Expand the Traffic Sink item and select the Traffic Received (bits/sec) statistic. Expand the Traffic Source item and select the Traffic Sent (bits/sec) statistic. Expand the Node Statistics item and the Ethernet item, and select the Collision Count statistic. Click on OK to close window.

Select Simulation => Configure Discrete Event Simulation… Under the Common tab, set the Duration to 2, and the unit to minute(s). Click on OK to close the window.

20

Lab 2

Switches versus Hubs

Duplicate the Scenario Let us now build another scenario which uses an Ethernet switch as the center of the LAN instead of the hub. This will allow us to compare the performance of the two designs. Choose Scenarios => Duplicate Scenario, and name the new scenario Switch. Click on OK to create the scenario. Right click on the hub and choose Edit Attributes. Left click on the model attribute and choose ethernet16_switch_adv from the pull-down menu. Click on OK to make the change.

21

OPNET Lab Manual

Right click on the switch and choose Set Name. Set the Name to Switch and click on OK to close the window.

22

Lab 2

Switches versus Hubs

Run the Simulation Select the Scenarios tab => Manage Scenarios… Edit the Results field in both rows and set the values to or . Click on OK to run both scenarios (one after the other). When the simulation has completed, click on Close to close the window.

23

OPNET Lab Manual

Inspect and Analyze Results Select the Results tab => Compare Results… Select and expand the Global Statistics item, and the Ethernet item and select the Delay (sec) statistic. View the statistic in As Is mode. Click on Show for a more detailed graph. This statistic shows the delivery delay for Ethernet frames. You can see that the delay for the switch scenario is small and constant, while the delay for the hub scenario is growing without bound. This is to be expected as we are loading the hub far past its capacity. Remember that we said each node was generating 1.6 Mbps of traffic. With 12 nodes in the system, that comes to 12 * 1.6 Mbps = 19.2 Mbps of offered load. The hub is operating at only 10 Mbps (since we specified 10BaseT links in the configuration). Click on the close window icon and Delete the panel. Click on the statistic again to disable the preview.

24

Lab 2

Switches versus Hubs

Expand the Traffic Sink item, and select the Traffic Received (bytes/sec) statistic. View the statistic in As Is mode. Click on Show for a more detailed graph. This statistic shows the sum total of traffic received by all stations in the LAN. You can see that the traffic received in the hub case tops out near 10 Mbps, the rated speed of the hub. The switch, on the other hand, easily delivers nearly twice that much traffic. Click on the close window icon and Delete the panel. Click on the statistic again to disable the preview.

25

OPNET Lab Manual

Expand the Traffic Source item, and select the Traffic Sent (bytes/sec) statistic. View the statistic in As Is mode. This statistic shows the sum total of traffic sent by all stations in the LAN. You can see that the same amount of traffic was generated in both scenarios. The switch, however, can actually carry this much traffic. Click on the statistic again to disable the preview. You can always click on Show for more detail. Click on Close to close the Compare Results window.

26

Lab 2

Switches versus Hubs

Lastly, we will look at a statistic which only applies to the hub scenario. Select the Scenarios tab => Switch to Scenario and select the Hub scenario. Select the Results tab => View Results… Expand the Object Statistics, Office Network, Hub, and Ethernet items. Select the Collision Count statistic. View the statistic in As Is mode. This statistic shows the number of collisions that occurred at the hub during the simulation. You can see that close to 2000 collisions per second occurred. This is due to the heavy overloading of the hub. Click on Close to close the View Results window.

27

OPNET Lab Manual

Save your model and close all windows. Questions 1. The switching capacity of a switch determines the amount of load it can process. Duplicate the Switch scenario and name the new scenario Switching_Speed. Edit the switch and expand the Bridge Parameters attribute. Set the Packet Service Rate (packets/sec) attribute to 2000. Now the switch can only handle 2000 frames per second. Calculate the number of packets generated (total) using the Packet Generation parameters of the Ethernet stations. Rerun the simulation and examine the Ethernet delay, Traffic Received, and Traffic Sent statistics. Explain your results. 2. Continue with the Switching_Speed scenario you created in Question 1. Determine how large the Packet Service Rate must be in order for the switch to handle all the offered load. In other words, how large must the rate be in order for the Traffic Received to equal the Traffic Sent? Explain your answer. 3. Duplicate the original Switch scenario and name the scenario Smooth_Traffic. Right click on one of the Ethernet stations and choose Select Similar Objects. Right click again on one of the Ethernet stations and choose Edit Attributes. Edit the Packet Generation Parameters and set the interarrival time to constant(0.005). The average rate of traffic generation will be the same, but the frames will be generated regularly, rather than on the basis of an exponential (bursty) distribution. Rerun the simulation and compare your results to the Switch scenario results.

28

Similar Documents

Premium Essay

Electrical Electronics

...UNIVERSITY OF KERALA B. TECH DEGREE COURSE 2008 SCHEME ELECTRICAL AND ELECTRONICS ENGINEERING I to VIII SEMESTER SCHEME AND SYLLABUS BOARD OF STUDIES IN ENGINEERING AND FACULTY OF ENGINEERING AND TECHNOLOGY UNIVERSITY OF KERALA B.Tech Degree Course – 2008 Scheme REGULATIONS 1. Conditions for Admission Candidates for admission to the B.Tech degree course shall be required to have passed the Higher Secondary Examination, Kerala or 12th Standard V.H.S.E., C.B.S.E., I.S.C. or any examination accepted by the university as equivalent thereto obtaining not less than 50% in Mathematics and 50% in Mathematics, Physics and Chemistry/ Bio- technology/ Computer Science/ Biology put together, or a diploma in Engineering awarded by the Board of Technical Education, Kerala or an examination recognized as equivalent thereto after undergoing an institutional course of at least three years securing a minimum of 50 % marks in the final diploma examination subject to the usual concessions allowed for backward classes and other communities as specified from time to time. 2. Duration of the course i) The course for the B.Tech Degree shall extend over a period of four academic years comprising of eight semesters. The first and second semester shall be combined and each semester from third semester onwards shall cover the groups of subjects as given in the curriculum and scheme of examination ii) Each semester shall ordinarily comprise of not less than 400 working periods each of 60 minutes...

Words: 36386 - Pages: 146

Free Essay

Idrivesa

...2007-2008 JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY, HYDERABAD B.TECH. ELECTRONICS AND COMMUNICATION ENGINEERING I YEAR COURSE STRUCTURE |Code |Subject |T |P/D |C | | |English |2+1 |- |4 | | |Mathematics - I |3+1 |- |6 | | |Mathematical Methods |3+1 |- |6 | | |Applied Physics |2+1 |- |4 | | |C Programming and Data Structures |3+1 |- |6 | | |Network Analysis |2+1 |- |4 | | |Electronic Devices and Circuits |3+1 |- |6 | | |Engineering Drawing |- |3 |4 | | |Computer Programming Lab. |- |3 |4 | | |IT Workshop |- |3 |4 | | |Electronic Devices and Circuits Lab |- |3...

Words: 26947 - Pages: 108

Free Essay

Nit-Silchar B.Tech Syllabus

...NATIONAL INSTITUTE OF TECHNOLOGY SILCHAR Bachelor of Technology Programmes amï´>r¶ JH$s g§ñWmZ, m¡Úmo{ à VO o pñ Vw dZ m dY r V ‘ ñ Syllabi and Regulations for Undergraduate PROGRAMME OF STUDY (wef 2012 entry batch) Ma {gb Course Structure for B.Tech (4years, 8 Semester Course) Civil Engineering ( to be applicable from 2012 entry batch onwards) Course No CH-1101 /PH-1101 EE-1101 MA-1101 CE-1101 HS-1101 CH-1111 /PH-1111 ME-1111 Course Name Semester-1 Chemistry/Physics Basic Electrical Engineering Mathematics-I Engineering Graphics Communication Skills Chemistry/Physics Laboratory Workshop Physical Training-I NCC/NSO/NSS L 3 3 3 1 3 0 0 0 0 13 T 1 0 1 0 0 0 0 0 0 2 1 1 1 1 0 0 0 0 4 1 1 0 0 0 0 0 0 2 0 0 0 0 P 0 0 0 3 0 2 3 2 2 8 0 0 0 0 0 2 2 2 2 0 0 0 0 0 2 2 2 6 0 0 8 2 C 8 6 8 5 6 2 3 0 0 38 8 8 8 8 6 2 0 0 40 8 8 6 6 6 2 2 2 40 6 6 8 2 Course No EC-1101 CS-1101 MA-1102 ME-1101 PH-1101/ CH-1101 CS-1111 EE-1111 PH-1111/ CH-1111 Course Name Semester-2 Basic Electronics Introduction to Computing Mathematics-II Engineering Mechanics Physics/Chemistry Computing Laboratory Electrical Science Laboratory Physics/Chemistry Laboratory Physical Training –II NCC/NSO/NSS Semester-4 Structural Analysis-I Hydraulics Environmental Engg-I Structural Design-I Managerial Economics Engg. Geology Laboratory Hydraulics Laboratory Physical Training-IV NCC/NSO/NSS Semester-6 Structural Design-II Structural Analysis-III Foundation Engineering Transportation Engineering-II Hydrology &Flood...

Words: 126345 - Pages: 506

Free Essay

Engineering

...-Aa posteriori distribution a priori distribution A.C. pulse abandoned connection abbreviated address calling abend aberration abnormal end abnormal reflection abnormal termination abort sequence abort, to aborted connection absolute code absolute delay absolute error absolute error of measurement absolute instruction absolute instrument absolute pressure absolute stability of a system absolute system of electrical units absolute-value device absolutely stable system absolutely summable absorb, to absorbant absorbing state absorption cross-section absorption loss absorption modulation absorption absorption spectrum absorption trap absorptive attenuator abstract abstract symbol abstract syntax tree abstraction AC AC/DC converter accelerate, to accelerated test accelerating relay acceleration of gravity sonsal dağılım önsel dağılım almaşık akım darbesi yarıda kalan bağlantı kısa numarayla arama olağandışı sonlanma sapınç olağandışı son olağandışı yansıma olağandışı son durdurma dizisi (bitirmeden) durdurmak yarıda kalan bağlantı makina dilindeki kod, mutlak kod mutlak gecikme mutlak hata mutlak ölçüm hatası makina dilindeki komut, mutlak komut mutlak ölçü aleti mutlak basınç bir dizgenin mutlak kararlılığı elektrik birimlerinin mutlak sistemi mutlak değer aygıtı mutlak kararlı dizge mutlak toplanır soğurmak soğurgan soğurucu durum etkin soğurma alanı soğurum yitimi enerji soğurum kiplenimi soğurulma, soğurum soğurum izgesi soğurum tuzağı soğurgan zayıflatıcı 1) öz; 2) soyut soyut...

Words: 38690 - Pages: 155

Premium Essay

Hai, How Are U

...UNIVERSITY OF KERALA B. TECH. DEGREE COURSE 2008 ADMISSION REGULATIONS and I  VIII SEMESTERS SCHEME AND SYLLABUS of COMPUTER SCIENCE AND ENGINEERING B.Tech Comp. Sc. & Engg., University of Kerala 2 UNIVERSITY OF KERALA B.Tech Degree Course – 2008 Scheme REGULATIONS 1. Conditions for Admission Candidates for admission to the B.Tech degree course shall be required to have passed the Higher Secondary Examination, Kerala or 12th Standard V.H.S.E., C.B.S.E., I.S.C. or any examination accepted by the university as equivalent thereto obtaining not less than 50% in Mathematics and 50% in Mathematics, Physics and Chemistry/ Bio- technology/ Computer Science/ Biology put together, or a diploma in Engineering awarded by the Board of Technical Education, Kerala or an examination recognized as equivalent thereto after undergoing an institutional course of at least three years securing a minimum of 50 % marks in the final diploma examination subject to the usual concessions allowed for backward classes and other communities as specified from time to time. 2. Duration of the course i) The course for the B.Tech Degree shall extend over a period of four academic years comprising of eight semesters. The first and second semester shall be combined and each semester from third semester onwards shall cover the groups of subjects as given in the curriculum and scheme of examination ii) Each semester shall ordinarily comprise of not less than 400 working periods each of 60 minutes duration...

Words: 34195 - Pages: 137

Free Essay

Test2

...62118 0/nm 1/n1 2/nm 3/nm 4/nm 5/nm 6/nm 7/nm 8/nm 9/nm 1990s 0th/pt 1st/p 1th/tc 2nd/p 2th/tc 3rd/p 3th/tc 4th/pt 5th/pt 6th/pt 7th/pt 8th/pt 9th/pt 0s/pt a A AA AAA Aachen/M aardvark/SM Aaren/M Aarhus/M Aarika/M Aaron/M AB aback abacus/SM abaft Abagael/M Abagail/M abalone/SM abandoner/M abandon/LGDRS abandonment/SM abase/LGDSR abasement/S abaser/M abashed/UY abashment/MS abash/SDLG abate/DSRLG abated/U abatement/MS abater/M abattoir/SM Abba/M Abbe/M abbé/S abbess/SM Abbey/M abbey/MS Abbie/M Abbi/M Abbot/M abbot/MS Abbott/M abbr abbrev abbreviated/UA abbreviates/A abbreviate/XDSNG abbreviating/A abbreviation/M Abbye/M Abby/M ABC/M Abdel/M abdicate/NGDSX abdication/M abdomen/SM abdominal/YS abduct/DGS abduction/SM abductor/SM Abdul/M ab/DY abeam Abelard/M Abel/M Abelson/M Abe/M Aberdeen/M Abernathy/M aberrant/YS aberrational aberration/SM abet/S abetted abetting abettor/SM Abeu/M abeyance/MS abeyant Abey/M abhorred abhorrence/MS abhorrent/Y abhorrer/M abhorring abhor/S abidance/MS abide/JGSR abider/M abiding/Y Abidjan/M Abie/M Abigael/M Abigail/M Abigale/M Abilene/M ability/IMES abjection/MS abjectness/SM abject/SGPDY abjuration/SM abjuratory abjurer/M abjure/ZGSRD ablate/VGNSDX ablation/M ablative/SY ablaze abler/E ables/E ablest able/U abloom ablution/MS Ab/M ABM/S abnegate/NGSDX abnegation/M Abner/M abnormality/SM abnormal/SY aboard ...

Words: 113589 - Pages: 455