Gsiftp测试

测试环境:






测试过程准备
1)把ce节点作为接收端,se作为客户端
2)由于se没有个人证书,故做了如下操作:

[zhxue@se .globus]$ openssl pkcs12 -in 110725Zhenghua.p12  -clcerts -nokeys -out $HOME/.globuusercert.pem
Enter Import Password:
MAC verified OK
(reverse-i-search)`': 
[zhxue@se .globus]$ openssl pkcs12 -in 110725Zhenghua.p12 -nocerts -out $HOME/.globus/userkeyem
Enter Import Password:
MAC verified OK
Enter PEM pass phrase:
Verifying - Enter PEM pass phrase:
[zhxue@se .globus]$ chmod go-rw user*      //非常重要



globus-usrl-copy命令参数选择:

How do I choose a value for the TCP buffer size (-tcp-bs) option?

The value you should pick for the TCP buffer size (-tcp-bs) depends on how fast you want to go (your bandwidth) and how far you are moving the data (as measured by the Round Trip Time (RTT) or the time it takes a packet to get to the destination and back).

To calculate the value for -tcp-bs, use the following formula (this assumes that Mega means 1000^2 rather than 1024^2, which is typical for bandwidth):

-tcp-bs = bandwidth in Megabits per second (Mbs) * RTT in milliseconds (ms) * 1000 / 8

As an example, if you are using fast ethernet (100 Mbs) and the RTT was 50 ms it would be:

-tcp-bs = 100 * 50 * 1000 / 8 = 625,000 bytes.

So, how do you come up with values for bandwidth and RTT? To determine RTT, use either ping or traceroute. They both list RTT values.


How do I choose a value for the parallelism (-p) option?

For most instances, using 4 streams is a very good rule of thumb. Unfortunately, there is not a good formula for picking an exact answer. The shape of the graph shown here is very characteristic.



You get a strong increase in bandwidth, then a sharp knee, after which additional streams have very little impact. Where this knee is depends on many things, but it is generally between 2 and 10 streams. Higher bandwidth, longer round trip times, and more congestion in the network (which you usually can only guess at based on how applications are behaving) will move the knee higher (more streams needed).

In practice, between 4 and 8 streams are usually sufficient. If things look really bad, try 16 and see how much difference that makes over 8. However, anything above 16, other than for academic interest, is basically wasting resources.




测试结果

[zhxue@se root]$ globus-url-copy -vb  file:///home/zhxue/1g gsiftp://osg.cnic.cn/tmp/
Source: file:///home/zhxue/
Dest:   gsiftp://osg.cnic.cn/tmp/
  1g
   1007681536 bytes        86.27 MB/sec avg        40.91 MB/sec inst


你可能感兴趣的:(Grid)