Professional Documents
Culture Documents
Parallel Processing Chapter - 5: Process Level Parallelism
Parallel Processing Chapter - 5: Process Level Parallelism
Chapter - 5
Process Level Parallelism
Peer
Peerto
to peer
peer……
Peer responsibilities, as a Client:
• Sending commands to other peers
to request a service
• Receiving responses to a request
for a service
Peer-to-peer
Peer-to-peer……
P2P
P2Phas
hasthree
threestructural
structuralclassifications
classifications
Centralized
Centralized(E.
(E.g.g.Napster)
Napster)
Structured
StructuredDecentralized
Decentralized(E.g.
(E.g.Chord,
Chord,Pastry)
Pastry)
Unstructured
UnstructuredDecentralized
Decentralized(E.g.
(E.g.Gnutella,
Gnutella,Kazaa)
Kazaa)
Peer-to-peer computing
Peer-to-peer
Peer-to-peer……
Centralized
Centralized P2P
P2P
The
Thenetwork
networkhas
hasaacentral
central
index
indexthat
thatall
allpeers
peerscontact
contact
(like
(likeDNS
DNS//directory
directoryservice)
service)
Advantages:
Advantages: Minimize
Minimize
network
networktraffic,
traffic,search
searchwhole
whole Query
network
networkquickly
quickly Response
Disadvantages:
Disadvantages: Central
Centralpoint
point Request
of
offailure,
failure,scalability,
scalability,not
notaa
“true”
“true”P2P
P2P
Peer-to-peer computing
Peer-to-peer
Peer-to-peer……
Structured
Structured Decentralized
Decentralized
P2P
P2P
No
Nocentral
centralpoint
point
Nodes
Nodesorganize
organizethemselves
themselves
in
inrelation
relationto
todata
data
Advantages:
Advantages:true
truep2p,
p2p,
expected
expectedsearch
searchtimes
times
Disadvantages:
Disadvantages: Extra
Extra
overhead
overheadforforstructure
structure
Peer-to-peer computing
Peer-to-peer
Peer-to-peer……
Unstructured
Unstructured Decentralized
Decentralized
P2P
P2P
No
No central
central point
point
No
No relation
relationbetween
betweentopology
topology
and
anddata
data
Advantages:
Advantages: true
true p2p,
p2p, low
low
cost
costto
tocreate
create
Disadvantages:
Disadvantages: lack
lack ofof overall
overall
data
data knowledge,
knowledge,efficiency
efficiency
Cluster Computing
• A Cluster computer is a group of linked computers, working together
closely so that in many respects they form a single computer. The
components of a cluster are commonly, but not always, connected to each
other through fast local area networks.
• Clusters are usually deployed to improve performance and/or availability
over that provided by a single computer with much more cost-effectiveness
• Cluster consists of:
Nodes (master + computing),
Network,
OS, and
Cluster middleware: Suitable concepts and mechanisms can be
used to develop and execute clustering programs in distributed
systems. It enables the components to coordinate their activities.
Cluster Computing
• A type of distributed system
• A collection of workstations of PCs that are interconnected by a high-
speed network
• Work as an integrated collection of resources
• Have a single system image spanning all its nodes
Cluster Computer Architecture
Cluster Computing
There are so many components of the cluster computing as follows:
• High Performance Computers like PCs, Workstations etc.
• Micro- kernel based operating systems.
• High speed networks or switches like Gigabit Ethernets.
• NICs (Network Interface Cards)
• Fast Communication Protocols and Services
• Cluster Middleware which is hardware, Operating system kernels, applications
and subsystems.
• Parallel Programming Environment Tools like compilers, parallel virtual machines
etc.
• Sequential and Parallel applications
Cluster Middleware handles:
Resource management and scheduling
Fault handling
Migration
Load balancing
Grid Computing
• Grid computing is an Utility computing that enable coordinated resource
sharing and problem solving in dynamic, multi-institutional virtual
organizations.
• As an electric-utility power grid, a computing grid offers an infrastructure
that couples computers, software/middleware, special instruments, and
people & sensors together. Grid is often constructed across LAN, WAN,
or Internet backbone networks at regional, national, or global scales.
• Enterprises or organizations present grids as integrated computing
resources.
• The computers used in a grid are primarily workstations, servers,
clusters, and supercomputers.
• Personal computers, laptops and PDAs can be used as access devices
to a grid system.
Grid Computing
• Use grid and cloud infrastructures, in a variety of combinations along with traditional
supercomputers all connected via fast networks.
• Uses many-core technologies such as GPUs, as well as supercomputers on chip
• Thus provide high performance computing by using multiple diverse platforms and systems
simultaneously, giving rise to the term "computing jungle".
• Ibis high-performance distributed programming system is an example of the jungle computing.
Mainframe Computer
• Mainframe computers are data processing systems employed in mainly
in large organizations for various applications
• Mainframes are designed to handle very high volume input and output
(I/O) and emphasize throughput computing.
• A data processing system employed in large organizations for various
applications, like bulk data processing, process control, industry &
Consumer statistics, and financial and financial transaction processing.
• Mainframes use proprietary operating systems, most of which are
based on Unix, and a growing number on Linux.
• Over the years they have evolved from being room-sized to networked
configurations of workstations and servers that are an extremely
competitive and cost effective platforms for e-
commerce development and hosting.
• Mainframes are so called because the earliest ones were housed in
large metal frames.
Mainframe Computer
Mainframe Characteristics
Centralized control of resources
Clustering technologies
Why mainframes?
• Large-scale transaction processing
Thousands of transactions per second
• Support thousands of users and application programs
• Simultaneously accessing
• Terabytes of information in databases
• Large-bandwidth communications
End of Chapter - 5