CCA - Module 3 - Concurrent Computing
CCA - Module 3 - Concurrent Computing
computing applications
Module 3
2020-2021[ODD]
2
17CS742 –
Cloud computing applications
*
3
Course Outcomes
► Reference Book:
Dan C. Marinescu, Cloud Computing Theory and Practice, Morgan
Kaufmann, Elsevier 2013.
5
Module 3
Clustered Multiprocessing
• Multiple computers joined together to form a single virtual computer
8
Multicore Architecture
► Frequency scaling
► Frequency Ramping
► Instruction Level Parallelism (ILP)
9
Multiprocessing vs. Multitasking
https://www.geeksforgeeks.org/difference-between-multitasking-multithreading-and-
multiprocessing/
10
Programming applications with
threads
Parallel Architectures
Useful technique to increase the throughput of the
system and a viable option for throughput computing
► Implicit threading
► happens when the underlying APIs use internal threads to perform specific
tasks
► Eg. graphical user interface (GUI) rendering
► Explicit threading
► use of threads within a program by application developers
► long computations
► Inherently sequential
Interface
Compatibility
Type Thread Life
Serialization Cycle
Thread Thread
Priorities Synchronization
23
Interface compatibility
► No support for interrupt () which forcibly resumes thread from waiting or sleeping state.
Aneka.Threading.AnekaThre
adlife Life cycle
► System.Threading.Thread
► ThreadPriority enumeration: Highest, AboveNormal, Normal, BelowNormal, or
Lowest.
► Aneka does not support thread priorities
► But for interface compatibility purposes, it has
► Aneka.Threading.Thread
► Priority property - ThreadPriority is always set to normal
32
Type Serialization
► Categorize the support given to different programming models through template specialization.