[dokuwiki] Re: use dokuwiki as an intranet website

> 
> With 100,000 pages, I reckon there would be in excess of 12k files per 
> cache directory.  Do modern file systems handle that many files in one 
> directory without performance penalties or is there a need to configure 
> DW to use the first "n" characters of the cache name to create a 
> directory tree for the cache files?
> 

I would suggest using -O dir_index feature if using ext3, since one is 
looking for a specific file (right?).  Also important is switching off 
access time updates via the noatime mount option. 

From a mail point of view we split directories to reduce number of files, 
but that is a very different usage case than a cache -- it is very write 
intensive and running the queue entails reading each file to sort it in 
some order.  The benchmarks we ran then for the ext3 filesystem handled 
100k files okay, but that was mostly creations/deletes.
Squid I see uses multiple levels of directories, but it is also a 
venerable program with a long history and I don't think this is really 
required anymore. 

That said I would prefer less files in a directory, it is just feels 
tidier and more managable ;-)



Disclaimer
Sanlam Life Insurance Limited Reg no 1998/021121/06 - Licensed Financial 
Services Provider
Disclaimer and Directors
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: