Abstract
Counting networks are a class of distributed data structures that support highly concurrent implementations of shared Fetch&Increment counters. Applications of these counters include shared pools and stacks, load balancing, and software barriers [4, 12, 13, 18]. A limitation of counting networks is that the resulting shared counters can be incremented, but not decremented.
A recent result by Shavit and Touitou [18] showed that the subclass of tree-shaped counting networks can support, in addition, decrement operations. This paper generalizes their result, showing that any counting network can be extended to support atomic decrements in a simple and natural way. Moreover, it is shown that decrement operations can be supported in networks that provide weaker properties, such as K-smoothing. In general, we identify a broad class of properties, which we call boundedness properties, that are preserved by the introduction of decrements: if a balancing network satisfies a particular boundedness property for increments alone, then it continues to satisfy that property for both increments and decrements.
Our proofs are purely combinatorial and rely on the novel concept of a fooling pair of input vectors.
This paper combines, unifies, and extends results appearing in preliminary form in [2] and [6].
Partially supported by funds for the promotion of research at University of Cyprus. Part of the work of this author was performed while at AT&T Labs - Research, Florham Park, NJ, as a visitor to the Special Year on Networks, DIMACS Center for Discrete Mathematics and Theoretical Computer Science, Piscataway, NJ.
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
E. Aharonson and H. Attiya. Counting networks with arbitrary fan-out. Distributed Computing, 8(4):163–169, 1995.
W. Aiello, M. Herlihy, N. Shavit, and D. Touitou. Inc/dec counting networks. Manuscript, Dec. 1995.
W. Aiello, R. Venkatesan, and M. Yung. Coins, weights and contention in balancing networks. In Proceedings of the 13th Annual ACM Symposium on Principles of Distributed Computing (PODC’94), pages 193–205, Los Angeles, Aug. 1994.
J. Aspnes, M. Herlihy, and N. Shavit. Counting networks. Journal of the ACM, 41(5):1020–1048, Sept. 1994.
C. Busch, N. Hardavellas, and M. Mavronicolas. Contention in counting networks (abstract). In Proceedings of the 13th annual ACM Symposium on Principles of Distributed Computing (PODC’94), page 404, Los Angeles, Aug. 1994.
C. Busch and M. Mavronicolas. The strength of counting networks (abstract). In Proceedings of the 15th Annual ACM Symposium on Principles of Distributed Computing (PODC’96), page 311, Philadelphia, May 1996.
C. Busch and M. Mavronicolas. Impossibility results for weak threshold networks. Information Processing Letters, 63(2):85–90, July 1997.
C. Busch and M. Mavronicolas. An efficient counting network. In Proceedings of the 1st Merged International Parallel Processing Symposium and Symposium on Parallel and Distributed Processing (IPPS/SPDP’98), pages 380–385, Mar. 1998.
T. H. Cormen, C. E. Leiserson, and R. L. Rivest. Introduction to algorithms. MIT Press and McGraw-Hill Book Company, Cambridge, MA, 1992.
E. W. Felten, A. LaMarca, and R. Ladner. Building counting networks from larger balancers. Technical Report TR 93-04-09, University of Washington, Apr. 1993.
N. Hardavellas, D. Karakos, and M. Mavronicolas. Notes on sorting and counting networks. In Proceedings of the 7th International Workshop on Distributed Algorithms (WDAG’93), volume 725 of Lecture Notes in Computer Science, pages 234–248, Lausanne, Switzerland, Sept. 1993. Springer-Verlag.
M. Herlihy, B.-H. Lim, and N. Shavit. Scalable concurrent counting. ACM Transactions on Computer Systems, 13(4):343–364, Nov. 1995.
S. Kapidakis and M. Mavronicolas. Distributed, low contention task allocation. In Proceedings of the 8th IEEE Symposium on Parallel and Distributed Processing (SPDP’96), pages 358–365, Washington, Oct. 1996.
M. Klugerman. Small-Depth Counting Networks and Related Topics. PhD thesis, Department of Mathematics, Massachusetts Institute of Technology, Sept. 1994.
M. Klugerman and C. G. Plaxton. Small-depth counting networks. In Proceedings of the 24th Annual ACM Symposium on the Theory of Computing (STOC’92), pages 417–428, Victoria, B.C., Canada, May 1992.
N. Lynch, N. Shavit, A. Shvartsman, and D. Touitou. Counting networks are practically linearizable. In Proceedings of the 15th Annual ACM Symposium on Principles of Distributed Computing (PODC’96), pages 280–289, New York, May 1996.
M. Mavronicolas, M. Papatriantafilou, and P. Tsigas. The impact of timing on linearizability in counting networks. In Proceedings of the 11th International Parallel Processing Symposium (IPPS’97), pages 684–688, Los Alamitos, Apr. 1997.
N. Shavit and D. Touitou. Elimination trees and the construction of pools and stacks. Theory of Computing Systems, 30(6):545–570, Nov./Dec. 1997.
N. Shavit and A. Zemach. Diffracting trees. ACM Transactions on Computer Ssytems, 14(4):385–428, Nov. 1996.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1999 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Aiello, W., Busch, C., Herlihy, M., Mavronicolas, M., Shavit, N., Touitou, D. (1999). Supporting Increment and Decrement Operations in Balancing Networks. In: Meinel, C., Tison, S. (eds) STACS 99. STACS 1999. Lecture Notes in Computer Science, vol 1563. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-49116-3_37
Download citation
DOI: https://doi.org/10.1007/3-540-49116-3_37
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-65691-3
Online ISBN: 978-3-540-49116-3
eBook Packages: Springer Book Archive