Professional Documents
Culture Documents
Parallel Computing: Tm2033 - Platform Techonology
Parallel Computing: Tm2033 - Platform Techonology
COMPUTING
TM2033 - PLATFORM TECHONOLOGY
CONTENT
DR HADI
FTSM, UKM
Introduction
FTSM, UKM
Introduction
All these three technologies, cloud, grid and cluster are under high-perfor
mance computing (HPC) where the main idea is to meet the challenge of
solving difficult problems that require massive amount of computing data
This is because many applications require HPC for example:
1) numeric and scientific application
2) modelling, simulation and complex process system like climate,
3) Business and internet applications like web servers (Google and
Yahoo) and e–commerce (Amazon).
FTSM, UKM
Introduction
FTSM, UKM
Single Architecture
FTSM, UKM
Parallel Architecture
loosely-coupled architecture
FTSM, UKM
SMP
• Processors are connected by a bus or
other internal connection
• Memory access time is approximately the
same for each processor
• All processors share access to I/O
• Either through same channels or different
channels giving paths to same devices
• All processors can perform the same
functions (hence symmetric)
• System controlled by integrated operating
system providing interaction between
processors SMP FTSM, UKM
Cluster
The architecture for MIMD can be loosely coupled if there is distributed
memory
Example:
Cluster!
FTSM, UKM
Parallel Architecture
FTSM, UKM
Cluster Computing
Why now cluster computing is one of the hottest technologies?
Data
using HPC
Intensity
Powerful
networking capability
PC
FTSM, UKM
Cluster Computing
• collection of parallel or distributed computers
• interconnected among themselves using high-speed networks, such as
gigabit Ethernet.
• They work together in the execution of compute intensive and data inte
nsive tasks that would be not feasible to execute on a single computer.
SMP
•Easier to manage
SMP •Closer to Single Processor
•Less physical
•low power consumption
Clustering
•Superior incremental
Cluster •scalable
•Availability
•redundancy
FTSM, UKM
Grid computing
Grid computing - the collection of computer resources from multiple
locations to reach a common goal.
Like a distributed system with non-interactive workloads that involve a
large number of files.
FTSM, UKM
Grid computing
FTSM, UKM
Grid in Malaysia
• National Grid Computing Initiatives (NGCI)
– Launched as KnowledgeGRID Malaysia (KGM) on
20 August 2007.
– Initiative under MOSTI
– To sustain R&D collaboration amongst the Malaysian research
communities through Grid Computing in order to realize the
National IT Service Utility Grid.
• Plan was documented in two documents.
– National Grid Computing Initiative (NGCI) Terms of Reference
(TOR) drafted in December 2005 with several revisions in 2006/7/9
– The National Technology Roadmap for Grid Computing
• One virtual Organization – Academic Grid Malaysia
FTSM, UKM
Academic Grid Malaysia
• Open access Distributed Computing Infrastructure
• Open to any Malaysian Academia
• Institutions and Organizations that are recognized by respective ministries
to be involved or associated with Distributed, Grid, Cloud and Emerging
Computing Applications/Projects.
• More than 400 core of CPUs in total.
FTSM, UKM
Academic Grid Malaysia
FTSM, UKM
Grid Computation Problem
SPMD
•Sequential Application SPSD - Single Process
•Data can be divided Single Data
• Speed up factor is liner
SPMD - Single Process
Multiple Data
MPSD
• Partial parallel process MPSD - Multiple Process
• Data cannot be divided Single Data
• Speed-up factor varies
MPMD - Multiple Process
Multiple Data
MPMD
• Partial parallel process
• data can be divided
• Speed up factor varies
FTSM, UKM
Case Study: Animation Rendering
• Animation rendering is basically a process to combine
many still image (called frame) as one to became an
animation.
• Example: A rendering project has 100 frames to be
processed.
• Let’s say to process 1 frame it takes 5 minutes wall
time.
• Hence it will takes about 500 minutes to complete
render the frames if we use single cpu core.
FTSM, UKM
Case Study: Animation Rendering
• Now, if we use SPMD model and run it at Grid;
• We split the frames to 10 data chunks
• Each cpu process 1 data chunks (i.e cpu 1 process frame 1-10,
cpu 2 process frame 11-20, etc)
• Hence it only takes 50 minutes (10X faster) to complete the
render process since it runs simultaneously.
FTSM, UKM
CLOUD
COMPUTING
TM2033 - PLATFORM TECHONOLOGY
CONTENT
DR. ADI
FTSM, UKM
Introduction
Question: Identify keywords from this advertisement:
FTSM, UKM
Introduction
FTSM, UKM
Cloud Model
FTSM, UKM
Deployment Model - Private
FTSM, UKM
Cloud Computing Model
Deployment
Service
Essential Characteristics
FTSM, UKM
Service Model
<something> as a Service
FTSM, UKM
Service Model - IaaS
Provides virtual: machines, storage, infrastructure and other hardware
assets as resources that clients can provision
FTSM, UKM
IaaS
FTSM, UKM
Service Model - PaaS
Provides virtual machines, operating systems, applications, services,
development frameworks, transactions and control structures
FTSM, UKM
PaaS
FTSM, UKM
Service Model - SaaS
A complete operating environment with applications, management and
user interface.
Examples of SaaS:
Quickbooks : online accounting package
Google Apps
FTSM, UKM
Cloud Computing Model
Deployment
Service
Essential Characteristics
FTSM, UKM
Essential Characteristics
Technologies that can create shared pool of resources
1. Load balancing
- To creating high performance cloud-based
solution
- One characteristic of cloud computing is
virtualized network access to a service.
- No matter where you access the service,
you are directed to the available resources.
- The technology used to distribute service
requests to resources is referred to as load
balancing.
- Load balancing can be implemented in hard http://youtu.be/c7W40_bn3Ss
ware and software.
FTSM, UKM
Essential Characteristics
Technologies that can create shared pool of resources
2. Virtualization
- abstract all the physical resources in order to
create virtual system so that we can see one
big computing resource.
- Therefore, for abstraction, we need a layer call
virtualization layer where we can create a
virtual machine.
- In cloud computing, all the services can be pro
vided via this virtualised platform/ resources.
- creating virtual hardware system
http://youtu.be/7a0kCODjR7s
- Own address space in memory, its own proces
sor resource allocation and its own device I/O
using its own virtual device driver.
FTSM, UKM
Virtualization
In order to enable virtualization, a hypervisor is needed.
Hypervisor is a low level program that c
an provide system resource access to
VM.
This program is also called Virtual
Machine Monitor (VMM).
The operating system loaded into a
virtual machine is referred as guest OS
.
FTSM, UKM
Virtualization
In order to enable virtualization, a hypervisor is needed.
• The host for this VM can be either the
physical hardware or the operating system
installed on the physical hardware.
• If there is no OS installed in the physical
hardware, the VM can be directly access to
the physical hardware via hypervisor. This
is type 1 hypervisor and have full
virtualization.
• But if there is OS installed on hardware, the
VM have to work with this host OS. This is
based on para virtualization and called
type two hypervisor.
FTSM, UKM
Cloud Computing Model
Deployment
Service
Essential Characteristics
FTSM, UKM
END OF
SYLLABUS
TM2033 - PLATFORM TECHONOLOGY
DR HADI
FTSM, UKM