CC Unit1
CC Unit1
CC Unit1
• Task Parallelism:
1.Application is decomposed into large grained independent units of
work called tasks or processes.
2.Tasks are allocated to different processors and executed
simultaneously
3.Used for non-numerically intensive independent workloads.
• Data Parallelism
1.Same operation is performed concurrently on different chunks of data
distributed across processors.
2.Used in HPC workloads like scientific computing having large data sets
and computations.
• Pipelining
1.Execution of a serial program is broken into overlapping phases.
2.Phases of multiple instructions are executed concurrently.
3.Instruction-level parallelism for increasing throughput.
• Concurrency
1.Executing multiple single-threaded applications simultaneously on a
multiprocessor system.
2.To maximize utilization by switching between applications to hide
latency.
3.Thread-level parallelism from multi-tasking systems.
10. How does Virtualization work in Cloud computing?
• Hypervisors hosted on physical hardware create isolated virtual machine
(VM) instances
• A VM emulates virtual hardware resources – CPU, memory, storage,
network adapters
• VMs encapsulate entire runtime environment: OS, middleware,
applications
• Guest OS and software are executed on VMs transparently as if running
on actual hardware
• Provides secure, isolated environments for multi-tenancy on shared
infrastructure
• CPU, memory allocated dynamically to VMs from pooled physical
resources
• VM live migration enables dynamic scaling, automated failover,
hardware abstraction
• Widely used in IaaS for on-demand provisioning of compute, storage,
network resources
• Achieves rapid elasticity, usage-based billing, resource pooling attributes
• Higher-level PaaS and SaaS leverage underlying IaaS virtualization
capabilities
• Cloud consumer self-service fulfilled by on-demand creation of VM
instances
11. Define Hypervisor. Explain Its functionality.
• A hypervisor creates virtual machines on underlying host hardware, each
running their own guest operating systems:
• Emulates virtualized physical hardware resources - processor, memory,
storage, networking.
• Allocates resources dynamically to VMs based on changing workload
requirements.
• Isolates VMs for multi-tenancy support without interference.
• Manages concurrency controls between guest OS access to virtualized
hardware.
• Live migrates VMs across hosts for load balancing, scaling, failover
purposes.
• Some hypervisors provide advanced management capabilities like VM
snapshots, dynamic resource scaling of VMs.
Two main types:
1. Native (Type 1) Hypervisor
• Runs directly on the host's hardware rather than within host OS
• Has direct access to physical resources for tighter control and efficiency
• Eg: VMware ESXi, Microsoft Hyper-V, Citrix XenServer
2. Hosted (Type 2) Hypervisor
• Runs as an application on an existing host OS which manages hardware
• Additional abstraction layer results in reduced efficiency
• Eg: Oracle VirtualBox, VMware Workstation
Functionality:
• Emulates virtualized physical hardware components
• Dynamically allocates host resources to VMs
• Isolates VMs from each other
• Manages concurrency control between guest OS access
• Live migrates VMs across hosts
• Provides advanced capabilities like snapshots, dynamic scaling of VMs