Skip to main content

2016 | OriginalPaper | Buchkapitel

The F-Snapshot Problem

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Aguilera, Gafni and Lamport introduced the signaling problem in [3]. In this problem, two processes numbered 0 and 1 can call two procedures: update and Fscan. A parameter of the problem is a two-variable function \(F(x_0,x_1)\). Each process \(p_i\) can assign values to variable \(x_i\) by calling update( v ) with some data value v, and compute the value: \(F(x_0,x_1)\) by executing an Fscan procedure. The problem is interesting when the domain of F is infinite and the range of F is finite. In this case, some “access restrictions” are imposed that limit the size of the registers that the Fscan procedure can access.
Aguilera et al. provided a non-blocking solution and asked whether a wait-free solution exists. A positive answer can be found in [5]. The natural generalization of the two-process signaling problem to an arbitrary number of processes turns out to yield an interesting generalization of the fundamental snapshot problem, which we call the F-snapshot problem. In this problem n processes can write values to an n-segment array (each process to its own segment), and can read and obtain the value of an n-variable function F on the array of segments. In case that the range of F is finite, it is required that only bounded registers are accessed when the processes apply the function F to the array, although the data values written to the segments may be taken from an infinite set. We provide here an affirmative answer to the question of Aguilera et al. for an arbitrary number of processes. Our solution employs only single-writer atomic registers, and its time complexity is \(O(n\log n)\).

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Fußnoten
1
Assuming that the queue of messages supports enqueue and dequeue operations by several processes.
 
