[OpenAFS-devel] File copying

Chaskiel M Grundman cg2v+@andrew.cmu.edu
Sun, 7 Jan 2001 19:37:05 -0500 (EST)


Excerpts from internet.computing.openafs.devel: 2-Jan-101
[OpenAFS-devel] File copying by Peter Scott@jpl.nasa.gov 
> toss out there - if any enterprising developers would like to come up with 
> a native file copy command that acts purely server side, it would be so 
> great.

While it isn't what you asked for (since that would require server side
changes), I wrote a client that will copy a file from one afs location
to another, bypassing the cache manager. While the data does have to go
over the wire twice, the performance of this tool seems pretty high
compared with the cache manager. On a client with a 100 meg switched
ethernet connection to the fileservers (through several routers), I am
able to consistently achieve transfer rates of 2.5-3.5 megabytes per
second; that is, a 20 megabyte file copies in approximately 6 seconds,
compared with 40 seconds for the cache manager performing the same
operation. ( a client with 10 mbps ethernet seems to get about 500 Kps.).

At present, this tool only supports afs-to-afs copies, and requires
kerberos 4 libraries (and ticket files). You can get it from
http://www.contrib.andrew.cmu.edu/~cg2v/unreleased/afscp-0.0.tar.gz