Flynn's taxonomy

From Wikipedia, the free encyclopedia

Flynn's taxonomy is a classification of computer architectures, proposed by Michael J. Flynn in 1966.[1] and extended in 1972.[2] The classification system has stuck, and it has been used as a tool in design of modern processors and their functionalities. Since the rise of multiprocessing central processing units (CPUs), a multiprogramming context has evolved as an extension of the classification system. Vector processing, covered by Duncan's taxonomy,[3] is missing from Flynn's work because the Cray-1 was released in 1977: Flynn's second paper was published in 1972.

Classifications[]

The four initial classifications defined by Flynn are based upon the number of concurrent instruction (or control) streams and data streams available in the architecture.[4] Flynn later defined three additional sub-categories of SIMD in 1972.[2]

Single instruction stream, single data stream (SISD)[]

A sequential computer which exploits no parallelism in either the instruction or data streams. Single control unit (CU) fetches single instruction stream (IS) from memory. The CU then generates appropriate control signals to direct single processing element (PE) to operate on single data stream (DS) i.e., one operation at a time.

Examples of SISD architecture are the traditional uniprocessor machines like older personal computers (PCs; by 2010, many PCs had multiple cores) and mainframe computers.

Single instruction stream, multiple data streams (SIMD)[]

A single instruction is simultaneously applied to multiple different data streams. Instructions can be executed sequentially, such as by pipelining, or in parallel by multiple functional units. Flynn's 1972 paper subdivided SIMD down into three further categories:[2]

  • Array Processor - These receive the one (same) instruction but each parallel processing unit has its own separate and distinct memory and register file.
  • Pipelined Processor - These receive the one (same) instruction but then read data from a central resource, each processes fragments of that data, then writes back the results to the same central resource. In Figure 5 of Flynn's 1977 paper that resource is main memory: for modern CPUs that resource is now more typically the register file.
  • Associative Processor - These receive the one (same) instruction but in each parallel processing unit an independent decision is made, based on data local to the unit, as to whether to perform the execution or whether to skip it. In modern terminology this is known as "Predicated" (masked) SIMD.

Some modern designs (GPUs in particular) take features of more than one of these subcategories: GPUs of today are SIMT but also are Associative i.e. each processing element in the SIMT array is also predicated.

Array Processor[]

The modern term for an Array Processor is Single instruction, multiple threads (SIMT). This is a distinct classification in Flynn's 1972 taxonomy, as a subcategory of SIMD. It is identifiable by the parallel subelements having their own independent register file and memory (Cache and Data Memory). Flynn's original papers cite two historic examples of SIMT Processors: SOLOMON and ILLIAC IV

Nvidia commonly uses the term in its marketing materials and technical documents where it argues for the novelty of Nvidia architecture.[5] SOLOMON predates NVidia by more than 60 years.

The Aspex Microelectronics Associative String Processor (ASP)[6] categorised itself in its marketing material as "Massive wide SIMD" but had bit-level ALUs and bit-level predication (Flynn's Taxonomy: Associative Processing) and each of the 4096 processors had their own registers and memory (Flynn's Taxonomy: Array Processing). The Linedancer, released in 2010, contained 4096 2-bit Predicated SIMD ALUs, each with its own Content-Addressable Memory, and was capable of 800 billion instructions per second.[7] Aspex's ASP associative array SIMT processor predates NVIDIA by 20 years.[8][9]

Pipelined Processor[]

At the time that Flynn wrote his 1972 paper many systems were using main memory as the resource from which pipelines were reading and writing. When the resource that all "pipelines" read and write from is the register file rather than main memory, modern variants of SIMD result. Examples include Altivec, NEON, and AVX.

An alternative name for this type of register-based SIMD is "Packed SIMD"[10] and another is SIMD within a Register (SWAR). When predication is applied it becomes Associative Processing (below)

Associative Processor[]

The modern term for Associative Processor is "predicated" (or masked) SIMD. Examples include AVX-512.

Multiple instruction streams, single data stream (MISD)[]

Multiple instructions operate on one data stream. This is an uncommon architecture which is generally used for fault tolerance. Heterogeneous systems operate on the same data stream and must agree on the result. Examples include the Space Shuttle flight control computer.[11]

Multiple instruction streams, multiple data streams (MIMD)[]

Multiple autonomous processors simultaneously executing different instructions on different data. MIMD architectures include multi-core superscalar processors, and distributed systems, using either one shared memory space or a distributed memory space.

Diagram comparing classifications[]

These four architectures are shown below visually. Each processing unit (PU) is shown for a uni-core or multi-core computer:

Further divisions[]

As of 2006, all the top 10 and most of the TOP500 supercomputers are based on a MIMD architecture.

