An Algorithm for Detecting and Resolving Store-and-Forward Deadlocks in Packet-Switched Networks
- 1 August 1987
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Communications
- Vol. 35 (8) , 801-807
- https://doi.org/10.1109/tcom.1987.1096856
Abstract
Freedom from store-and-forward (S/F) deadlocks in a packet-switched network can be guaranteed with the use of deadlock avoidance protocols. However, these protocols put so many restrictions on the use of buffers that even under normal circumstances the buffer utilization is small. We propose instead a deadlock detection and resolution algorithm that is completely invisible under normal circumstances. As soon as certain channels in the network have trouble in accepting and transmitting packets due to the lack of buffers, the deadlock detection phase of the algorithm is invoked. When a deadlock is identified, the deadlock resolving phase of the algorithm is executed. Once the deadlock is resolved, the control is removed. The algorithm can be used in conjunction with either the complete partitioning or the sharing with maximum queue lengths output buffer allocation strategies. A proof on the correctness of the algorithm is given. Simulation results show that the network can maintain a relatively high throughput even when deadlocks are being detected and resolved. In addition, several properties of deadlocks are shown: i) deadlocks start to increase abruptly once the network operates beyond its capacity; and ii) under heavy load conditions, increasing the buffer pool size will not delay the occurrence of deadlocks.Keywords
This publication has 7 references indexed in Scilit:
- A system for predicting the run-time behavior of Web servicesPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2005
- Prevention of Store-and-Forward Deadlock in Computer NetworksIEEE Transactions on Communications, 1985
- Deadlock-Resistant Flow Control Procedures for Store-and-Forward NetworksIEEE Transactions on Communications, 1984
- Prevention of Deadlocks in Packet-Switched Data Transport SystemsIEEE Transactions on Communications, 1981
- Flow Control: A Comparative SurveyIEEE Transactions on Communications, 1980
- Deadlock Avoidance in Store-and-Forward Networks--I: Store-and-Forward DeadlockIEEE Transactions on Communications, 1980
- Buffer Management in a Packet SwitchIEEE Transactions on Communications, 1978