Docsity

Notes on Introduction to Grid Computing | CS 696, Study notes of Computer Science

Partial preview of the text

Download Notes on Introduction to Grid Computing | CS 696 and more Study notes Computer Science in PDF only on Docsity!

CS 696

Introduction to Grid Computing:

Lecture #17: Data Mangement on

the TeraGrid

Mary Thomas

San Diego State

Thuesday, 17-Apr-

Comment  These slides are mostly adapted and updated from an SC04 tutorial.

TeraGrid File Placement  No common cross-site filesystems (currently)  User controls where their data resides  Appropriate sites(s)  Appropriate storage  Online Filesystem(s)  Speed, visibility, quotas, backup policy  Each filesystem directly accessible from single site  Mass Storage Systems  Long-term storage, slower access  Accessible from all sites

TeraGrid File Movement  File movement responsibility of user  Between Online Filesystems  Intra-site  Cross-site*  Between Mass Storage and Online Filesystems  Intra-site*  Cross-site*

  • Session focuses on these types of transfers

Data Transfer Performance  What impacts transfer rates?  Disk speed  Connectivity of disk to node  Node characteristics & load  Connectivity of node to WAN  For all networks  Bandwidth  Latency  Buffer Size  Protocol  Load  Encryption …  Don’t expect 40 Gb/sec! node WAN (TG Backbone) 40 Gb/s switch node 30 Gb/s 1 Gb/s switch 30 Gb/s node

Performance – Choices Matter  Transfer large files for best performance  Use fast filesystems, dedicated transfer nodes, optimized transfer parameters  Transfer 1 GByte file from NCSA to SDSC (10/6/2004) Choices Transfer Time Transfer Rate 93.091 MBytes/sec (.727 Gbits/sec) 11 sec Parallel filesystems Transfer nodes Optimized parameters .845 MBytes/sec (.0066 Gbits/sec) 20 min 18 sec Home filesystems Login nodes Default parameters

GridFTP Tools

GridFTP Terminology - Protocol  “GridFTP is a high-performance, secure, reliable data transfer protocol optimized for high- bandwidth, wide-area networks. GridFTP is based on FTP, the highly popular Internet file transfer protocol.”

  • Quoted from Globus Alliance website

Terminology - Client  GridFTP client programs issue requests that adhere to the GridFTP protocol  Users run GridFTP client programs to transfer files  globus-url-copy and uberftp are two GridFTP client programs that are part of the Common TeraGrid Software Stack (CTSS)  There is no client program named gridFTP , which can be confusing because users are told “use gridFTP to transfer your files”

Terminology – 3 rd Party Transfer  A GridFTP transfer between two GridFTP servers, rather than between a server and a client, is called a third-party transfer  A third-party transfer occurs when the GridFTP client initiating the transfer is run on a system that is neither the source nor the destination of the transfer operation  Allows use of dedicated transfer nodes User runs GridFTP client to request data transfer; HOST A Source of Data GridFTP Server Process Host B Data Requests in GridFTP protocol Destination of Data GridFTP Server Process Host C

TG GridFTP Client Deployment globus-url-copy <source_url> <destination_url>  command line interface  -tcp-bs | -tcp-buffer-size  specify the size (in bytes) of the buffer to be used by the underlying ftp data channels  -p | -parallel  specify the number of streams to be used in the ftp transfer uberftp  interactive GridFTP transfer client  configurable tcp buffersize and number of parallel streams

Using globus-url-copy tg-login3 thomasm/data.tests> globus-url-copy file:pwd/python.tar.gz gsiftp://gridftp- co.ncsa.teragrid.org:2811:python_trans.tar.gz tg-login3 thomasm/data.tests> ls total 10860 drwxr-x--- 2 thomasm mpk 26 2007-04-17 19:. drwx--x--x 10 thomasm ac 4096 2007-04-17 19: .. -rw-r--r-- 1 thomasm mpk 11108613 2007-04-17 19:14 python.tar.gz globus-url-copy file:pwd/python.tar.gz gsiftp://tg- gridftp.sdsc.teragrid.org:2811:python_trans.tar.gz tg-login3 thomasm/data.tests> globus-url-copy file:pwd/python.tar.gz gsiftp://tg- gridftp.sdsc.teragrid.org:2811/~/python_trans.tar.gz tg-login3 thomasm/data.tests> gsissh tg-login.sdsc.teragrid.org "/bin/ls" python_trans.tar.gz …

Hands-on: Exercise 3 Copy a 1 MByte file from your home directory at SDSC to your home directory at ANL/UC. Use a third-party transfer. Use optimized transfer parameters. Look at the transfer script: tg-login1> cat ./ex /usr/bin/time -f %E globus-url-copy – tcp-bs 8388608 gsiftp://tg-gridftp.sdsc.teragrid.org/~/OneMBfile-Ex gsiftp://tg-gridftp.uc.teragrid.org/~/OneMBfile-Ex Run the transfer script: tg-login1> ./ex 0:02.

Hands-on: Exercise 4 Copy a 1 MByte file from the current directory at NCSA to Mass Storage at NCSA. Use optimized transfer parameters. Look at the transfer script: tg-login1> cat ./ex /usr/bin/time -f %E globus-url-copy – tcp-bs 8388608 file:/pwd/OneMBfile gsiftp://mss.ncsa.teragrid.org/~/OneMBfile-Ex Run the transfer script: tg-login1> ./ex 0:00.