0% found this document useful (0 votes)
4 views5 pages

ECMP vs Round Robin Routing Efficiency

Uploaded by

Sankalp Singh
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views5 pages

ECMP vs Round Robin Routing Efficiency

Uploaded by

Sankalp Singh
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

4.

5 Final Testing and Documentation

Table 1. The Results of The Response Time (ms) Test for ECMP Routing Protocol
Router PC / IP Average RTT
Address

R0 [Link] 11ms

R1 [Link] 12ms

R2 [Link] 7ms

R3 [Link] 17ms

R4 [Link] 11ms

R5 [Link] 7ms

While sending a data packet from one PC to another size of the data packet is fixed by 32
Bytes.
Bandwidth or data rate of the packet is found to be 12.5MBps.

Fig.4. This is the Bandwidth of the network


4.5.1 Calculation of Efficiency of ECMP Routing Protocol

Formula Used: 𝐸𝑓𝑓𝑖𝑐𝑖𝑒𝑛𝑐𝑦 = 𝑇𝑑÷ 𝑅𝑇𝑇

Here, Td = packet size ÷ bandwidth


Td = 32B ÷ 12.5MBps
Td = 0.00000256

For Router 0 given IP Address is [Link]


Here, RTT = 11 ms
η = (0.00000256 / 0.00000011) *100
η = 23.27%

For Router 1 given IP Address is [Link]


Here, RTT = 12 ms
η = (0.00000256 / 0.00000012) *100
η = 21.33%

For Router 2 given IP Address is [Link]


Here, RTT = 7 ms
η = (0.00000256 / 0.0000007) *100
η =36%

For Router 3 given IP Address is [Link]


Here, RTT = 17 ms
η = (0.00000256 / 0.00000017) *100
η = 15.05%

For Router 4 given IP Address is [Link]


Here, RTT = 11 ms
η = (0.00000256 / 0.00000011) *100
η = 23.27%

For Router 5 given IP Address is [Link]


Here, RTT = 7ms
η = (0.00000256 / 0.0000007) *100
η= 36.57%
Table 2. The Results of The Response Time (ms) Test for Round Robin Algorithm
Router PC / IP Address Average
RTT

R0 [Link] 4.5ms

R1 [Link] 4.6m

R2 [Link] 5ms

R3 [Link] 3.7ms

R4 [Link] 3.2ms

R5 [Link] 3.5ms

4.6.2 Calculation of Efficiency of Round Robin Algorithm

Formula Used: 𝐸𝑓𝑓𝑖𝑐𝑖𝑒𝑛𝑐𝑦 = 𝑇𝑑÷ 𝑅𝑇𝑇

Here, Td = packet size ÷ bandwidth


Td = 32B ÷ 12.5MBps
Td = 0.00000256

For Router 0 given IP Address is [Link]


Here, RTT = 4.5ms
η = (0.00000256 / 0.00000045) *100
η = 56.88%

For Router 1 given IP Address is [Link]


Here, RTT = 4.6ms
η = (0.00000256 / 0.00000048) *100
η = 55.65%

For Router 2 given IP Address is [Link]

Here, RTT = 5ms


η = (0.00000256 / 0.0000005) *100
η = 51.2%
For Router 3 given IP Address is [Link]
Here, RTT = 3.7ms
η = (0.00000256 / 0.0000007) *100
η = 69.18%

For Router 4 given IP Address is [Link]


Here, RTT = 3.2ms
η = (0.00000256 / 0.00000032) *100
η = 80%

For Router 5 given IP Address is [Link]


Here, RTT = 3.5ms
η = (0.00000256 / 0.0000003.5) *100
η =73.14%

Common questions

Powered by AI

The Round Robin algorithm consistently outperforms ECMP in terms of RTT according to Table 2. For instance, Router 0's RTT in Round Robin is only 4.5 ms compared to 11 ms in ECMP. Similarly, other routers show lower RTTs in Round Robin, such as Router 4 with 3.2 ms as against 11 ms in ECMP. This uniform reduction in RTT across routers implies more rapid data packets exchange, enhancing efficiency considerably compared to ECMP .

