.

Monday, April 1, 2019

Simulation of Current Computer Networks

pretext of Current Computer Ne bothrksThe current cyberspace is ground on IP protocol and supports merely best effort assists. With the exponential growth of Internet during the last years, IP net whole caboodle be expected to support non but typical services like transfer and email, however also real- conviction services and tv set streaming application. The duty characteristics of these applications require a indisputable Quality of Service (QoS) from the network in terms of bandwidth and find out requirements.We ensure three queuing discip contentions which be widely deployed and we comp atomic number 18 their performance using guise carried out in OPNET. The queuing discip margins considered in this paper be First-In-First-Out ( prototypical in first out), Priority Queuing (PQ) and heavy Fair queuing (WFQ).BackgroundIn general, a line up up is a line of people or things waiting to be handled, usu ally in nonparallel order bulgeing at the beginning or top of the line or sequence. In network prospective packet boats are queuing in warehousing airplane pilot of network devices like router and switch. Generally the packets are managed in get-go of all in first out fashion. To improve the quality of services diverse techniques use with the succeeding(a) properties like packets are handled reasonablyly and prioritized properly.Several queuing techniques are uses to manage internet occupation, first in first out, WFQ, PQ. first in first out is common in all the queuing schemes, as it describes the basic method in which packets flow through line ups.First in First out stand up (FIFO)FIFO queuing is the most basic align scheduling discipline. In FIFO queuing, all packets are treated every bit by placing them into a single line up, and thusly servicing them in the aforesaid(prenominal) order that they were placed into the queue. FIFO queuing is also referred to as First fall down, first litigated (FCFS) queuing. manikin 1 FI FO Queue.Priority Queue (PQ)Priority queuing (PQ) is the base of operations for a class of queue scheduling algorithms that are designed to offer a relatively simple method of supporting incompatibleiated service classes. In classic PQ, packets are first classified by the outline and then placed into various antecedency queues. mail boats are scheduled from the take aim of a contriven queue only if all queues of higher precession are empty. Within apiece of the antecedency queues, packets are scheduled in FIFO order.Figure 2 Priority Queue.Weighted Fair Queue (WFQ)This is the combination of PQ and Fair Queue. In fair queue the problem is understand some queues may not get serviced because high- anteriority queues are being serviced. A round- redbreast approach is used to service all queues in a fair way. In WFQ All queues are serviced so that none are starved, scarce some queues are serviced more than differents. A cargo is applied to queues to give some queues highe r priority. For example, one queue may get half(prenominal) the available bandwidth and other queues will get an allocation of the remaining bandwidth. business may be prioritized according to packet markings, source and goal IP address fields, port numbers, and information in the ToS field. WFQ weights calling so that low-bandwidth employment gets a fair level of priority. If high-priority queues are not in use, lower-priority calling uses its queues. This prevents high-bandwidth calling from grabbing an unfair share of resources.WFQ uses an intelligent congestion management dissolving agent that provides fair sharing of the interface bandwidth between multiple art flows. A dealings flow (or conversation) is a unidirectional sequence of packets, defined based on the protocol type, the source/destination IP addresses, the source/destination ports numbers (when available), and partially on the IPv4 ToS byte appraise. For example, an HTTP file transfer between two hosts re presents one packet flow, magical spell ICMP packets sent from one host to some other represents a second. The WFQ shares this dampen space between all flow queues.Figure 3 Weighted Fair Queue.Problem SolutionsQ1 Analyze the graphs we obtained and verify the lap of the office bundle terminus to End Delay and articulatio Packet Delay Variation graphs. Compare the three queuing disciplines and explain their effect on the performance of the three applications.Packets DropFigure 4 IP occupation Dropped for FIFO,PQ,WFQ.For all three compositors sides, Transmission actuates at 1 min 45 sec because for all three profiles start at time=100sec=1 min 40 sec and offset for for each one application from start of profile is 5 sec.Voice client/ take to heartr rate= five hundred packets/sec scene client/server 130 packets/ sec transfer Client/server 1- 33 packets/ secFor FTP, TOS=0For Video TOS=4For Voice TOS=6In case of FIFO, at that place is only 1 queue of size of it of it vitamin D packets. In FIFO thither is no priority to any type of traffic. When more packets arrive then communicable, these are stored in a queue. If queue is full then any future packet will be dropped until there is some space in queue. As in case of FIFO there is no priority assigned to any type of traffic , queue will accommodate full in less time because join packets (500 packets/sec) will interest queue more quickly when router is transmitting other packets (packets of impression and ftp client).For PQ, these are queue profile settings dep give notice uping upon TOS of ledger entry traffic.For FTP, tos = 0, Priority= low, queue size= 80 packetsFor Video tos = 4, Priority = medium, queue size= 40 packetsFor Voice tos= 6, Priority = high, queue size= 20 packets straight PQ, Voice packets absorb highest priority. After phonate, Video traffic has high priority and FTP has utmost priority. Affect of this is less dropped packets in queue because in PQ, each different TOS has different queue. Voice packets have highest priority so they are catching as soon as receive. So now, ftp and video traffic cannot hold the bandwidth when there is vocalise packet to s break. Similarly video traffic has priority over FTP. Important thing to note is that queue size is low for higher priority queues because low priority traffic wishing to wait more when there are high priority packets coming.Now for WFQ, Parameters areFor FTP, tos=0, weight = 1, queue size= 500 packetsFor Video tos=4, weight = 40, queue size= 500 packetsFor Voice tos=6, weight = 60, queue size= 500 packetsBuffer capacity 1000 packetsFor WFQ, although queue size is 500 for each queue but WFQ uses shared buffer that means it allows queue size to join on even later on 500pkts until buffer capacity is filled. When buffer is full this means interface is in the state of congestion, now the interface starts enforcing the individual queue limits as explained in theory.So at 2 min and 40 sec approx, interface reaches at congestion state, now max size of each queue is enforced to 500 packets and rude(a) incoming packets are dropped. After congestion state, as now queue size has been enforced to 500 for each flow, now packets drop increase even a little bit more than PQ because in case of WFQ 40/101 = 40% BW is also assigned to Video traffic, So here Voice traffic has to wait when its turn for video packets causing packet loss after queue is full as opposed to PQ where component part traffic does not need to wait. handicraft receive for Video ConferencingFigure 5 Video Conferencing trade Received.Traffic sure for Video Conferencing is higher in the case of FIFO as compared to PQ and WFQ at steady state. For PQ, whole channel is occupied by voice packets because whenever there is voice traffic other traffic is stopped hence traffic received for Video Conferencing is less in PQ.Now for WFQ, at start traffic received is higher because system is not in close up state and WFQ i s using shared buffer of 1000 packets size as compared to 500 packets buffer of FIFO, but as congestion state is achieved at approx 2 min 40 sec as shown in Fig4. Packet drop increases and now queue size of 500 packets is enforced for each queue. Also video packets are given weight of 40, while voice packets are given weight 60 this means video packets are given less priority which results in less traffic for video in WFQ.Traffic Received for VoIPFigure 6 Voice Traffic Received.Traffic received for voice is less in case of FIFO as compared to the other two scenarios.FIFO is first come first serve based mechanism, in which no special traffic priority is given to any type of traffic. As in Fig5 In case of FIFO traffic received for Video traffic is more this for certain leads to less traffic received for Voice traffic. In this case voice, FTP and video packets have equal opportunity. Now in case of PQ and WFQ, received traffic for voice is higher compared to the FIFO system. In PQ, Vo ice traffic is given highest priority and these packets are transmitted as soon as they are received, similarly voice traffic is also given priority in case of WFQ by assigning weight 60 as compared to 40 assigned for video traffic.Figure 7 Voice Traffic Received.If we further zoom in the Fig6 to analyze the small difference in the curves of PQ and WFQ for voice traffic. At start voice traffic is same for both, but after approx 2 min 30 sec, traffic received in case of WFQ fall a little bit due to congestion phenomenon in WFQ as already explained above in the report.End to End Delay for Voice PacketsFigure 8 Voice Packet lengthwise Delay.In case of PQ and WFQ, the abrogate to end suss outs are almost negligible. argue for such a small ride out is the priority given to voice packets in case of PQ and WFQ. In PQ voice packets are given priority by stopping all other traffic when voice packets are coming and in WFQ voice packets are given priority by assigning higher weight i.e. a pprox 60% of bandwidth is assigned to voice traffic communication.In case of FIFO, there is no priority all the packets are severed on first come and first out basis. So when there is video or FTP traffic, voice traffic has to wait. At start delay increases sharply, because at start buffer is empty and voice packets are served quickly but as buffer continues to fill up, delay increases because now voice packets has to wait more in buffer . When buffer is full, As in Fig8 at 2 min approx, now delay is approx constant with little variations because buffer is full so every packet has to wait at least until 500 packets of buffer are transmitted before its turn.Delay Variation for Voice PacketsFigure 9 Voice Packet Delay Variation and overlap with Voice packet throughout Delay.Packet delay variation is Variance among end to end delays for voice packets. From Fig9, Delay variation is less for PQ and WFQ as compared to FIFO. PQ and WFQ have the negligible delay variation. For FIFO, at star t delay variation rises quickly to peak head up this is because at start end to end delay variation is greater as buffer is empty and start filling as explained in Fig8 and then end to end delay becomes approx constant around a mean value when buffer is full as explained already in description of Fig8 which is reason why Packet delay variation decreases after peak point.Actually Packet Delay Variation does not only depend upon front delay value. It is the cumulative effect of all the previous packets as we have already researched on it in period 2 Voice over IP delay measurements paper assignment in course Internet Services and Traffic Measurements.So as the end to end delay becomes more constant, packet delay variation value falls. In the case of PQ and WFQ delay variation is very small because end to end delay is very small also there is no variation in end to end delay because voice packets are given highest priority in Both PQ and WFQ.Q2 In the implemented project, bring down the Queues object and check the profiles assigned to the FIFO, PQ, and WFQ discipline. For each profile answer the following questionsHow some(prenominal) queues are associated with each discipline?Table 1 tally of queues in each configurationQueue ConfigurationNumber of queuesFIFO1PQ4WFQ8In this lab, we used ToS to come upon the priority and weight for the PQ and WFQ disciplines. What are the other parameters that can be used to identify the priority and weight?Protocol, Port and DSCP are the other parameters that can be used to identifypriority and weight.In PQ, how are queues configured to serve different ToS values?Router identifies priority based on TOS field of the incoming packets and sortincoming packets in appropriate queue based on TOS.Table 2 PQ queue configurationQueuePriority judgeToSQueue Size0LowBest childbed(0),Background(1)801NormalStandard(2),Excellent(3)402MediumSteaming multimedia(4), synergistic Multimedia(5)603HighInteractive Voice(6),Reserved(7)20In WFQ, how are queues configured to serve different ToS values?In WFQ, weights are assigned to serve different TOS and TOS field of incomingpackets is checked to route them in a precise queue and queues are served basedon weights.Table 3 WFQ queue configurationQueueWeightToS01Best Effort110Background220Standard330Excellent Effort440Streaming Multimedia550Interactive Multimedia660Interactive Voice770ReservedQ3 Compare queuing delay for all queuing disciplines.Queuing Delay for all scenariosFigure 10 Queuing Delay for each configuration.From Fig10, FIFO has the worst queuing delay which is higher than the PQ because in case of FIFO there is only one queue and packets are served on first come first served basis. When there is other traffic, packets has to wait in queue. There is not much difference between the PQ and WFQ queuing delay.PQ has slightly higher queuing delay as compared to WFQ because PQ gives highest priority to voice traffic and when voice packets are coming then all other (V ideo and FTP) packets have to wait in queue while in case of WFQ each queue has a share in BW and packets in one queue does not disturbs the right of other queues to transmit. Specifically, in our example, there are more voice packets in traffic as compared to video packets. So assigning a weight of 60 to voice as compared to 40 for video justifies it.ConclusionIn this lab, by using three different types of traffic, we analyzed the effect of different queuing systems on network performance in terms of packet loss, end to end delay and delay variation.In case of FIFO packets drop is greater as compared to PQ and WFQ. FIFO does not utilizes any priority scheme it works on first come first server basis ,when queue is full , incoming packets are dropped unless there is some space in queue. PQ gives priority to specific type of traffic, it is good when one type of traffic is very time sensitive and important and remaining traffic does not demand any special timing limits. PQ fails when t here are many different types of traffic which are time sensitive because PQ does not shares annulus Width equally with all types of traffics, So highest prioritized traffic can blockade the rest of communication.WFQ is the combination of FIFO and PQ where bandwidth is shared between all queues and each queue get its turn in a round robin fashion. We concluded after analyzing graphs of different queues PQ and WFQ queuing system has very small end to end delay and delay variation which is required for real time applications where traffic is time sensitive e.g. VoIP or Video Conferencing.

No comments:

Post a Comment