Difference between revisions of "LFTP tests"

From Lsdf
m
m
Line 30: Line 30:
 
|}
 
|}
   
= LFTP useful commands:=
+
= LFTP intro =
   
The LFTP Documentation can be found here http://lftp.yar.ru/
+
LFTP Documentation can be found here http://lftp.yar.ru/
   
2.Install lftp using yours distribution package management tool (e.g yum)
+
Install lftp using your distribution package management tool (e.g yum)
  +
 
yum install lftp
 
yum install lftp
 
sudo apt-get install lftp
 
sudo apt-get install lftp
   
3. Log in with your archive account
+
Log in with your archive account
  +
 
lftp -u AAnnnn sftp://archive-sftp.lsdf.kit.edu
 
lftp -u AAnnnn sftp://archive-sftp.lsdf.kit.edu
 
Password:your secret password
 
Password:your secret password
   
4. Upload a local file(lfile) to a remote file(rfile):
+
Upload a local file(lfile) to a remote file(rfile):
   
 
lftp>put lfile -o rfile
 
lftp>put lfile -o rfile
   
5. Upload (mirror reverse -R) a local directory(ldir) to a remote directory(rdir) using nn processes:
+
Upload (mirror reverse -R) a local directory(ldir) to a remote directory(rdir) using nn processes:
   
 
lftp>mirror -c -R -Pnn ldir rdir
 
lftp>mirror -c -R -Pnn ldir rdir
   
6. Download a remote directory using pget(nn streams) for every single file:
+
Download a remote directory using pget(nn streams) for every single file:
  +
 
lftp>mirror -c --use-pget-n=nn rdir ldir
 
lftp>mirror -c --use-pget-n=nn rdir ldir

Revision as of 20:05, 14 August 2016

Tests

TransferMatrix to HPSS FUSE MOUNT
Client OS Direction #of proc/streams #of files lftp(MB/s) sftp(MB/s) scp(MB/s) rsync(MB/s)
LINUX Upload 1 1 76.38 79 77 85
5 5 268
12 15 317
15 15 330
LINUX Download 1 1 68 67 94 95
5 1 213
12 1 176
15 1 301

LFTP intro

LFTP Documentation can be found here http://lftp.yar.ru/

Install lftp using your distribution package management tool (e.g yum)

 yum install lftp
 sudo apt-get install lftp

Log in with your archive account

 lftp -u AAnnnn sftp://archive-sftp.lsdf.kit.edu
 Password:your secret password

Upload a local file(lfile) to a remote file(rfile):

 lftp>put lfile -o rfile

Upload (mirror reverse -R) a local directory(ldir) to a remote directory(rdir) using nn processes:

 lftp>mirror -c -R -Pnn ldir rdir

Download a remote directory using pget(nn streams) for every single file:

 lftp>mirror -c --use-pget-n=nn rdir ldir