High-Performance and Cloud Computing
(23AID304)
Dr. K Dinesh Kumar
Assistant Professor (Sr. Gd.)
School of Computing
Amrita Vishwa Vidyapeetham
Unit I
IntroductiontobasicarchitectureandOSconcepts–architectureof
parallelcomputing–sharedanddistributionmemoryinparallel
computing–parallelalgorithm–performancemetricesofparallel
algorithm.
Distributed Computing…
•Composed of multiple independent components and are perceived as a single entity by users
•The primary purpose of distributed systems is to share resources and utilize them better.
•The goal of distributed computing is to distribute a single task among multiple computers and to
solve it quickly by maintaining coordination between them
Distributed Computing
Distributed Computing System -Examples
1.World Wide Web
2.Social Media Giant Facebook
3.Hadoop's Distributed File System (HDFS)
4.ATM
5.Cloud Network Systems(Specialized form of Distributed Computing
Systems)
6.Google Bots, Google Web Server, Indexing Server
7.Netflix, Amazon Prime….
How does HPC work?
•Massivelyparallelcomputing:Parallelcomputingrunsmultipletasks
simultaneouslyonnumerouscomputerserversorprocessors.
•HPCclusters:AnHPCclustercomprisesmultiplehigh-speedcomputer
serversnetworkedwithacentralizedschedulerthatmanagestheparallel
computingworkload.
•High-performancecomponents:Alltheothercomputingresourcesinan
HPCcluster—suchasnetworking,memory,storageandfilesystems—arehigh
speedandhighthroughput.
•Messagepassinginterface(MPI):HPCworkloadsrelyonamessagepassing
interface(MPI),astandardlibraryandprotocolforparallelcomputer
programmingthatallowsuserstocommunicatebetweennodesinaclusteror
acrossanetwork.
16
Benefits of HPC in the Cloud
HPC in the cloud allows organizations to apply many compute assets to solve
complex problems and provides the following benefits:
•Quickly configure and deploy intensive workloads.
•Reduce time to results through scaling with on-demand capacity.
•Gain cost-efficiency by harnessing technology to meet your needs and pay
only for the compute power you use.
•Use cloud provider management tools and support to architect your specific
HPC workloads.
17
Operating System Structures and Services
•SystemComponents:OSsarecomplexsoftwarepackagesconsistingofmany
separatebutinterrelatedcomponents.Thesecomponentsindividuallyorin
combinationachievethefunctionsanddelivertheservicesrequiredbythe
usersdirectlyorforsystemmanagementandcontrol.
•ProcessManagement:Userandsystemprogramsthatareexecutingaremade
upofinstancescalled“processes”,whichareinstantiationsofprogram
procedures(codetext).
•MemorymanagementandFilemanagement
•I/OSystemManagement
•SecondaryStorageManagement
22
Process Management
•Aprocessisaprogramorsubprograminexecution.Itisaunitofworkwithinthe
systemthatisperformedtocompletion.
OSprocessmanagementtasksare:
•ProcessStates:ready,running,wait,terminated.
•Process Control Block: Each process being managed by an OS is represented by a
dedicated data structure referred to as a “process control block” (PCB).
•Process Management Activities
•Scheduling
23
Serial Computing Approach
•A problem is broken into a discrete series of instructions
•Instructions are executed sequentially one after another
•Executed on a single processor
•Only one instruction may execute at any moment in time
•Drawback: Huge waste of hardware resources as only one part of the hardware will be
running for particular instruction and of time. 28