Alain Spineux wrote:
Some hint :
- use a partition dedicated for that, that you can format every time
you need to reset it.
- try other filesystem. Some filesystem are faster for delete operations.
- try to change the journaling during the delete operations. If you
use ext3, I'm thinking about something like:
If you are going to change the way you store the files, just break them up into subdirectories that each only hold a few thousand files. That makes the lookups and other operations much faster.