Although these are not part of Flynn's work, some further divide the MIMD category into the two categories below,[12][13][14][15][16] and even further subdivisions are sometimes considered.[17]

Single program, multiple data streams (SPMD)[]

Multiple autonomous processors simultaneously executing the same program (but at independent points, rather than in the lockstep that SIMD imposes) on different data. Also termed single process, multiple data[16] - the use of this terminology for SPMD is technically incorrect, as SPMD is a parallel execution model and assumes multiple cooperating processors executing a program. SPMD is the most common style of parallel programming.[18] The SPMD model and the term was proposed by Frederica Darema of the RP3 team.[19]

Multiple programs, multiple data streams (MPMD)[]

Multiple autonomous processors simultaneously operating at least 2 independent programs. Typically such systems pick one node to be the "host" ("the explicit host/node programming model") or "manager" (the "Manager/Worker" strategy), which runs one program that farms out data to all the other nodes which all run a second program. Those other nodes then return their results directly to the manager. An example of this would be the Sony PlayStation 3 game console, with its SPU/PPU processor.

See also[]

References[]

  1. ^ Flynn, Michael J. (December 1966). "Very high-speed computing systems" (PDF). Proceedings of the IEEE. 54 (12): 1901–1909. doi:10.1109/PROC.1966.5273.
  2. ^ Jump up to: a b c d Flynn, Michael J. (September 1972). "Some Computer Organizations and Their Effectiveness" (PDF). IEEE Transactions on Computers. C-21 (9): 948–960. doi:10.1109/TC.1972.5009071.
  3. ^ Duncan, Ralph (February 1990). "A Survey of Parallel Computer Architectures" (PDF). Computer. 23 (2): 5–16. doi:10.1109/2.44900. Archived (PDF) from the original on 2018-07-18. Retrieved 2018-07-18.
  4. ^ "Data-Level Parallelism in Vector, SIMD, and GPU Architectures" (PDF). 12 November 2013.
  5. ^ "NVIDIA's Next Generation CUDA Compute Architecture: Fermi" (PDF). Nvidia.
  6. ^ Lea, R.M. (1988). "ASP: A Cost-Effective Parallel Microcomputer". IEEE Micro. 8 (5): 10–29. doi:10.1109/40.87518.
  7. ^ "Linedancer HD - Overview". Aspex Semiconductor. Archived from the original on 13 October 2006.
  8. ^ Krikelis, A. (1988). Artificial Neural Network on a Massively Parallel Associative Architecture. International Neural Network Conference. Dordrecht: Springer. doi:10.1007/978-94-009-0643-3_39. ISBN 978-94-009-0643-3.
  9. ^ Ódor, Géza; Krikelis, Argy; Vesztergombi, György; Rohrbach, Francois. "Effective Monte Carlo simulation on System-V massively parallel associative string processing architecture" (PDF). Cite journal requires |journal= (help)
  10. ^ Miyaoka, Y.; Choi, J.; Togawa, N.; Yanagisawa, M.; Ohtsuki, T. (2002). An algorithm of hardware unit generation for processor core synthesis with packed SIMD type instructions. Asia-Pacific Conference on Circuits and Systems. 1. p. 171-176. doi:10.1109/APCCAS.2002.1114930. hdl:2065/10689.
  11. ^ Spector, A.; Gifford, D. (September 1984). "The space shuttle primary computer system". Communications of the ACM. 27 (9): 872–900. doi:10.1145/358234.358246.
  12. ^ "Single Program Multiple Data stream (SPMD)". Llnl.gov. Retrieved 2013-12-09.
  13. ^ "Programming requirements for compiling, building, and running jobs". Lightning User Guide. Archived from the original on September 1, 2006.
  14. ^ "CTC Virtual Workshop". Web0.tc.cornell.edu. Retrieved 2013-12-09.
  15. ^ "NIST SP2 Primer: Distributed-memory programming". Math.nist.gov. Archived from the original on 2013-12-13. Retrieved 2013-12-09.
  16. ^ Jump up to: a b "Understanding parallel job management and message passing on IBM SP systems". Archived from the original on February 3, 2007.
  17. ^ "9.2 Strategies". Distributed Memory Programming. Archived from the original on September 10, 2006.
  18. ^ "Single program multiple data". Nist.gov. 2004-12-17. Retrieved 2013-12-09.
  19. ^ Darema, Frederica; George, David A.; Norton, V. Alan; Pfister, Gregory F. (1988). "A single-program-multiple-data computational model for EPEX/FORTRAN". Parallel Computing. 7 (1): 11–24. doi:10.1016/0167-8191(88)90094-4.

This article is based on material taken from the Free On-line Dictionary of Computing prior to 1 November 2008 and incorporated under the "relicensing" terms of the GFDL, version 1.3 or later.

Retrieved from ""