ArticleslgStudy

computer science

Partitioned global address space

Partitioned global address space is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Partitioned global address space rather than just read about it. In short: In computer science, partitioned global address space (PGAS) is a parallel programming model paradigm. PGAS is typified by communication operations involving a global memory address space abstraction that is logically partitioned, where a portion is local to each process, thread, or processing element.

Key takeaways

  • Partitioned global address space belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Partitioned global address space to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Partitioned global address space from memory before moving on to harder problems.

Reference excerpt

In computer science, partitioned global address space (PGAS) is a parallel programming model paradigm. PGAS is typified by communication operations involving a global memory address space abstraction that is logically partitioned, where a portion is local to each process, thread, or processing element. The novelty of PGAS is that the portions of the shared memory space may have an affinity for a particular process, thereby exploiting locality of reference in order to improve performance. A PGAS memory model is featured in various parallel programming languages and libraries, including: Coarray Fortran, Unified Parallel C, Split-C, Fortress, Chapel, X10, UPC++, Coarray C++, Global Arrays, DASH and SHMEM. The PGAS paradigm is now an integrated part of the Fortran language, as of Fortran 2008 which standardized coarrays. The various languages and libraries offering a PGAS memory model differ widely in other details, such as the base programming language and the mechanisms used to express parallelism. Many PGAS systems combine the advantages of a SPMD programming style for distributed memory systems (as employed by MPI) with the data referencing semantics of shared memory systems. In contrast to message passing, PGAS programming models frequently offer one-sided communication operations such as Remote Memory Access (RMA), whereby one processing element may directly access memory with affinity to a different (potentially remote) process, without explicit semantic involvement by the passive target process. PGAS offers more efficiency and scalability than traditional shared-memory approaches with a flat address space, because hardware-specific data locality can be explicitly exposed in the semantic partitioning of the address space. A variant of the PGAS paradigm, asynchronous partitioned global address space (APGAS) augments the programming model with facilities for both local and remote asynchronous task creation. Two programming languages that use this model are Chapel and X10.

Examples Coarray Fortran now an integrated part of the language as of Fortran 2008 Unified Parallel C an explicitly parallel SPMD dialect of the ISO C programming language Chapel a parallel language originally developed by Cray under the DARPA HPCS project UPC++, A C++ template library that provides PGAS communication operations designed to support high-performance computing on exascale supercomputers, including Remote Memory Access (RMA) and Remote Procedure Call (RPC) Coarray C++ a C++ library developed by Cray, providing a close analog to Fortran coarray functionality Global Arrays a library supporting parallel scientific computing on distributed arrays DASH a C++ template library for distributed data structures with support for hierarchical locality SHMEM a family of libraries supporting parallel scientific computing on distributed arrays X10 a parallel language developed by IBM under the DARPA HPCS project Fortress a parallel language developed by Sun Microsystems under the DARPA HPCS project Titanium an explicitly parallel dialect of Java developed at UC Berkeley to support scientific high-performance computing on large-scale multiprocessors Split-C a parallel extension of the C programming language that supports efficient access to a global address space The Adapteva Epiphany architecture is a manycore network on a chip processor with scratchpad memory addressable between cores.

See also Concurrency Non-blocking synchronization Non-uniform memory access (NUMA) Cache-only memory architecture (COMA)

External links An Introduction to the Partitioned Global Address Space Model Programming in the Partitioned Global Address Space Model Archived 2010-06-12 at the Wayback Machine (2003) GASNet Communication System - provides a software infrastructure for PGAS languages over high-performance networks

References

Worked examples

Example 1 — a first encounter with Partitioned global address space

Start with the simplest possible case. Write down what Partitioned global address space claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Partitioned global address space before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Partitioned global address space ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Partitioned global address space

In research
Partitioned global address space appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Partitioned global address space in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Partitioned global address space is common in secondary-school and first-year university syllabi. It links to neighbouring topics Parallel computing, Programming paradigms, so understanding it makes those chapters shorter.
In everyday life
Look for Partitioned global address space outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Partitioned global address space” →

How to study Partitioned global address space in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Partitioned global address space means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Partitioned global address space out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Partitioned global address space in simple terms?

In computer science, partitioned global address space (PGAS) is a parallel programming model paradigm. PGAS is typified by communication operations involving a global memory address space abstraction that is logically partitioned, where a portion is local to each process, thread, or processing elem…

Why does Partitioned global address space matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Partitioned global address space?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Partitioned global address space.

Tags

  • Parallel computing
  • Programming paradigms

Keep exploring