Forgot your password?
typodupeerror
User Journal

Journal rvJJax's Journal: is ext3 slow 2

or, rm ?

disk,

        root@bubu $ mount /dev/sda1 on / type ext3 (rw,noatime,nodiratime,acl,user_xattr,data=writeback)

kernel,

        root@bubu $ cat /sys/block/sda/queue/scheduler
        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 (?)

This discussion has been archived. No new comments can be posted.

is ext3 slow

Comments Filter:
  • 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.

Even bytes get lonely for a little bit.

Working...