Abstract
We generalize the classic dining philosophers problem to separate the conflict and communication neighbors of each process. Communication neighbors may directly exchange information while conflict neighbors compete for the access to the exclusive critical section of code. This generalization is motivated by a number of practical problems in distributed systems including problems in wireless sensor networks. We present a self-stabilizing deterministic algorithm — \(\mathcal{KDP}\) that solves a restricted version of the generalized problem where the conflict set for each process is limited to its k-hop neighborhood. Our algorithm is terminating. We formally prove \(\mathcal{KDP}\) correct and evaluate its performance. We then extend \(\mathcal{KDP}\) to handle fully generalized problem. We further extend it to handle a similarly generalized drinking philosophers problem. We describe how \(\mathcal{KDP}\) can be implemented in wireless sensor networks and demonstrate that this implementation does not jeopardize its correctness or termination properties.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Antonoiu, G., Srimani, P.K.: Mutual exclusion between neighboring nodes in an arbitrary system graph that stabilizes using read/write atomicity. In: Amestoy, P.R., Berger, P., Daydé, M., Duff, I.S., Frayssé, V., Giraud, L., Ruiz, D. (eds.) Euro-Par 1999. LNCS, vol. 1685, pp. 823–830. Springer, Heidelberg (1999)
Arora, A., Nesterenko, M.: Unifying stabilization and termination in message-passing systems. Distributed Computing 17(3), 279–290 (2005)
Arumugam, M., Kulkarni, S.S.: Self-stabilizing deterministic TDMA for sensor networks. Technical Report MSU-CSE-05-19, Michigan State University (2005)
Beauquier, J., Datta, A.K., Gradinariu, M., Magniette, F.: Self-stabilizing local mutual exclusion and daemon refinement. In: Herlihy, M.P. (ed.) DISC 2000. LNCS, vol. 1914, pp. 223–237. Springer, Heidelberg (2000)
Boulinier, C., Petit, F., Villain, V.: When graph theory helps self-stabilization. In: PODC 2004: Proceedings of the twenty-third annual ACM symposium on Principles of distributed computing, pp. 150–159. ACM Press, New York (2004)
Bui, A., Datta, A.K., Petit, F., Villain, V.: Space optimal PIF algorithm: self-stabilized with no extra space. In: IEEE International Conference on Performance, Computing and Communications, pp. 20–26 (1999)
Cantarell, S., Datta, A.K., Petit, F.: Self-stabilizing atomicity refinement allowing neighborhood concurrency. In: Huang, S.-T., Herman, T. (eds.) SSS 2003. LNCS, vol. 2704, pp. 102–112. Springer, Heidelberg (2003)
Chandy, K.M., Misra, J.: The drinking philosophers problem. ACM Transactions on Programming Languages and Systems 6(4), 632–646 (1984)
Chandy, K.M., Misra, J.: Parallel Program Design: a Foundation. Addison-Wesley, Reading (1988)
Datta, A.K., Gradinariu, M., Raynal, M.: Stabilizing mobile philosophers. Information Procesing Letters 95(1), 299–306 (2005)
Dijkstra, E.: Cooperating Sequential Processes. Academic Press, London (1968)
Dolev, S.: Self-Stabilization. MIT Press, Cambridge (2000)
Gairing, M., Goddard, W., Hedetniemi, S.T., Kristiansen, P., McRae, A.A.: Distance-two information in self-stabilizing algorithms. Parallel Processing Letters 14(3-4), 387–398 (2004)
Goddard, W., Hedetniemi, S.T., Jacobs, D.P., Trevisan, V.: Distance-k information in self-stabilizing algorithms. In: Flocchini, P., Gąsieniec, L. (eds.) SIROCCO 2006. LNCS, vol. 4056, pp. 349–356. Springer, Heidelberg (2006)
Gouda, M.G.: Elmnts. of Network Protocol Design. John Wiley & Sons, Inc., Chichester (1998)
Gouda, M.G., Haddix, F.: The alternator. In: Proceedings of the Fourth Workshop on Self-Stabilizing Systems, pp. 48–53. IEEE Computer Society Press, Los Alamitos (1999)
Herman, T.: A comprehensive bibliography on self-stabilization (working paper). CJTCS: Chicago Journal of Theoretical Computer Science (1995)
Herman, T., Tixeuil, S.: A distributed TDMA slot assignment algorithm for wireless sensor networks. In: Nikoletseas, S.E., Rolim, J.D.P. (eds.) ALGOSENSORS 2004. LNCS, vol. 3121, pp. 45–58. Springer, Heidelberg (2004)
Herman, T., Tixeuil, S.: A distributed TDMA slot assignment algorithm for wireless sensor networks. In: Nikoletseas, S.E., Rolim, J.D.P. (eds.) ALGOSENSORS 2004. LNCS, vol. 3121, pp. 45–58. Springer, Heidelberg (2004)
Huang, S.T.: The fuzzy philosophers. In: Rolim, J.D.P. (ed.) IPDPS-WS 2000. LNCS, vol. 1800, pp. 130–136. Springer, Heidelberg (2000)
Johnen, C., Alima, L.O., Datta, A.K., Tixeuil, S.: Optimal snap-stabilizing neighborhood synchronizer in tree networks. Parallel Processing Letters 12(3-4), 327–340 (2002)
Kulkarni, S.S., Arumugam, M.: Collision-free communication in sensor networks. In: Huang, S.-T., Herman, T. (eds.) SSS 2003. LNCS, vol. 2704, pp. 17–31. Springer, Heidelberg (2003)
Malhotra, M., Krasniewski, M., Yang, C., Bagchi, S., Chappbell, W.: Location estimation in ad-hoc networks with directional antennas. In: The 25th IEEE International Conference on Distributed Computing Systems, pp. 633–642 (2005)
Mitton, N., Fleury, E., Guérin-Lassous, I., Séricola, B., Tixeuil, S.: On fast randomized colorings in sensor networks. In: Proceedings of ICPADS 2006. IEEE Press, Los Alamitos (to appear, 2006)
Mizuno, M., Nesterenko, M.: A transformation of self-stabilizing serial model programs for asynchronous parallel computing environments. Information Processing Letters 66(6), 285–290 (1998)
Nesterenko, M., Arora, A.: Stabilization-preserving atomicity refinement. Journal of Parallel and Distributed Computing 62(5), 766–791 (2002)
Sivilotti, P.A.G., Pike, S.M., Sridhar, N.: A new distributed resource-allocation algorithm with optimal failure locality. In: Proceedings of the 12th IASTED International Conference on Parallel and Distributed Computing and Systems, vol. 2, November 2000, pp. 524–529. IASTED/ACTA Press (2000)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2006 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Danturi, P., Nesterenko, M., Tixeuil, S. (2006). Self-stabilizing Philosophers with Generic Conflicts. In: Datta, A.K., Gradinariu, M. (eds) Stabilization, Safety, and Security of Distributed Systems. SSS 2006. Lecture Notes in Computer Science, vol 4280. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-49823-0_15
Download citation
DOI: https://doi.org/10.1007/978-3-540-49823-0_15
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-49018-0
Online ISBN: 978-3-540-49823-0
eBook Packages: Computer ScienceComputer Science (R0)