Literatur
1.
Zurück zum Zitat Afek, Y., Attiya, H., Dolev, D., Gafni, E., Merritt, M., Shavit, N.: Atomic snapshots of shared memory. J. ACM 40(4), 873–890 (1993)CrossRefMATH Afek, Y., Attiya, H., Dolev, D., Gafni, E., Merritt, M., Shavit, N.: Atomic snapshots of shared memory. J. ACM 40(4), 873–890 (1993)CrossRefMATH
3.
Zurück zum Zitat Aguilera, M.K., Gafni, E., Lamport, L.: The mailbox problem. Distrib. Comput. 23(2), 113–134 (2010)CrossRefMATH Aguilera, M.K., Gafni, E., Lamport, L.: The mailbox problem. Distrib. Comput. 23(2), 113–134 (2010)CrossRefMATH
4.
Zurück zum Zitat Alur, R., McMillan, K., Peled, D.: Model-checking of correctness conditions for concurrent objects. In: Logic in Computer Science (LICS), pp. 219–228 (1996) Alur, R., McMillan, K., Peled, D.: Model-checking of correctness conditions for concurrent objects. In: Logic in Computer Science (LICS), pp. 219–228 (1996)
5.
Zurück zum Zitat Amram, G.: On the signaling problem. In: International Conference on Distributed Computing and Networking, pp. 44–65 (2014) Amram, G.: On the signaling problem. In: International Conference on Distributed Computing and Networking, pp. 44–65 (2014)
7.
Zurück zum Zitat Aspnes, J., Herlihy, M.: Wait-free data structures in the asynchronous PRAM model. In: Proceedings of the 2nd Annual ACM Symposium on Parallel Architectures and Algorithms, pp. 340–349 (1990) Aspnes, J., Herlihy, M.: Wait-free data structures in the asynchronous PRAM model. In: Proceedings of the 2nd Annual ACM Symposium on Parallel Architectures and Algorithms, pp. 340–349 (1990)
8.
Zurück zum Zitat Attiya, H., Herlihy, M., Rachman, O.: Atomic snapshots using lattice agreement. Distrib. Comput. 8(3), 121–132 (1995)CrossRef Attiya, H., Herlihy, M., Rachman, O.: Atomic snapshots using lattice agreement. Distrib. Comput. 8(3), 121–132 (1995)CrossRef
9.
Zurück zum Zitat Attiya, H., Rachman, O.: Atomic snapshots in \(O(n \log n)\) operations. In: Proceedings of the 12th Annual ACM Symposium on Principles of Distributed Computing, pp. 29–40 (1993) Attiya, H., Rachman, O.: Atomic snapshots in \(O(n \log n)\) operations. In: Proceedings of the 12th Annual ACM Symposium on Principles of Distributed Computing, pp. 29–40 (1993)
10.
Zurück zum Zitat Dolev, D., Shavit, N.: Bounded concurrent time-stamp systems are constructible. In: Proceedings of 21st STOC, pp. 454–466 (1989) Dolev, D., Shavit, N.: Bounded concurrent time-stamp systems are constructible. In: Proceedings of 21st STOC, pp. 454–466 (1989)
12.
Zurück zum Zitat Dwork, C., Waarts, O.: Simple and efficient bounded concurrent timestamping or bounded concurrent timestamp systems are comprehensible! In: Proceedings of the Twenty-Fourth Annual ACM Symposium on Theory of Computing, pp. 655–666 (1992) Dwork, C., Waarts, O.: Simple and efficient bounded concurrent timestamping or bounded concurrent timestamp systems are comprehensible! In: Proceedings of the Twenty-Fourth Annual ACM Symposium on Theory of Computing, pp. 655–666 (1992)
13.
Zurück zum Zitat Guerraoui, R., Ruppert, E.: Linearizability is not always a safety property. In: Proceeding of the 2nd International Conference, Networked Systems, pp. 57–69 (2014) Guerraoui, R., Ruppert, E.: Linearizability is not always a safety property. In: Proceeding of the 2nd International Conference, Networked Systems, pp. 57–69 (2014)
14.
Zurück zum Zitat Herlihy, M., Shavit, N.: The Art of Multiprocessor Programming. Morgan Kaufmann, New York (2008) Herlihy, M., Shavit, N.: The Art of Multiprocessor Programming. Morgan Kaufmann, New York (2008)
15.
Zurück zum Zitat Herlihy, M., Wing, J.: Linearizability: a correctness condition for concurrent objects. ACM TOPLAS 12(3), 463–492 (1990)CrossRef Herlihy, M., Wing, J.: Linearizability: a correctness condition for concurrent objects. ACM TOPLAS 12(3), 463–492 (1990)CrossRef
16.
Zurück zum Zitat Inoue, M., Masuzawa, T., Chen, W., Tokura, N.: Linear-time snapshot using multi-writer multi-reader registers. In: Tel, G., Vitányi, P. (eds.) WDAG 1994. LNCS, vol. 857, pp. 130–140. Springer, Heidelberg (1994). doi:10.1007/BFb0020429 CrossRef Inoue, M., Masuzawa, T., Chen, W., Tokura, N.: Linear-time snapshot using multi-writer multi-reader registers. In: Tel, G., Vitányi, P. (eds.) WDAG 1994. LNCS, vol. 857, pp. 130–140. Springer, Heidelberg (1994). doi:10.​1007/​BFb0020429 CrossRef
17.
18.
Zurück zum Zitat Israeli, A., Shaham, A., Shirazi, A.: Linear-time snapshot implementations in unbalanced systems. Math. Syst. Theor. 28(5), 469–486 (1995)MathSciNetCrossRefMATH Israeli, A., Shaham, A., Shirazi, A.: Linear-time snapshot implementations in unbalanced systems. Math. Syst. Theor. 28(5), 469–486 (1995)MathSciNetCrossRefMATH
19.
20.
Zurück zum Zitat Jayanti, P.: f-arrays: implementation and applications. In: Proceedings of the 21st Annual Symposium on Principles of Distributed Computing, pp. 270–279 (2002) Jayanti, P.: f-arrays: implementation and applications. In: Proceedings of the 21st Annual Symposium on Principles of Distributed Computing, pp. 270–279 (2002)
21.
Zurück zum Zitat Jayanti, P., Tan, K., Toueg, S.: Time, space lower bounds for nonblocking implementations. SIAM J. Comput. 30(2), 438–456 (2000)MathSciNetCrossRefMATH Jayanti, P., Tan, K., Toueg, S.: Time, space lower bounds for nonblocking implementations. SIAM J. Comput. 30(2), 438–456 (2000)MathSciNetCrossRefMATH
Metadaten
Titel
The F-Snapshot Problem
verfasst von
Gal Amram
Copyright-Jahr
2016
DOI
https://doi.org/10.1007/978-3-319-48314-6_11