I process millions of fragments that will appear as overlays on Google Maps. Files are created by GMapCreator from the Center for Advanced Spatial Analysis at University College London. The application displays files in one folder at a time, in some cases I need to create about 4.2 million fragments. I run it on Windows XP using the NTFS file system, the disk is 500 GB and formatted using the default operating system options.
I find that rendering the fragments becomes slower and slower as the number of fragments displayed increases. I also saw that if I try to look at folders in Windows Explorer or using the command line, the whole machine will be effectively locked for several minutes before it recovers enough to do something again.
I split the input shapefiles into smaller parts, working on different machines, etc., but the problem still causes me significant pain. I wondered if the cluster size on my disk could prevent this issue or should I use a different file system altogether. Does anyone have any ideas how I can solve this problem?
Thanks,
Barry.
Update:
Thanks everyone for the suggestions. A possible solution was to write a piece of code that controlled the GMapCreator output folder, moving files to a directory hierarchy based on their file names; therefore, a file named abcdefg.gif will be moved to \ a \ b \ c \ d \ e \ f \ g.gif. Doing this at the same time as GMapCreator overcame file system performance issues. The hint about creating DOS 8.3 file names was also very useful - as noted below, I was amazed at the difference. Greetings :-)
source share