Journal rvJJax's Journal: is ext3 slow 2
or, rm ?
disk,
root@bubu $ mount
kernel,
root@bubu $ cat
noop anticipatory [deadline] cfq
directory to remove,
root@bubu $ ls -l 0A/ | wc -l
25601
those 25061 nodes is only an empty directory, it was a squid empty cache.
time's to remove all nodes in directory,
root@bubu $ time rm -rf 0A/
real 5m12.053s
user 0m0.155s
sys 0m8.857s
NOTE TO MYSELF: never use ext3 for database, proxy, or any disk related machine.
TODO: try another file system (?)
Horses for courses (Score:1)
Look up a filesystem comparison on google.
In some operational settings any filesystem can give bad performance, just like using quick sort with a fully order list will really bog it down.
For example I have the freedb cd list downloaded byt I keep it on separate partition - part of a grand plan that has come to nothing so far - which is formatted as ReiserFS - as it deals well with lots of small files better than ext3 or so I read at the time.