iakobski has asked for the wisdom of the Perl Monks concerning the following question:
This program was running regularly and happily, then one day we need to run it on a load of remote drives. I mapped the drives and set off the program, it took three and a half hours to run.
A bit of testing showed that it was running at a rate of at least 1000 files a second when traversing the local drive, but this dropped to a blistering 0.5 files per second across a good connection and 0.11 files per second for a drive in the far east.
So what is going on here? I know it is slow to connect to a shared drive, but surely all it is doing is opening the directory and reading the file names? Are there any options in File::Find or any mods I can do to speed this up, or am I going to have to write my own directory traversing code instead?
-- iakobski
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: File::Find on Win32 with mapped drives
by Dog and Pony (Priest) on Feb 13, 2002 at 16:11 UTC | |
|
Re: File::Find on Win32 with mapped drives
by rinceWind (Monsignor) on Feb 13, 2002 at 15:06 UTC | |
|
Re: File::Find on Win32 with mapped drives
by em (Scribe) on Feb 13, 2002 at 21:06 UTC |