Slashdot Mirror


Linux Filesystems Benchmarked

smatt-man writes "Over at Linux Gazette they ran some tests on popular Linux filesystems (ext2, ext3, jfs, reiserfs, xfs) and the results may surprise you."

18 of 468 comments (clear)

  1. 'Tis a dupe by Quattro+Vezina · · Score: 5, Informative
    --
    I support the Center for Consumer Freedom
  2. Not a clear winner by stecoop · · Score: 5, Interesting
    These charts make the choice of which file system to use clear as mud. What is the charts really saying? From what I gather, it appears that:

    EXT2 has better throughput

    EXT3 has better file handling capablities

    Reiser has better search ablity

    XFS has better delete capablities

    JFS may be a better choice in regards to file manipulation Subject to debate of course...

    1. Re:Not a clear winner by Coryoth · · Score: 5, Informative

      Not quite what I got from it. Ext2 was certainly faster for a lot of operations, but is, of course, not journalled. XFS and JFS were fast, but most importantly, when it came to large files, these two tended to really take the lead. XFS was particularly good at handling large files. Overall Ext3 was disappointingly slow surprisingly often.

      Jedidiah.

    2. Re:Not a clear winner by Anonymous Coward · · Score: 5, Informative
      Ext3 met Dr. Tweedie's engineering goals. The idea was to develop a journaling file system which was seamlessly compatible with Ext2. Ext3 is really an engineering marvel. You can instantly convert it back and forth between Ext2 an Ext3.

      Ext3 provides a safe low-pain entry into the world of journaled file systems. No need to re-partition or reformat. It offers reasonably good performance plus the benefits of journalling.

  3. Slashdot filesystem by Bronster · · Score: 5, Funny

    Maybe slashdot needs a filesystem update to one with more powerful meta-data support like something that can detect when the same URL has been used in more than one post within a certain time. Sheesh.

  4. Since article has been ./ed.... by vwjeff · · Score: 5, Funny

    here is the winner. FAT 16

  5. Re:Your graphs are unreadable by eddy · · Score: 5, Insightful

    >Use gif for images such as this.

    No, use PNG.

    If you're going to do it, do it right. Using GIFs is half-assed.

    --
    Belief is the currency of delusion.
  6. Re:Slightly OT by Malc · · Score: 5, Informative

    Obviously (as you point out) a journallying filesystem is what you need. I went for Ext3 on my Debian servers. I/O throughput wasn't so important. The good thing about Ext3 is its backwards-compatibility with Ext2. If there's a problem and you don't have all the kernel modules or tools then you're still pretty much guarranteed access to the file system by mounting it as Ext2 as support for that system is almost universal under Linux.

  7. ext3 slowness by ReignStorm · · Score: 5, Informative
    from Linux ext3 FAQ
    Q: How can I recover (undelete) deleted files from my ext3 partition?
    Actually, you can't! This is what one of the developers, Andreas Dilger, said about it: In order to ensure that ext3 can safely resume an unlink after a crash, it actually zeros out the block pointers in the inode, whereas ext2 just marks these blocks as unused in the block bitmaps and marks the inode as "deleted" and leaves the block pointers alone. Your only hope is to "grep" for parts of your files that have been deleted and hope for the best.
  8. Re:Dupe by Anonymous Coward · · Score: 5, Funny

    It's slashdot's mob tactics again. Now Taco will call their ISP and ask them "Are you SURE you don't want our protection? Certainly protecting the servers you love is worth some...compensation." If they say no, another posting of this story as soon as the admins "forget" this one.

  9. Re:Slightly OT by Tet · · Score: 5, Informative
    But I thought Ext3 will only journal metadata

    No, in fact ext3 is one of the few that actually will journal data as well as metadata.

    mount -t ext3 -odata=journal /dev/os/usr /usr
    --
    "The invisible and the non-existent look very much alike." -- Delos B. McKown
  10. Re:Your graphs are unreadable by eddy · · Score: 5, Informative

    >Web site accessibility (use image type supported by all major browsers)

    All the "good features" of GIF is supported by PNG in all current browsers. You'd have to go back in time fem years to find a browser that can't display a basic PNG. If you think otherwise, give me a link to one that matters that doesn't, and explain to me why, if it wasn't released/updated this year, using it isn't a security issue.

    Since GIF doesn't support per-pixel-alpha to begin with, you lose nothing by using PNG for everything. After all, with GIF you didn't have the choice at all so there is no issue with simply "converting to PNG".

    Score: PNG

    >Bandwidth conservation

    PNGs are always smaller where it matters (anything more complex than 1x1x1-images). In some not atypical cases a PNG can be 25% smaller than the corresponding GIF.

    Score: PNG

    PS. GIF-via-LZW is still encumbered in many countries.

    More features, better standard, solid software, no licensing issues, smaller output == Winner: PNG

    --
    Belief is the currency of delusion.
  11. ext3 options by kardar · · Score: 5, Informative

    There are options, or settings, that you can do for ext3, the default is slower, but it saves your data. Ext3 not only journals metadata, like XFS, etc... but it also journals data, which is the only filesystem that does that, if I understand this correctly.

    "data=writeback" mode does no data journaling, only metadata journaling, and you would probably see better performance here. Although, you could lose data in the event of a power outage (no fun). Same thing applies to XFS, JFS - you could lose data because only metadata is being journaled, not real data.

    "data=ordered" mode - inbetween, still no data journalling, but there are provisions that make it less likely to lose data in the case of a power problem. It has something to do with the way it journals the metadata and the way the filesystem interacts with the disk that makes is a little slower than data=writeback but also a little more secure than data=writeback if you get a power outage.

    "data=journal" mode - this journals data and metadata, and with the exception of a few situations, is the slowest. The least likely to lose your data, but also much slower.

    I am assuming, or at least it looks like, these tests were run with the default data=journal - so to be fair, they should have been run in data=writeback, or maybe even all three modes. Again, all you have to is specify in /etc/fstab and reboot, no big deal.

    It would probably be better to compare the ext3 in data=writeback mode.

  12. Re:name a "major browser" that won't support PNG by Anonymous Coward · · Score: 5, Funny

    Lynx.

    It doesn't support GIF either though.

  13. I'm rarely surprised... by Gribflex · · Score: 5, Insightful

    Why is it that every benchmarking article contains the words "The results may surprise you?"

    Have any of you ever been surprised?

  14. Re:So why does RedHat/Fedora continue to push EXT3 by flaming-opus · · Score: 5, Interesting

    Well, the simplest answer is that Stephen Tweedie is their filesystem guru, so why not use his baby in their OS. However, that's not the real answer. SCT is a clever guy, and mature enough to not let pride get in the way of the best possible system. (a similar question: Why does sun still use UFS?) For Redhat, EXT3 is probably the best general purpose filesystem, particularly for the root drive. Redhat is interested in selling on servers, where the root filesystem is not the bottleneck. You install the OS onto EXT3, which has decent performance and is very mature. Then you install your database / exported directories / mail spool / whatever onto the filesystem that is best for that job.

    Ext3 is a very close cousin to Ext2, which has been around for a very long time, and changes very slowly. Reiser has grown and changed a LOT in the last three years, including some metadata changes that effect on-disk structures. Though it has stabalized lately, Redhat is correct to be cautious. XFS and JFS, though very mature filesystems on other OSes, have only recently become tightly integrated with the Linux kernel. Though technically controlled by the linux kernel community, all three of these other filesystems are really controlled by little cabals of people within IBM/SGI/ and then Hans Reiser. While these groups try to be transparent in their development process, Ext3 is very transparent in its development and direction.

    One other tremendous advantage that Ext3 inherits from Ext2 is a fast, versatile, and effective fsck program. Journals are great in the event of power failures. However, they do not protect against Windows, or a faulty fibre channel driver, or uninformed sysadmin who accidently writes over the first 1 MB of the disk. Fsck.Ext2 is one of the best around.

  15. Re:Your graphs are unreadable by tuffy · · Score: 5, Informative

    IE is still too stupid to properly do an alpha channeled PNG. But it does do 1-bit, GIF-style transparency and displays generic, non-transparent PNGs just fine. And so the only place left to use GIF for is crummy animations.

    --

    Ita erat quando hic adveni.

  16. They really should have benchmarked V4 not just V3 by hansreiser · · Score: 5, Interesting
    ReiserFS V3 is being obsoleted by V4, which is 2-5x times faster.

    You can see benchmarks of it at www.namesys.com/benchmarks.html