![]()
[<<]Message[>>] [<<]Author[>>] [<<]Subject[>>] [<<]Thread[>>]
Number : 2495 Date : 2002-07-19 Author : Garry Deane Subject : Re: Copy new, delete present/absent Size(KB) : 2
Mel, I'd suspect the connection speed of your remote server to be the problem. Since this server is remote and is in production, I'd expect that data requests to that server would be slower than the same data request to the local machine. Since the data on the local and remote machines are (nearly) identical, you could test the data connection/transfer speed by timing the execution of a 'dir /s \\ccosnetl\litho\' command and repeat with 'dir /s e:\litho\'. You might also try a comparison with a command like 'for /r \\ccosnetl\litho %a in (*) do @dir "%a"' which by virtue of being multiple commands, might negate the optimisation and caching of a single DIR command. If you see any significant increase in time for the remote machine, that is the probable source of the extra time taken for the 'xxcopy /bu/bb/rsy' command. All you need do is consider the steps required for your 'remove extra files from local' command. Xxcopy will walk the local directory tree and for each file, search the remote drive to see if it exists there. For each of the 50,000 files on the local drive, there would be an average of about 10 FindNextFile() requests to the remote server (50,000 local transactions & 500,000 network transactions). Whilst the same applies in reverse with the 'xxcopy /bu/bn' command, all those FindNextFile() requests are local (50,000 network transactions & 500,000 local transactions). Have you tried using 'xxcopy \\ccosnetl\litho\ e:\litho\ /bu/bn/k/v2/z' to remove extra files in the destination instead of the separate xxcopy command? I don't know whether this is functionally any different than the 2 separate commands but it's worth a look. Garry --- In xxcopy@y..., "mel_evans" wrote: > More, information only: > > xxcopy \\ccosnetl\litho\ e:\litho\ /bu/bn/k/v2 > Directories processed = 2,323 > Total data in bytes = 177,087,417 > Elapsed time in sec. = 199 > Action speed (MB/min) = 53.39 > Files examined = 49,983 > Files copied = 404 > Directories created = 34 > Exit code = 0 (No error, Successful operation) > > xxcopy e:\litho\ \\ccosnetl\litho\ /bu/bb/rsy/pd0/q1/on/$yymmdd$/ > $time$.txt/of3 > Directories processed = 2,259 > Total data in bytes = 1,351,819 > Elapsed time in sec. = 1611 > Action speed (MB/min) = 0.05033 > Files deleted = 2 > Log File Created = c:\bat\0207181247.txt > Exit code = 0 (No error, Successful operation)
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.