{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,11]],"date-time":"2026-11-11T02:30:44Z","timestamp":1794364244897,"version":"4.9.0"},"reference-count":66,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"2","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM J. Comput."],"published-print":{"date-parts":[[1998,1]]},"abstract":"<jats:p>This paper introduces the queue-read queue-write ({\\sc qrqw}) parallel random access machine ({\\sc pram}) model, which permits concurrent reading and writing to shared-memory locations, but at a cost proportional to the number of readers\/writers to any one memory location in a given step. Prior to this work there were no formal complexity models that accounted for the contention to memory locations, despite its large impact on the performance of parallel programs. The {\\sc qrqw pram} model reflects the contention properties of most commercially available parallel machines more accurately than either the well-studied {\\sc crcw pram} or {\\sc erew pram} models: the {\\sc crcw} model does not adequately penalize algorithms with high contention to shared-memory locations, while the {\\sc erew} model is too strict in its insistence on zero contention at each step.<\/jats:p>\n                  <jats:p>The {\\sc qrqw pram} is strictly more powerful than the {\\sc erew pram}. This paper shows a separation of $\\sqrt{\\log n}$ between the two models, and presents faster and more efficient {\\sc qrqw} algorithms for several basic problems, such as linear compaction, leader election, and processor allocation. Furthermore, we present a work-preserving emulation of the {\\sc qrqw pram} with only logarithmic slowdown on Valiant's {\\sc bsp} model, and hence on hypercube-type noncombining networks, even when latency, synchronization, and memory granularity overheads are taken into account. This matches the best-known emulation result for the {\\sc erew pram}, and considerably improves upon the best-known efficient emulation for the {\\sc crcw pram} on such networks. Finally, the paper presents several lower bound results for this model, including lower bounds on the time required for broadcasting and for leader election.<\/jats:p>","DOI":"10.1137\/s009753979427491","type":"journal-article","created":{"date-parts":[[2003,6,11]],"date-time":"2003-06-11T11:12:06Z","timestamp":1055329926000},"page":"733-769","source":"Crossref","is-referenced-by-count":47,"title":["The Queue-Read Queue-Write PRAM Model: Accounting for Contention in Parallel Algorithms"],"prefix":"10.1137","volume":"28","author":[{"given":"Phillip B.","family":"Gibbons","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yossi","family":"Matias","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Vijaya","family":"Ramachandran","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2006,7,28]]},"reference":[{"key":"R1","unstructured":"F. Abolhassan, J. Keller, and W. J. Paul,\n                      On the cost\u2010effectiveness of PRAMs\n                      , in Proc. 3rd IEEE Symp. on Parallel and Distributed Processing, Dallas, TX, 1991, pp. 2\u20139."},{"key":"R2","unstructured":"R. Alverson, D. Callahan, D. Cummings, B. Koblenz, A. Porterfield, and B. Smith,\n                      The Tera computer system\n                      , in Proc. 1990 International Conf. on Supercomputing, Amsterdam, The Netherlands, 1990, pp. 1\u20136."},{"key":"R3","unstructured":"Y. Aumann and M. O. Rabin,\n                      Clock construction in fully asynchronous parallel systems and PRAM simulation\n                      , in Proc. 33rd IEEE Symp. on Foundations of Computer Science, Pittsburgh, PA, 1992, pp. 147\u2013156."},{"key":"R4","doi-asserted-by":"publisher","DOI":"10.1142\/S012962649400017X"},{"key":"R5","doi-asserted-by":"publisher","DOI":"10.1145\/135226.135227"},{"key":"R6","doi-asserted-by":"publisher","DOI":"10.1109\/12.42122"},{"key":"R7","unstructured":"G. E. Blelloch,\n                      Prefix sums and their applications\n                      , in A Synthesis of Parallel Algorithms, J. H. Reif, ed., Morgan\u2010Kaufmann, San Mateo, CA, 1993, pp. 35\u201360."},{"key":"R8","unstructured":"G. E. Blelloch, S. Chatterjee, J. C. Hardwick, J. Sipelstein, and M. Zagha,\n                      Implementation of a portable nested data\u2010parallel language\n                      , in Proc. 4th ACM SIGPLAN Symp. on Principles and Practices of Parallel Programming, San Diego, CA, 1993, pp. 102\u2013111."},{"key":"R9","unstructured":", Graph theory with applications to algorithms and computer science, Proceedings of the fifth international conference held at Western Michigan University, Kalamazoo, Mich., June 4\u20138, 1984, A Wiley\u2010Interscience Publication, John Wiley & Sons Inc., 1985, 0\u20130, xv+81086g:05026"},{"key":"R10","doi-asserted-by":"publisher","DOI":"10.1145\/321812.321815"},{"key":"R11","unstructured":"R. Cole and O. Zajicek,\n                      The APRAM: Incorporating asynchrony into the PRAM model\n                      , in Proc. 1st ACM Symp. on Parallel Algorithms and Architectures, Santa Fe, NM, 1989, pp. 169\u2013178."},{"key":"R12","doi-asserted-by":"publisher","DOI":"10.1137\/0215006"},{"key":"R13","unstructured":"D. Culler, R. Karp, D. Patterson, A. Sahay, K. E. Schauser, E. Santos, R. Subramonian, and T. vonEicken,\n                      LogP: Towards a realistic model of parallel computation\n                      , in Proc. 4th ACM SIGPLAN Symp. on Principles and Practices of Parallel Programming, San Diego, CA, 1993, pp. 1\u201312."},{"key":"R14","unstructured":"R. Cypher,\n                      Valiant\u2019s Maximum Algorithm with Sequential Memory Accesses\n                      , Tech. Rep. TR 88\u201003\u201008, Department of Computer Science, University of Washington, Seattle, WA, 1988."},{"key":"R15","unstructured":"W. J. Dally, J. S. Keen, and M. D. Noakes,\n                      The J\u2010Machine architecture and evaluation\n                      , in Proc. 1993 IEEE Compcon Spring, San Francisco, CA, 1993, pp. 183\u2013188."},{"key":"R16","unstructured":"S. R. Dickey and R. Kenner,\n                      Hardware combining and scalability\n                      , in Proc. 4th ACM Symp. on Parallel Algorithms and Architectures, San Diego, CA, 1992, pp. 296\u2013305."},{"key":"R17","doi-asserted-by":"publisher","DOI":"10.1016\/S0022-0000(05)80003-0"},{"key":"R18","unstructured":"R. Drefenstedt and D. Schmidt,\n                      On the physical design of butterfly networks for PRAMs\n                      , in Proc. 4th IEEE Symp. on the Frontiers of Massively Parallel Computation, McLean, VA, 1992, pp. 202\u2013209."},{"key":"R19","doi-asserted-by":"publisher","DOI":"10.1145\/268999.269000"},{"key":"R20","doi-asserted-by":"publisher","DOI":"10.1007\/BF01268141"},{"key":"R21","unstructured":"F. Fich, F. Meyer auf der Heide, P. Ragde, and A. Wigderson,\n                      One, two, three, infinity: Lower bounds for parallel computation\n                      , in Proc. 17th ACM Symp. on Theory of Computing, Providence, RI, 1985, pp. 48\u201358."},{"key":"R22","unstructured":"Steven Fortune, James Wyllie, Parallelism in random access machines, ACM, New York, 1978, 114\u201311881i:68036"},{"key":"R23","unstructured":"S. Frank, H. Burkhardt III, and J. Rothnie,\n                      The KSR1: Bridging the gap between shared memory and MPPs\n                      , in Proc. 1993 IEEE Compcon Spring, San Francisco, CA, 1993, pp. 285\u2013294."},{"key":"R24","unstructured":"P. B. Gibbons,\n                      A more practical PRAM model\n                      , in Proc. 1st ACM Symp. on Parallel Algorithms and Architectures, Santa Fe, NM, 1989, pp. 158\u2013168. Full version in\n                      The Asynchronous PRAM: A Semi\u2010synchronous Model for Shared Memory MIMD Machines\n                      , Ph.D. thesis, U. C. Berkeley, CA, 1989."},{"key":"R25","unstructured":"P. B. Gibbons,\n                      Asynchronous PRAM algorithms\n                      , in A Synthesis of Parallel Algorithms, J. H. Reif, ed., Morgan\u2010Kaufmann, San Mateo, CA, 1993, pp. 957\u2013997."},{"key":"R26","unstructured":"P. B. Gibbons, Y. Matias, and V. Ramachandran,\n                      QRQW: Accounting for Concurrency in PRAMs and Asynchronous PRAMs\n                      , Tech. Rep., AT&T Bell Laboratories, Murray Hill, NJ, 1993."},{"key":"R27","unstructured":"P. B. Gibbons, Y. Matias, and V. Ramachandran,\n                      Efficient low\u2010contention parallel algorithms\n                      , in Proc. 6th ACM Symp. on Parallel Algorithms and Architectures, Cape May, NJ, 1994, pp. 236\u2013247."},{"key":"R28","unstructured":"P. B. Gibbons, Y. Matias, and V. Ramachandran,\n                      The QRQW PRAM: Accounting for contention in parallel algorithms\n                      , in Proc. 5th ACM\u2010SIAM Symp. on Discrete Algorithms, Arlington, VA, 1994, pp. 638\u2013648."},{"key":"R29","doi-asserted-by":"publisher","DOI":"10.1006\/jcss.1996.0079"},{"key":"R29","unstructured":"Special issue devoted to selected papers from the 1994\n                      ACM Symp. on Parallel Algorithms and Architectures\n                      ."},{"key":"R30","doi-asserted-by":"publisher","DOI":"10.1016\/S0304-3975(97)00193-X"},{"key":"R30","unstructured":"Special issue devoted to selected papers from\n                      EURO\u2010PAR\u201996\n                      ."},{"key":"R31","unstructured":"Joseph Gil, Yossi Matias, Fast hashing on a PRAM\u2014designing by expectation, ACM, New York, 1991, 271\u20132801095842"},{"key":"R32","doi-asserted-by":"publisher","DOI":"10.1006\/jpdc.1996.0098"},{"key":"R33","unstructured":"Joseph Gil, Yossi Matias, Uzi Vishkin, Towards a theory of nearly constant time parallel algorithms, IEEE Comput. Soc. Press, Los Alamitos, CA, 1991, 698\u20137101177216"},{"key":"R34","unstructured":"L. A. Goldberg, Y. Matias, and S. Rao,\n                      An optical simulation of shared memory\n                      , in Proc. 6th ACM Symp. on Parallel Algorithms and Architectures, Cape May, NJ, 1994, pp. 257\u2013267."},{"key":"R35","unstructured":"M. Goodrich,\n                      Using approximation algorithms to design parallel algorithms that may ignore processor allocation\n                      , in Proc. 32nd IEEE Symp. on Foundations of Computer Science, San Juan, Puerto Rico, 1991, pp. 711\u2013722."},{"key":"R36","unstructured":"A. Greenberg,\n                      On the time complexity of broadcast communication schemes\n                      , in Proc. 14th ACM Symp. on Theory of Computing, San Francisco, CA, 1982, pp. 354\u2013364."},{"key":"R37","doi-asserted-by":"publisher","DOI":"10.1080\/01621459.1963.10500830"},{"key":"R38","unstructured":"IBM Corporation,\n                      IBM Scalable POWERparallel Systems 9076 SP2 and Enhancements for SP1\n                      , 1994. Hardware announcement."},{"key":"R39","unstructured":"J. J\u00e1J\u00e1,\n                      An Introduction to Parallel Algorithms\n                      , Addison\u2013Wesley, Reading, MA, 1992."},{"key":"R40","unstructured":"Richard Karp, Vijaya Ramachandran, Parallel algorithms for shared\u2010memory machines, Elsevier, Amsterdam, 1990, 869\u20139411127183"},{"key":"R41","unstructured":"R. E. Kessler and J. L. Schwarzmeier,\n                      CRAY T3D: A new dimension for Cray research\n                      , in Proc. 1993 IEEE Compcon Spring, San Francisco, CA, 1993, pp. 176\u2013182."},{"key":"R42","doi-asserted-by":"publisher","DOI":"10.1145\/322217.322232"},{"key":"R43","unstructured":"F. T. Leighton,\n                      Methods for message routing in parallel machines\n                      , in Proc. 24th ACM Symp. on Theory of Computing, Victoria, British Columbia, Canada, 1992, pp. 77\u201396. Invited paper."},{"key":"R44","unstructured":"C. E. Leiserson, Z. S. Abuhamdeh, D. C. Douglas, C. R. Feynman, M. N. Ganmukhi, J. V. Hill, W. D. Hillis, B. C. Kuszmaul, M. A. St. Pierre, D. S. Wells, M. C. Wong, S.\u2010W. Yang, and R. Zak,\n                      The network architecture of the Connection Machine CM\u20105\n                      , in Proc. 4th ACM Symp. on Parallel Algorithms and Architectures, San Diego, CA, 1992, pp. 272\u2013285."},{"key":"R45","unstructured":"D. Lenoski, J. Laudon, K. Gharachorloo, A. Gupta, and J. Hennessy,\n                      The directory\u2010based cache coherence protocol for the DASH multiprocessor\n                      , in Proc. 17th International Symp. on Computer Architecture, Seattle, WA, 1990, pp. 148\u2013159."},{"key":"R46","doi-asserted-by":"publisher","DOI":"10.1109\/2.121510"},{"key":"R47","unstructured":"P. Liu, W. Aiello, and S. Bhatt,\n                      An atomic model for message\u2010passing\n                      , in Proc. 5th ACM Symp. on Parallel Algorithms and Architectures, Velen, Germany, 1993, pp. 154\u2013163."},{"key":"R48","doi-asserted-by":"publisher","DOI":"10.1016\/S0304-3975(97)00199-0"},{"key":"R49","unstructured":"P. D. MacKenzie,\n                      private communication\n                      , Austin, TX, 1994."},{"key":"R50","doi-asserted-by":"publisher","DOI":"10.1137\/0221063"},{"key":"R51","unstructured":"MasPar Computer Corporation,\n                      MasPar System Overview, document 9300\u20100100, revision A3\n                      , 749 North Mary Avenue, Sunnyvale, CA 94086, Mar. 1991."},{"key":"R52","unstructured":"Y. Matias,\n                      Highly Parallel Randomized Algorithmics\n                      , Ph.D. thesis, Tel Aviv University, Israel, 1992."},{"key":"R53","unstructured":"Y. Matias and U. Vishkin,\n                      Converting high probability into nearly\u2010constant time\u2014with applications to parallel hashing\n                      , in Proc. 23rd ACM Symp. on Theory of Computing, New Orleans, LA, 1991, pp. 307\u2013316."},{"key":"R54","unstructured":"N. Nishimura,\n                      Asynchronous shared memory parallel computation\n                      , in Proc. 2nd ACM Symp. on Parallel Algorithms and Architectures, Crete, Greece, 1990, pp. 76\u201384."},{"key":"R55","doi-asserted-by":"publisher","DOI":"10.1109\/TC.1985.6312198"},{"key":"R56","unstructured":"L. Prechelt,\n                      Measurements of MasPar MP\u20101216A Communication Operations\n                      , Tech. Rep., Institut f\u00fcr Programmstrukturen und Datenorganisation, Universit\u00e4t Karlsruhe, Karlsruhe, Germany, 1992."},{"key":"R57","unstructured":"A. G. Ranade,\n                      Fluent parallel computation\n                      , Ph.D. thesis, Department of Computer Science, Yale University, New Haven, CT, 1989."},{"key":"R58","unstructured":"J. H. Reif, ed.\n                      A Synthesis of Parallel Algorithms\n                      , Morgan\u2010Kaufmann, San Mateo, CA, 1993."},{"key":"R59","doi-asserted-by":"publisher","DOI":"10.1016\/0167-8191(94)90026-4"},{"key":"R60","unstructured":"L. Snyder,\n                      Type architecture, shared memory and the corollary of modest potential\n                      , Annual Review of CS, I (1986), pp. 289\u2013317."},{"key":"R61","doi-asserted-by":"publisher","DOI":"10.1145\/79173.79181"},{"key":"R62","unstructured":"L. Valiant, General purpose parallel architectures, Elsevier, Amsterdam, 1990, 943\u20139711127184"},{"key":"R63","unstructured":"L. G. Valiant,\n                      A Combining Mechanism for Parallel Computers\n                      , Tech. Rep. TR\u201024\u201092, Harvard University, Cambridge, MA, 1992."},{"key":"R64","unstructured":"A. Yao,\n                      Probabilistic computations: Towards a unified measure of complexity\n                      , in Proc. 18th IEEE Symp. on Foundations of Computer Science, Providence, RI, 1977, pp. 222\u2013227."}],"container-title":["SIAM Journal on Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/S009753979427491","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T18:22:55Z","timestamp":1787336575000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/S009753979427491"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[1998,1]]},"references-count":66,"journal-issue":{"issue":"2","published-print":{"date-parts":[[1998,1]]}},"alternative-id":["10.1137\/S009753979427491"],"URL":"https:\/\/doi.org\/10.1137\/s009753979427491","relation":{},"ISSN":["0097-5397","1095-7111"],"issn-type":[{"value":"0097-5397","type":"print"},{"value":"1095-7111","type":"electronic"}],"subject":[],"published":{"date-parts":[[1998,1]]}}}