0% found this document useful (0 votes)
45 views

Asc 6

This document discusses parallel computing and multi-core architectures. Some key points include: - Systems with multiple cores/processors allow for parallel or concurrent execution of tasks. Compatible operating systems are required. - Not all applications benefit equally from multi-core due to specific scaling properties. Parallel and distributed systems are separate categories. - Multi-core refers to multiple processors on a single chip while hyperthreading logically increases cores via parallel execution pathways within each core. - Concurrent access to shared resources like memory must be managed to avoid conflicts between parallel processes or threads. - Parallel execution involves distributing work across cores while maintaining synchronization between tasks. - Scheduling algorithms like round robin are used to share cores between ready

Uploaded by

Simona
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views

Asc 6

This document discusses parallel computing and multi-core architectures. Some key points include: - Systems with multiple cores/processors allow for parallel or concurrent execution of tasks. Compatible operating systems are required. - Not all applications benefit equally from multi-core due to specific scaling properties. Parallel and distributed systems are separate categories. - Multi-core refers to multiple processors on a single chip while hyperthreading logically increases cores via parallel execution pathways within each core. - Concurrent access to shared resources like memory must be managed to avoid conflicts between parallel processes or threads. - Parallel execution involves distributing work across cores while maintaining synchronization between tasks. - Scheduling algorithms like round robin are used to share cores between ready

Uploaded by

Simona
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 34

C6

Arhitectura sistemelor de calcul


Lect. univ. dr. Cristian ȘTEFAN
[email protected]
Multiprocesare și paralelism

• cel puțin două nuclee/procesoare disponibile


• implică un sistem de operare compatibil
• nu orice aplicație beneficiază de multi-core
• scalarea este specifică, de la caz la caz (Amdahl)
• sistemele paralele și cele distribuite sunt două
categorii separate (sistemul paralel este unitar)
• modele: minicomputer, workstation,
workstation-server, processor pool, cluster, grid
2
Multicore vs Hyperthreading

3
Sursa: http://beyondthegeek.com/2017/09/29/multi-core-vs-hyper-threading/
Accesul concurent la resurse

4
https://www.researchgate.net/publication/220422260_The_Bulk_Multicore_Architecture_for_Improved_Programmability
Execuția paralelă

Sursa: https://www.backblaze.com/blog/whats-the-diff-programs-processes-and-threads/ 5
Round Robin

6
Sursa: https://rtldigitaldesign.blogspot.com/2016/12/verilog-code-for-round-robin-algorithm.html
Round Robin (2)

7
Sursa: https://www.geeksforgeeks.org/program-round-robin-scheduling-set-1/round-robin/
Multithreaded, multicore, multiproc (1)

8
Sursa: https://developer.ibm.com/articles/au-aix-multicore-multiprocessor/
Multithreaded, multicore, multiproc (2)

9
Sursa: http://www.daniloaz.com/en/differences-between-physical-cpu-vs-logical-cpu-vs-core-vs-thread-vs-socket/
Multicore vs. single powerful core

10
Scalarea multicore - Photoshop

11
Sursa: www.pugetsystems.com/labs/articles/Adobe-Photoshop-CC-Multi-Core-Performance-625/
Performanța cu 2 procesoare

12
www.pugetsystems.com/labs/articles/Adobe-Photoshop-CC-Multi-Core-Performance-625/
Arhivarea multi-core

Sursa: https://www.tomshardware.com/reviews/cpu-cores-performance,2373-6.html 13
Scalarea dincolo de 5 cores

14
Sursa: https://blog.erratasec.com/2013/02/multi-core-scaling-its-not-multi.html
4 core vs 10 core – 3DSMax 2017

Sursa> www.pugetsystems.com/labs/articles/AutoDesk-3ds-Max-2017-Quadro-GPU-Performance-822/ 15
Quadro M4000 (~550$) vs GTX 1070 (~315$)

Sursa> www.pugetsystems.com/labs/articles/AutoDesk-3ds-Max-2017-Quadro-GPU-Performance-822/ si
16
https://www.pugetsystems.com/labs/articles/AutoDesk-3ds-Max-2017-GeForce-GPU-Performance-816/
Prioritatea unui proces

17
Afinitatea unui proces

18
Monitorizarea proceselor

19
Activitatea proceselor

20
Editarea video ar trebui să scaleze?

21
Sursa: https://www.pugetsystems.com/labs/articles/Adobe-Premiere-Pro-CC-Multi-Core-Performance-698/
Legea lui Amdahl

22
Sursa: Wikipedia
Clasificarea lui Flynn

23
Sursa: https://www.geeksforgeeks.org/computer-architecture-flynns-taxonomy/
24
Sursa: https://www.pcgamesn.com/nvidia-turing-gpu-architecture-specs/
Sursa> www.youtube.com/watch?v=IC2TONwMe7U 25
Intel Iris Xe Max – aug. 2020

26
Sursa: www.youtube.com/watch?v=2GiWQE5DP-o
Lecția video

27
Sursa: https://www.youtube.com/watch?v=_cyVDoyI6NE
Programarea CUDA

28
Sursa: https://www.drdobbs.com/tools/nvidia-cuda-55-reaches-arm/240159621
pyCUDA în Google Cloud

29
Sursa: https://colab.research.google.com/notebooks/gpu.ipynb#scrollTo=v3fE7KmKRDsH
30
(Non)Unified Memory Access

31
Sursa: https://research.nvidia.com/publication/2017-10_Beyond-the-socket%3A
NUMA

Sursa> www.sciencedirect.com/science/article/pii/B9780128051320000011 32
Amuzament: EPYC win – 64 cores, 128 threads

33
Sursa: https://www.youtube.com/watch?v=HuLsrr79-Pw
Q&A
34

You might also like