Hi Dragan, On 06/30/05 00:00, Dragan Cvetkovic wrote: [cut]
Where is the cp source, btw?
usr/src/cmd/mv - cp and mv have common source.
Another example of slow transfer: copying these 4 isos to our install server (using setup_install_server + add_to_install_server) took the whole day (some 5 to 6 hours!)! How do I start debugging this problem? Hints are more than welcome.
There was a fix around a year ago to cp performance - 5015406. Basically all the fancy mmap and VM advice that our copy was doing had so much VM overhead that a brute-force "read buffer, write buffer" approach was faster! So that should have eliminated the traditional cp performance problems. Before diving into cp/mv source try some copies using dd in both direction - nfs client to server and server to client - using a few block sizes. That could eliminate or confirm cp as a suspect - my guess is it will eliminate it. Are you copying from a client local f/s to server via nfs, from server via nfs to local client f/s, or one nfs mount to another? By way of a baseline, how long does a mkfile 300m take when run on the nfs server in the shared directory? Cheers Gavin _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org