CodeIgniter Forums

Full Version: improving cache performance
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]gungbao[/eluser]
I need some experts hint:

- take a linux server with extFS (debian etch)
- imagine a really huge cache directory with hundredthousands of md5-hashed cache files

will the average php-file_find be accelerated
when reorganising the cache-dir structure with subdirs e.g. the first 2 chars ode the md5-hash?

cache/aa
cache/ab
cache/ac

... thus there would me minimum php-overhead to find the corresponding subdir and the size of the set of cache files could be dramatically reduced.

But is this necessary on modern file-systems?

Could anyone pls. let me know? I would appreciate so I would save efforts for eventually needless tests.
Greetings to all ignited people Wink
Chris