Comparative Study of Johnson and Bellman-Ford for Shortest Path in OpenFlow SDN
DOI:
10.33395/sinkron.v10i3.16086Keywords:
Bellman-Ford Algorithm, Johnson Algorithm, OpenFlow, Shortest Path, Software‑Defined NetworkingAbstract
Software-Defined Networking (SDN) provides a highly programmable architecture specifically by decoupling the control plane from the data plane. The efficiency of the controller in mapping topologies and responding to link failures depends heavily on the shortest-path algorithm used. While previous studies have evaluated algorithms like Bellman-Ford in small scale SDN, empirical comparisons with hybrid algorithms like Johnson in medium-scale dense topologies remain significantly limited. This study aims to provide an empirical comparative evaluation of Johnson and Bellman-Ford algorithms on OpenFlow 1.3 using the RYU controller, analyzing scalability across ring (sparse) and full-mesh (dense) topologies from 10 to 50 nodes. The research methodology relies on experimental emulation using Mininet to test convergence time, throughput, and recovery time during dynamic link failures. The results indicate that in sparse ring topologies, both algorithms achieve similar convergence under 0,06 seconds. However, in dense 50 node full-mesh networks containing 2.450 links, Bellman-Ford demonstrates a faster average convergence of 37,93 seconds compared to Johnson's 47,44 seconds, primarily due to the absence of graph reweighting overhead, despite exhibiting higher variance. Both algorithms maintained stable throughput, and while recovery times generally met the near carrier-grade standard, some scenarios in dense networks reached 60 milliseconds, slightly exceeding the 50 ms threshold. This study evaluates recovery during single link failure scenarios. In conclusion, Bellman-Ford is highly recommended for dense data center infrastructures, while Johnson is optimal for sparse networks requiring instant route recovery.
Downloads
References
Abed, S. S., & Noaman, S. F. (2025). Comparative Analysis of Shortest Path Algorithms. 4150(5), 131–143.
Chiesa, M., Kamisi, A., Rak, J., & Member, S. (2021). A Survey of Fast-Recovery Mechanisms in Packet-Switched Networks. 23(2), 1253–1301. https://doi.org/10.1109/COMST.2021.3063980
Ghimire, R., & Basnet, R. K. (2023.). Shortest Path Routing Performance Evaluation over SDN Environment. 5(4), 405–422.
Hainana, H. (2023). Design of a NFV Traffic Engineering Middlebox for Efficient Link Failure Detection and Recovery in SDN Core Networks. 2023 International Conference on Emerging Trends in Networks and Computer Communications (ETNCC), 1–7. https://doi.org/10.1109/ETNCC59188.2023.10284948
Hardin, B., Comer, D., & Rastegarnia, A. (2023). On the Unreliability of Network Simulation Results FROM Mininet and iPerf. 12(1), 1–9. https://doi.org/10.18178/ijfcc.2023.12.1.596
Islam, A., Atat, R., & Member, S. (2024). Software-Defined Networking-Based Resilient Proactive Routing in Smart Grids Using Graph Neural Networks and Deep Q-Networks. IEEE Access, 12(June), 111169–111186. https://doi.org/10.1109/ACCESS.2024.3438938
Lantz, B., & Connor, B. O. (2015). A Mininet-based Virtual Testbed for Distributed SDN Development. 365–366.
Linsheng, R., Derahman, M. N., Kadir, M. F. A., Mohamed, M. A., & Kamarudin, S. (2022). International Journal of Advanced and Applied Sciences The performance effect due to varying network topologies on a software- defined network employing the k-shortest path. 9(6), 134–144.
Mahdi, H., & Mahmood, I. (2025). A Comprehensive Review of Shortest Path Algorithms for Network Routing. 18(3), 152–175.
Nurwarsito, H., & Prasetyo, G. (2023). Implementation Failure Recovery Mechanism using VLAN ID in Software Defined Networks. 14(1), 709–714.
Parimala, M., Broumi, S., Prakash, K., & Topal, S. (2021). Bellman – Ford algorithm for solving shortest path problem of a network under picture fuzzy environment. Complex & Intelligent Systems, 7(5), 2373–2381. https://doi.org/10.1007/s40747-021-00430-w
Patel, K. P., Chaudhari, J. P., Mewada, H. K., Jayswal, H. S., & Patel, R. V. (2024). Shortest Path Forwarding in Software-Defined Networks Using RYU Controller. 11(5), 299–305.
Saxena, M. C., Sabharwal, M., & Bajaj, P. (2023). An Optimised Shortest Path Algorithm for Network Rotuting & SDN Improvement on Bellman-Ford Algorithm. June, 20–31.
Tammanashastri, P. R. (2024). Comparative Analysis of Bellman-Ford and Dijkstra Algorithms in Software Defined Networking. 2024 5th International Conference on Data Intelligence and Cognitive Informatics (ICDICI), 1–8. https://doi.org/10.1109/ICDICI62993.2024.10810921
Yasin, Q. (2022). Reliable Multipath Flow for Link Failure Recovery in 5G Networks Using SDN Paradigm. https://doi.org/10.5755/j01.itc.51.1.29408
Downloads
How to Cite
Issue
Section
License
Copyright (c) 2026 Afriza Tri Rizki, Funny Farady Coastera, Ernawati

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.






















Moraref
PKP Index
Indonesia OneSearch
OCLC Worldcat
Index Copernicus
Scilit
