How to Handle 1/2 million files in XP

  • WELCOME TO THE NEW SERVER!

    If you are seeing this you are on our new server WELCOME HOME!

    While the new server is online Scott is still working on the backend including the cachine. But the site is usable while the work is being completes!

    Thank you for your patience and again WELCOME HOME!

    CLICK THE X IN THE TOP RIGHT CORNER OF THE BOX TO DISMISS THIS MESSAGE

tstolze

Pub Member / Supporter
Original poster
Jul 23, 2007
354
0
O'fallon, MO
I have a Windows XP 32 bit system that is dedicated to updating my weather website, archiving my webcam images, creating a daily time lapse from previous images and acting as our home document server. Core 2 Quad with 2 gigs of ram. CPU usage averages 25%....

I have 2 folders on a dedicated drive with over 500,000 files in them each. These are archives of my outdoor webcams, the reason I am keeping so many is to attempt a year long time lapse.

I have tried some "tweaks" found online to help speed things up, but feel like I am missing something, as I usually give up when trying to explore these 2 folders due to very long load times. This system is headless and typically the files are accessed by another system, although it is still a very drawn out process via remote desktop.

Thought I would find some help here at Satguys....I do have enough storage on an Unraid server to transfer and empty the drive if needed.

Thanks!
 
I would use command line tools to further divide them into folders, like monthly or weekly.
 
I would use command line tools to further divide them into folders, like monthly or weekly.

Unfortunately the software I use to automatically make the time lapse only looks into 1 folder for the files, which are named by year, month, day, hour , minute.
 
I understand the software only saves to one directory, but is there a reason you need to keep all the files in One Directory?

If you manually archive the files to sub folders by Week or Month and that would make the base directory much more usable.
 
LostBoyinVA said:
I understand the software only saves to one directory, but is there a reason you need to keep all the files in One Directory?

If you manually archive the files to sub folders by Week or Month and that would make the base directory much more usable.

The software which produces the time lapse only looks at the first layer in the directory. Thinking maybe archive them monthly, produce a time lapse from each month, then combine the video in Adobe.
 
The software which produces the time lapse only looks at the first layer in the directory. Thinking maybe archive them monthly, produce a time lapse from each month, then combine the video in Adobe.


can you change the frequency of file rolling from whatever it currently is to daily? best guess is that you are rolling at 5 minute intervals.



Sent from my MB855 using Tapatalk
 
With Windows your only hope for relief is a smaller number of files per folder. NTFS has issues with such a large number of files and for sure don't try that on FAT.

It could be as simple as changing "YYMMDDHHMM" to "YY\MM\DD\HHMM" to get a workable folder structure. But you probably don't have access to any of the source code or the original developer to suggest/make such a change do you?
 
can you change the frequency of file rolling from whatever it currently is to daily? best guess is that you are rolling at 5 minute intervals.
Sent from my MB855 using Tapatalk
Images are saved each minute, I guess if I changed it to every two minutes it would cut the number of files in half. Things worked decent until recently when the files exceeded 500,000.

With Windows your only hope for relief is a smaller number of files per folder. NTFS has issues with such a large number of files and for sure don't try that on FAT.

It could be as simple as changing "YYMMDDHHMM" to "YY\MM\DD\HHMM" to get a workable folder structure. But you probably don't have access to any of the source code or the original developer to suggest/make such a change do you?

No luck on source code, doesn't look like anything has been done on the programs used to archive images or produce the time lapse in several years.

I was hoping that maybe I could format the drive some other way to make things work like I would like....:(

Appreciate the help so far.
 
I have 2 folders on a dedicated drive with over 500,000 files in them each. These are archives of my outdoor webcams, the reason I am keeping so many is to attempt a year long time lapse.
Did you stop to think how many hours the finished video was going to be??? At 30fps, that works out to 4.63 hours worth of video. I sincerely doubt anyone is going to sit for that.
 
Images are saved each minute, I guess if I changed it to every two minutes it would cut the number of files in half. Things worked decent until recently when the files exceeded 500,000.

You don't need to cut the number of files in half, you need to drop by ask order of magnitude (a factor of 10 or more)

this will make a significant performance difference at the file system level.



Sent from my MB855 using Tapatalk
 
harshness said:
Did you stop to think how many hours the finished video was going to be??? At 30fps, that works out to 4.63 hours worth of video. I sincerely doubt anyone is going to sit for that.

I can specify how many frames each image is used, if I wanted to use all images from the year. I was thinking more about noon each day or maybe each sunset, as the software allows me to specify certain times or sunrise/sunset.
 
John Kotches said:
You don't need to cut the number of files in half, you need to drop by ask order of magnitude (a factor of 10 or more)

this will make a significant performance difference at the file system level.

Sent from my MB855 using Tapatalk

It was bearable until recently when the numbers approached 500,000.

With only 50,000 images it would open very quick.
 

Users Who Are Viewing This Thread (Total: 0, Members: 0, Guests: 0)

Who Read This Thread (Total Members: 1)