PC Review


Reply
Thread Tools Rate Thread

Can a Folder Have Too Many Files?

 
 
jim evans
Guest
Posts: n/a
 
      8th Dec 2006
I have a folder with about 6000 picture files in it. Recently it has
begun taking a V E R Y long time to open. Is there a tipping point
where you reach too many files in one folder?

jim
 
Reply With Quote
 
 
 
 
Enkidu
Guest
Posts: n/a
 
      8th Dec 2006
jim evans wrote:
>
> I have a folder with about 6000 picture files in it. Recently it has
> begun taking a V E R Y long time to open. Is there a tipping point
> where you reach too many files in one folder?
>

Every file you put in a folder means that the directory (which is a
special type of file itself) gets bigger and bigger. This has to be read
to, for example do a listing of the directory, and of course this takes
time. It is not a simple relationship - two times as many files means
that it will take *more than* twice as long to read, but it is difficult
to judge exactly how much longer. The memory in a machine might be a
factor, as will the speed of the disk. Think of it as a curve with an
ever increasing slope. For large number of files, the access times might
be very, very long.

There may be a tipping point, as perhaps when the size of the directory
approaches a significant proportion of the size of your memory, in which
case the in-memory copy of the directory will start to be paged, but the
major cause of slowdown would, in my guess, be the speed of the disk,
and possibly, any fragmentation of the directory on disk.

Cheers,

Cliff

--

Have you ever noticed that if something is advertised as 'amusing' or
'hilarious', it usually isn't?
 
Reply With Quote
 
Ron Martell
Guest
Posts: n/a
 
      8th Dec 2006
jim evans <(E-Mail Removed)> wrote:

>I have a folder with about 6000 picture files in it. Recently it has
>begun taking a V E R Y long time to open. Is there a tipping point
>where you reach too many files in one folder?
>
>jim


There is an upper limit of 65,534 directory entries per folder. Files
with long file names (more that 8 characters plus 3 for the extension)
use multiple directory entries so often the practical limit is
somewhere in the 15 to 20,000 file range. But with very long file
names the limit could be reached sooner. There is no practical way
to quickly determine how many directory entries are actually being
used in a folder.

Do you have the thumbnail view in effect for this folder? That is
very convenient for photos, but it does add a great deal to the time
it takes to open the folder.

Personally, with 6,000 files I would be looking to set up a system of
subfolders so as to make it easier to find a specific file or files,
but your needs may be different.

Good luck

Ron Martell Duncan B.C. Canada
--
Microsoft MVP (1997 - 2006)
On-Line Help Computer Service
http://onlinehelp.bc.ca
Syberfix Remote Computer Repair

"Anyone who thinks that they are too small to make a difference
has never been in bed with a mosquito."
 
Reply With Quote
 
=?Utf-8?B?SWFu?=
Guest
Posts: n/a
 
      8th Dec 2006
On one site the main document-share is only 5GB in size, but contains over
112,000 files. The server was upgraded recently to deal with an issue of slow
folder-listings. I experimented with XP's indexing service to see if this
could improve matters, but surprisingly it didn't seem to do much good, and
wasted processor-time. The lowdown seems to be that there is no substiute for
plenty of server memory and good fast disks.



 
Reply With Quote
 
jim evans
Guest
Posts: n/a
 
      13th Dec 2006
Thanks for the replies.

jim
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying CD files to folder, then copy folder to another hard drive, explorer hangs zoner@cox.nospam.net Windows Vista File Management 1 31st Mar 2007 06:07 PM
how can I specific a folder with wildcard criteria and excel will import all the correct files in that folder? Raven Microsoft Excel Misc 1 24th Jan 2006 03:28 PM
how can I specific a folder with wildcard criteria and excel will import all the correct files in that folder? Raven Microsoft Excel Discussion 1 24th Jan 2006 02:58 PM
how can I specific a folder with wildcard criteria and excel will import all the correct files in that folder? Raven Microsoft Excel Programming 1 24th Jan 2006 04:23 AM
how many files/folder on disk root/in a folder for a shared folder ? pierre.bru@gmail.com Microsoft Windows 2000 File System 0 28th Dec 2005 03:53 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:18 PM.