Introduction To Grid Computing
Introduction To Grid Computing
Overview
Background: What is the Grid? Related technologies Grid applications Communities Grid Tools Case Studies
What is a Grid?
Many definitions exist in the literature Early defs: Foster and Kesselman, 1998
A computational grid is a hardware and software infrastructure that provides dependable, consistent, pervasive, and inexpensive access to high-end computational facilities
Kleinrock 1969:
We will probably see the spread of computer utilities, which, like present electric and telephone utilities, will service individual homes and offices 3 across the country.
Grid Architecture
Cluster computing
Idea: put some PCs together and get them to communicate Cheaper to build than a mainframe supercomputer Different sizes of clusters Scalable can grow a cluster by adding more PCs
8
Cluster Architecture
Peer-to-Peer computing
Connect to other computers Can access files from any computer on the network Allows data sharing without going through central server Decentralized approach also useful for Grid
10
11
Internet computing
Idea: many idle PCs on the Internet Can perform other computations while not being used Cycle scavenging rely on getting free time on other peoples computers Example: SETI@home What are advantages/disadvantages of cycle scavenging?
12
13
Distributed Supercomputing
Idea: aggregate computational resources to tackle problems that cannot be solved by a single system Examples: climate modeling, computational chemistry Challenges include:
Scheduling scarce and expensive resources Scalability of protocols and algorithms Maintaining high levels of performance across heterogeneous systems
14
High-throughput computing
Schedule large numbers of independent tasks Goal: exploit unused CPU cycles (e.g., from idle workstations) Unlike distributed computing, tasks loosely coupled Examples: parameter studies, cryptographic problems
15
On-demand computing
Use Grid capabilities to meet short-term requirements for resources that cannot conveniently be located locally Unlike distributed computing, driven by cost-performance concerns rather than absolute performance Dispatch expensive or specialized computations to remote servers
16
Data-intensive computing
Synthesize data in geographically distributed repositories Synthesis may be computationally and communication intensive Examples:
High energy physics generate terabytes of distributed data, need complex queries to detect interesting events Distributed analysis of Sloan Digital Sky Survey data
17
Collaborative computing
Enable shared use of data archives and simulations Examples:
Collaborative exploration of large geophysical data sets
Challenges:
Real-time demands of interactive applications Rich variety of interactions
18
Grid Communities
Who will use Grids? Broad view
Benefits of sharing outweigh costs Universal, like a power Grid
Narrow view
Cost of sharing across institutional boundaries is too high Resources only shared when incentive to do so Grid will be specialized to support specific communities with specific goals 19
Government
Small number of users Couple small numbers of high-end resources Goals:
Provide strategic computing reserve for crisis management Support collaborative investigations of scientific and engineering problems
21
22
Public Grid
Need applications that can exploit loosely coupled resources Need contributors of resources
23
Grid Users
Many levels of users
Grid developers Tool developers Application developers End users System administrators
24
25
26
27
Data replication
Replica Location Service (RLS) Data Replication Service (DRS)
28
GridFTP
High performance, secure, reliable data transfer protocol Optimized for wide area networks Superset of Internet FTP protocol Features:
Multiple data channels for parallel transfers Partial file transfers Third party transfers Reusable data channels Command pipelining
29
Striping Architecture
Use Striped servers
31
Limitations of GridFTP
Not a web service protocol (does not employ SOAP, WSDL, etc.) Requires client to maintain open socket connection throughout transfer
Inconvenient for long transfers
32
GridFTP
33
34
RFT
35
37
Condor
Original goal: high-throughput computing Harvest wasted CPU power from other machines Can also be used on a dedicated cluster Condor-G Condor interface to Globus resources
39
Condor
Provides many features of batch systems:
job queueing scheduling policy priority scheme resource monitoring resource management
Users submit their serial or parallel jobs Condor places them into a queue Scheduling and monitoring Informs the user upon completion
40
Nimrod-G
Tool to manage execution of parametric studies across distributed computers Manages experiment
Distributing files to remote systems Performing the remote computation Gathering results
Nimrod-G Architecture
42
43
ESG Infrastructure
Archival storage systems and disk storage systems at several sites Storage resource managers and GridFTP servers to provide access to storage systems Metadata catalog services Replica location services Web portal user interface
45
46
47
LIGO
50
LIGO Solution
Lightweight data replicator (LDR) Uses parallel data streams, tunable TCP windows, and tunable write/read buffers Tracks where copies of specific files can be found Stores descriptive information (metadata) in a database
Can select files based on description rather than filename
51
TeraGrid
NSF high-performance computing facility Nine distributed sites, each with different capability , e.g., computation power, archiving facilities, visualization software Applications may require more than one site Data sizes on the order of gigabytes or terabytes
52
TeraGrid
53
TeraGrid
Solution: Use GridFTP and RFT with front end command line tool (tgcp) Benefits of system:
Simple user interface High performance data transfer capability Ability to recover from both client and server software failures Extensible configuration
54
TGCP Details
Idea: hide low level GridFTP commands from users Copy file smallfile.dat in a working directory to another system:
tgcp smallfile.dat tg-login.sdsc.teragrid.org:/users/ux454332
GridFTP command:
globus-url-copy -p 8 -tcp-bs 1198372 \ gsiftp://tg-gridftprr.uc.teragrid.org:2811/home/navarro/smallfile.dat \ gsiftp://tg-login.sdsc.teragrid.org:2811/users/ux454332/smallfile.dat
55
The reality
We have spent a lot of time talking about The Grid There is the Web and the Internet Is there a single Grid?
56
The reality
Many types of Grids exist Private vs. public Regional vs. Global All-purpose vs. particular scientific problem
57