encyclopegia.org

Relaxed sequential

Relaxed sequential in computer science is an execution model describing the ability of a parallel program to run sequentially.[src] If a parallel program has a valid sequential execution it is said to follow a relaxed sequential execution model.[src] It does not need to be efficient.[src] The word relaxed refers to the notion that serial programs are actually overly constrained by implicit serial dependencies (such as the program counter) and that one can introduce as much parallelism as possible without removing the ability to run sequentially.[src] One can think of this model as being as relaxed as possible while still being able to run correctly in a single thread.[src] That is the goal.[src] Most parallel programs can run sequentially but will benefit from parallelism when it is present.[src] It is possible to design programs that require parallelism for correct behavior.[src] Algorithms such as producer-consumer that are implemented so as to require two or more threads are one example of requiring concurrency to work properly.[src] For instance, consider a bounded container with a capacity for only three items and a program which has one thread doing “PUT PUT PUT PUT,” and another thread doing “GET GET GET GET,” each doing their actions only four at a time.[src] Such a program requires interleaving (concurrency).[src] A program that requires concurrency is more difficult to debug.…[src]

Relaxed sequential in computer science is an execution model describing the ability of a parallel program to run sequentially.[src] If a parallel program has a valid sequential execution it is said to follow a relaxed sequential execution model.[src] It does not need to be efficient.[src] The word relaxed refers to the notion that serial programs are actually overly constrained by implicit serial dependencies (such as the program counter) and that one can introduce as much parallelism as possible without removing the ability to run sequentially.[src] One can think of this model as being as relaxed as possible while still being able to run correctly in a single thread.[src] That is the goal.[src] Most parallel programs can run sequentially but will benefit from parallelism when it is present.[src] It is possible to design programs that require parallelism for correct behavior.[src] Algorithms such as producer-consumer that are implemented so as to require two or more threads are one example of requiring concurrency to work properly.[src] For instance, consider a bounded container with a capacity for only three items and a program which has one thread doing “PUT PUT PUT PUT,” and another thread doing “GET GET GET GET,” each doing their actions only four at a time.[src] Such a program requires interleaving (concurrency).[src] A program that requires concurrency is more difficult to debug.[src] It is easier to debug a program that has a valid sequential execution.[src] Programs designed to require concurrency are more difficult to debug.[src] Programs designed to require concurrency will have performance issues when the number of required threads exceeds the number of hardware threads because time slicing artifacts can hit hard.[src] ==See also== Deadlock Race Conditions ==References== Reinders, James, Intel Threading Building Blocks: Outfitting C++ for Multi-core Processor Parallelism, First Edition.[src] O'Reilly Media, 2007, .[src] Pages 169-170.[src]

30 sentences · 30 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Relaxed sequential." encyclopegia.org, 2024, https://encyclopegia.org/wiki/relaxed-sequential. Accessed 27 November 2026.

Chicago

"Relaxed sequential." encyclopegia.org. Accessed November 27, 2026. https://encyclopegia.org/wiki/relaxed-sequential.

APA

encyclopegia.org. (2024). Relaxed sequential. Retrieved November 27, 2026, from https://encyclopegia.org/wiki/relaxed-sequential

Accessed November 27, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Relaxed Gesture

stub · references available

sequential estimation

stub · references available

Sequential high-dose chemotherapy

stub · references available

Sequential Circuits Studio 440

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1241387177 · 0.5 · snapshot enwiki-001241387177

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.