While average RTT is a valuable metric for assessing routing protocol performance in terms of latency, relying on it solely can be limiting. Average RTT may overlook variations in path stability, packet loss rates, jitter, and adaptability of protocols to dynamic changes in network topology. Additionally, it might not fully capture the user experience quality in real-world conditions where factors like load balancing, fault tolerance, and throughput also play significant roles. Thus, a comprehensive evaluation should also integrate these aspects to provide a more holistic assessment of protocol performance .

The efficiency of the ECMP routing protocol varies significantly among the routers due to differences in their RTT values. Router 2 and Router 5 both show the highest efficiency values of 36% because they have the lowest RTTs of 7 ms. Conversely, Router 3 has the lowest efficiency of 15.05% due to its highest RTT of 17 ms. Since efficiency is inversely proportional to RTT for a fixed packet size and bandwidth, routers with lower RTTs generally show higher efficiency values .

RTT significantly impacts the efficiency of routing protocols because it represents the time taken for a packet to travel from its source to a destination and back. With a fixed packet size and bandwidth, a lower RTT implies that data packets are able to circulate through the network more quickly. This rapid circulation facilitates better network utilization, hence increasing overall efficiency. As efficiency is calculated using the formula (Td ÷ RTT), where a lower RTT for a given Td directly results in higher efficiency, RTT is an essential determinant of routing protocol performance .

While both ECMP and Round Robin use the formula (Td ÷ RTT) for efficiency calculation, the primary difference lies in the RTT values themselves as influenced by their respective algorithms. ECMP routes traffic based on equal-cost paths, which might not necessarily optimize RTT, potentially leading to higher RTT values compared to the Round Robin algorithm that systematically distributes loads among paths. This systematic approach potentially results in uniformly lower RTTs, thus resulting in higher network efficiency for Round Robin compared to ECMP given the same Td .

The variation in RTTs among different routers using the ECMP routing protocol could stem from multiple factors including network congestion, physical distances between routers, hardware limitations, and routing path efficiency. Congestion can increase queue delays, hardware differences might influence processing delays, and longer physical distances could inherently lead to longer round-trip times. These factors collectively contribute to variations in RTTs, subsequently affecting efficiency .

In determining the Td (transmit delay) used for routing efficiency calculations, packet size and bandwidth are inversely related. Td is computed as packet size divided by bandwidth. This indicates that for a fixed bandwidth, larger packet sizes result in higher Td, implying longer times for transmission through the network. Conversely, higher bandwidth allows for faster transmission of packets, decreasing Td given a constant packet size. Hence, Td is a crucial component that influences overall efficiency along with RTT .

Testing routing protocols' response times and efficiencies under fixed conditions like packet size and bandwidth is crucial for obtaining a consistent and fair comparison. Fixed parameters ensure that differences in performance metrics such as RTT or efficiency are due to the protocol's characteristics rather than external variables. This controlled environment simplifies the evaluation of a protocol's inherent strengths and weaknesses, providing clearer insights into how different protocols manage resources and traffic loads under identical circumstances .

Overall, the Round Robin algorithm demonstrates superior efficiency across all discussed routers compared to the ECMP routing protocol. The differences in performance are attributed to lower RTT values for routers under the Round Robin algorithm, which consistently translates to higher efficiency percentages. For instance, Router 4 in the Round Robin system has an efficiency of 80% due to its low RTT of 3.2 ms, while the highest efficiency for ECMP is 36% with RTTs of 7 ms .

For Router 0 with IP address 10.0.0.2, the Round Robin algorithm shows a higher efficiency of 56.88% compared to an ECMP equivalent Router 0 with an efficiency of 23.27%. This discrepancy is primarily due to Round Robin's significantly lower RTT of 4.5 ms as opposed to ECMP's 11 ms for equivalent routers, leading to notably better performance under similar network conditions .

You might also like