| User Support & Documentation | ||
Data: Transfer ExamplesOn this page
Need Help?The sample code below focuses on maximizing performance for data transfers by:
Download the Supercomputing 2004 Tutorial (MS PowerPoint) for more examples of file transfers. Using tgcp to transfer filesThe following examples show four methods of using tgcp to transfer files. Transfer of files larger than 100 MB using the "-big" optionThe following example describes a transfer of the file "bigfile" from the local site to the site specified in the command (in this case, SDSC). The option "-big" designates a striped transfer and should always be used to transfer files larger than 100 MB. tgcp -big FILENAME tg-login.sdsc.teragrid.org:/users/USERNAME/FILENAME.dest Using Globus RFT (Reliable File Transfer)RFT is a service that performs third party transfers on behalf of the requester. The benefits to using RFT are performing third party gridFTP transfers for the user on a separate server, transfering entire directories, performing multiple transfers in parallel, and automatically retrying individual transfers if they fail. This last feature ensures that the TGCP operation completes regardless of whether the user waits for it to complete or not. tgcp -rft FILENAME /disks/scratchgpfs1/USERNAME/FILENAME.onscratch Transfer of a small fileThe following example describes a transfer of the file "smallfile" from the local site to the site specified in the command (in this case, SDSC): tgcp FILENAME tg-login.sdsc.teragrid.org:/users/USERNAME/FILENAME.dest When transferring large files the '-big' option should be used as a hint that tgcp should use high-performance file transfer methods. Since high-performance file transfer methods may have a higher startup cost, this option should not be used for small transfers. Local home to local scratch transferThe following example describes a transfer of the file "bigfile" from the local site to local scratch. The option "-stripe" designates a striped transfer: tgcp -stripe FILENAME /disks/scratchgpfs1/USERNAME/FILENAME.onscratch The current method for improving performance when '-big' is specified is using striped gridFTP, which is equivalent to the '-striped' option in globus-url-copy. tgcp supports the '-stripe' option for users who are familiar with globus-url-copy. Using globus-url-copy to transfer files
General Performance Recommendations
Using uberftp to transfer files
1. Start uberftp and set transfer parameters:
tg-login1> uberftp 2. Open connection to Mass Storage System: uberftp> open mss.ncsa.teragrid.org 3. Establish "local" connection to UC: uberftp> lopen tg-gridftp.uc.teragrid.org 4. Get multiple files from MSS to the “local” (UC) site: uberftp> mget OneMBfile*
UberFTP documentation (NCSA) |
||
![]() |
![]() |
|
The TeraGrid project is funded by the National Science Foundation
and includes 11 partners: Please email help@teragrid.org with questions or comments. This site is XHTML 1.0 Transitional, CSS compliant. |
||
![]() |
![]() |