Skip to main content

All-to-All

  • Reference work entry
Encyclopedia of Parallel Computing

Synonyms

Complete exchange; Index; Personalized all-to-all exchange; Transpose

Definition

Among a set of processing elements (nodes) each node has distinct (personalized) data items destined for each of the other nodes. The all-to-all operation accomplishes this total data exchange among the set of nodes, such that each node ends up having an individual data item from each of the other nodes.

Discussion

The reader may consider first visiting the entry on collective communication.

Let the p nodes be indexed consecutively, 0, 1…, p − 1. Initially each node i has a (column)vector of data x (i) that is further subdivided into subvectors \({x}_{j}^{(i)}\) for \(j = 0,\ldots,p - 1\). The subvector \({x}_{j}^{(i)}\) is to be sent to node j from node i. Upon completion of the all-to-all exchange operation node i will have the vector consisting of the subvectors \({x}_{i}^{(j)}\) for \(j = 0,\ldots,p - 1\). In effect, the matrix consisting of the i columns \({x}^{(i)}\) is transposed with the i...

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 1,600.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 1,799.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Bibliography

  1. Bala V, Bruck J, Cypher R, Elustondo P, Ho A, Ho CT, Kipnis S, Snir M (1995) CCL: a portable and tunable collective communications library for scalable parallel computers. IEEE T Parall Distr 6(2):154–164

    Article  Google Scholar 

  2. Bokhari SH (1996) Multiphase complete exchange: a theoretical analysis. IEEE T Comput 45(2):220–229

    Article  MATH  Google Scholar 

  3. Bruck J, Ho CT, Kipnis S, Upfal E, Weathersby D (1997) Efficient algorithms for all-to-all communications in multiport message-passing systems. IEEE T Parall Distr 8(11):1143–1156

    Article  Google Scholar 

  4. Fox G, Johnson M, Lyzenga G, Otto S, Salmon J, Walker D (1988) Solving problems on concurrent processors, vol I. Prentice-Hall, Englewood Cliffs

    Google Scholar 

  5. Goldman A, Peters JG, Trystram D (2006) Exchanging messages of different sizes. J Parallel Distr Com 66(1):1–18

    MATH  Google Scholar 

  6. Harary F (1969) Graph theory. Addison-Wesley, Reading, Mass

    Google Scholar 

  7. Johnsson SL, Ho CT (1989) Optimum broadcasting and personalized communication in hypercubes. IEEE T Comput 38(9):1249–1268

    Article  MathSciNet  Google Scholar 

  8. Kumar S, Sabharwal Y, Garg R, Heidelberger P (2008) Optimization of all-to-all communication on the blue gene/l supercomputer. In: International conference on parallel processing (ICPP), Portland, pp 320–329

    Google Scholar 

  9. Lam CC, Huang CH, Sadayappan P (1997) Optimal algorithms for all-to-all personalized communication on rings and two dimensional tori. J Parallel Distr Com 43(1):3–13

    Article  MATH  Google Scholar 

  10. Liu W, Wang CL, Prasanna VK (2002) Portable and scalable algorithm for irregular all-to-all communication. J Parallel Distr Com 62:1493–1526

    MATH  Google Scholar 

  11. Massini A (2003) All-to-all personalized communication on multistage interconnection networks. Discrete Appl Math 128(2–3):435–446

    Article  MATH  MathSciNet  Google Scholar 

  12. Ranka S, Wang JC, Fox G (1994) Static and run-time algorithms for all-to-many personalized communication on permutation networks. IEEE T Parall Distr 5(12):1266–1274

    Article  Google Scholar 

  13. Ranka S, Wang JC, Kumar M (1995) Irregular personalized communication on distributed memory machines. J Parallel Distr Com 25(1):58–71

    Article  Google Scholar 

  14. Ritzdorf H, Träff JL (2006) Collective operations in NEC’s high-performance MPI libraries. In: International parallel and distributed processing symposium (IPDPS 2006), p 100

    Google Scholar 

  15. Saad Y, Schultz MH (1989) Data communication in parallel architectures. Parallel Comput 11(2):131–150

    Article  MATH  MathSciNet  Google Scholar 

  16. Scott DS (1991) Efficient all-to-all communication patterns in hypercube and mesh topologies. In: Proceedings 6th conference on distributed memory concurrent Computers, pp 398–403

    Google Scholar 

  17. Suh YJ, Shin KG (2001) All-to-all personalized communication in multidimensional torus and mesh networks. IEEE T Parall Distr 12(1):38–59

    Article  Google Scholar 

  18. Suh YJ, Yalamanchili S (1998) All-to-all communication with minimum start-up costs in 2D/3D tori and meshes. IEEE T Parall Distr 9(5):442–458

    Article  Google Scholar 

  19. Thakur R, Gropp WD, Rabenseifner R (2004) Improving the performance of collective operations in MPICH. Int J High Perform C 19:49–66

    Article  Google Scholar 

  20. Tseng YC, Gupta SKS (1996) All-to-all personalized communication in a wormhole-routed torus. IEEE T Parall Distr 7(5):498–505

    Article  Google Scholar 

  21. Tseng YC, Lin TH, Gupta SKS, Panda DK (1997) Bandwidth-optimal complete exchange on wormhole-routed 2D/3D torus networks: A diagonal-propagation approach. IEEE T Parall Distr 8(4):380–396

    Article  Google Scholar 

  22. Yang Y, Wang J (2000) Optimal all-to-all personalized exchange in self-routable multistage networks. IEEE T Parall Distr 11(3):261–274

    Article  Google Scholar 

  23. Yang Y, Wang J (2002) Near-optimal all-to-all broadcast in multidimensional all-port meshes and tori. IEEE T Parall Distr 13(2):128–141

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer Science+Business Media, LLC

About this entry

Cite this entry

Träff, J.L., vande Geijn, R.A. (2011). All-to-All. In: Padua, D. (eds) Encyclopedia of Parallel Computing. Springer, Boston, MA. https://doi.org/10.1007/978-0-387-09766-4_34

Download citation

Publish with us

Policies and ethics