Parallel processing, multi core systems and GPUs

studied byStudied by 0 people
0.0(0)
Get a hint
Hint

Parallel processing

1 / 9

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

10 Terms

1

Parallel processing

When a computer carries out multiple computations simultaneously to solve a given problem. One approach is SIMD: where the same operation on multiple data pieces simultaneously ( commonly by GPUs). Or by MIMD: different instructions concurrently on different data pieces.

New cards
2

How can parallel processing be achieved through multiple processors in the same computer or distributed or multiple cores in a CPU or GPU?

  • through the SIMD approach on GPUs, where same operation is carried out on multiple data pieces

  • through MIMD approach, different instructions are executed concurrently on different data pieces.

  • Parallel processing within a single CPU by utilizing its cores.

  • Utilizing multiple CPUs, each with their own multiple cores, for higher degrees of parallelization.

New cards
3

What are the benefits of a multi-core system in terms of parallel processing and running multiple programs at the same time?

  • Improved parallel processing capability by carrying out multiple computations simultaneously.

  • Faster execution of tasks that can be parallelized.

  • Ability to run multiple programs concurrently without significant performance degradation.

New cards
4

Benefits of parallel processing

  • increased speed

    • Tasks can be completed faster by distributing the workload across multiple processors or cores.

  • improved performance

    • allows for better utilisation of resources

  • scalability

    • systems can scale up by adding more processors or cores to handle larger workloads

  • concurrency

    • enables the execution of multiple tasks simultaneously, enhancing multitasking capabilities

  • cost-effective

    • can be more cost effective than relying on a single, high-powered processor.

New cards
5

Limitations of parallel processing

  • Dependency Issues: Some tasks may have dependencies that prevent them from being parallelized effectively, limiting potential speedup.

  • Resource Contentions: Shared resources such as memory or I/O devices may become bottlenecks or points of contention, reducing performance gains.

  • Scalability Limits: There may be practical limits to the scalability of parallel systems, beyond which adding more processors or cores does not result in significant performance improvement.

  • Programming Complexity: Parallel programming requires specialized skills and tools, making it more challenging for developers compared to sequential programming.

New cards
6

What is SIMD

An array processor has several Arithmetic Logic Units (ALUs). This allows several elements of an array to be processed at the same time rather than in sequence. With an array processor, a single instruction is issued by a control unit and that instruction is applied to a number of data sets at the same time.

An array processor is a Single Instruction Multiple Data computer or SIMD

New cards
7

Limitations of array processing

This architecture relies on the fact that the data sets are all acting on a single instruction. However, if these data sets somehow rely on each other then you cannot apply parallel processing.

For example, if data A has to be processed before data B then you cannot do A and B simultaneously.

This dependency is what makes parallel processing difficult to implement. And it is why sequential machines (i.e. non parallel) are still extremely common.

New cards
8

GPUs

A graphics processing unit (GPU) is a device which unlike CPUs has lots of independent processors which work in parallel making it very efficient at completing repetitive tasks such as image processing and machine learning. GPUs are a type of co-processor (a secondary processor designed to supplement the activities of the primary processor).

New cards
9

Limitations of multi-core processing (MIMD- Multiple Instruction Multiple Data)

This type of processing is dependent on being able to cut a problem down into chunks that can be processed independently. But not many problems can be broken down in this way.

Programmers also have to write specific code to make use of the multi-core CPU. This is actually quite difficult and even now most applications running on a multi-core CPU will not be making full use of all the cores.

New cards
10

GPUs and their uses

A graphics processing unit (GPU) is specifically designed to perform the calculations associated with displaying graphics. GPUs:

✚ have instruction sets specifically designed for the sorts of calculations required in graphics processing

✚ have the ability to process these pieces of data in parallel, referred to as single instruction multiple data (SIMD)

✚ can either be placed on a graphics card with access to their own dedicated memory …

✚ … or can be embedded within a CPU.

✚ GPUs require additional software to convert CPU functions to GPU functions. It should be remembered that GPUs cannot themselves run programs. A computer still needs a CPU to run a program, but if there is a GPU, the CPU can pass on certain processing of data (traditionally the rendering of graphics) to it.

New cards

Explore top notes

note Note
studied byStudied by 37 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 50 people
Updated ... ago
5.0 Stars(3)
note Note
studied byStudied by 59666 people
Updated ... ago
4.9 Stars(331)
note Note
studied byStudied by 10 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 16 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 5 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 79 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 26 people
Updated ... ago
5.0 Stars(2)

Explore top flashcards

flashcards Flashcard282 terms
studied byStudied by 42 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard100 terms
studied byStudied by 15 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard44 terms
studied byStudied by 1 person
Updated ... ago
5.0 Stars(1)
flashcards Flashcard243 terms
studied byStudied by 88 people
Updated ... ago
5.0 Stars(3)
flashcards Flashcard23 terms
studied byStudied by 6 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard66 terms
studied byStudied by 26 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard22 terms
studied byStudied by 7 people
Updated ... ago
5.0 Stars(2)
flashcards Flashcard79 terms
studied byStudied by 14 people
Updated ... ago
5.0 Stars(1)