Slashdot Mirror


Fedora 11 To Default To the Ext4 File System

ffs writes "The next release of Fedora, 11, will default to the ext4 file system unless serious regressions are seen, as reported by heise online. The LWN story has a few comments extolling the virtues of the file system. Some benchmarks have shown ext4 to be much faster than the current default ext3. Some of the new features that matter for desktop users are a faster file system check, extents support (for efficiently storing large files and reducing fragmentation), multiblock allocation (faster writes), delayed block allocation, journal checksumming (saving against power / hardware failures), and others. The KernelNewbies page has more information on each feature. As is the extfs tradition, mounting a current ext3 filesystem as ext4 will work seamlessly; however, most new features will not be available with the same on-disk format, meaning a fresh format with ext4 or converting the disk layout to ext4 will offer the best experience."

19 of 161 comments (clear)

  1. No by Anonymous Coward · · Score: 5, Informative

    Ext4 is not a SAN or distributed filesystem. GPFS/lustre/GFS remain a good choice for that.

  2. Ext4 small files performance? by Dogun · · Score: 4, Interesting

    I still haven't seen sensible benchmarks for ext4 with respect to how large directories scale, interleaved small file read and create, and small-file write with one fsync() at the very end (the only real world case.)

    At this point, I have to wonder if the emporer has no clothes, or if the people posting benchmarks are just idiots.

    1. Re:Ext4 small files performance? by Dogun · · Score: 4, Insightful

      Because disks are buffered, and fsyncing after every call (or forgetting to do so entirely) is silly.

      I suppose somebody cares about how well they can expect their 124GB file to stream to disk, but for the rest of us mortals, we care about journalling support (check), a toolset (mostly check), and common-case performance, which in the *nix world involves a lot of reading and writing of small files.

      I'd also like to see how these things perform under load, or when multiple benchmarks are running simultaneously.

    2. Re:Ext4 small files performance? by jonaskoelker · · Score: 4, Interesting

      I suppose somebody cares about how well they can expect their 124GB file to stream to disk

      I know for certain that I care about big-file performance in almost only these ways:

      Can I write the file faster than the network sends it to me?

      Can I read the file faster than the application (typically mplayer) needs to consume it?

      When I know I shouldn't sit and wait for a larger task to continue, I really don't care how long it takes as long as I can do interactive stuff with good performance and the disk won't still be rattling when I go to sleep. Five minutes? An hour?

      I'd rather have effort put into usability of disk management tools: four-way on-line resizing (left/right end moving left/right), on-line repacking (defragmentation) and on-disk format conversion, on-line repartitioning [which goes beyond the scope of ext4, of course] and things like that. A versioning file system would be cool, and btrfs snapshots sound like they'd be nice as well .

      But that's the desires for my usage pattern, and I acknowledge that there are others.

  3. Re:Why not ReiserFS? by Anonymous Coward · · Score: 5, Funny
  4. ReiserFS is good... by Anonymous Coward · · Score: 5, Funny

    for when you need to partition your wife.

  5. Re:Why not ReiserFS? by grumbel · · Score: 5, Informative

    ReiserFS isn't actively maintained. In addition to that ext3 and now ext4 have learned quite a few new tricks since ReiserFS first appeared, you can now online resize an ext3 filesystem, it supports hashed b-trees, which should speed up directory handling, it is getting an online defrag tool and a bunch of other goodies. So many of the benefits that ReiserFS originally brought to the table can now be have with ext3 or ext4.

  6. Re:Fresh format vs conversion by radarsat1 · · Score: 4, Interesting

    Good to know. Personally I'll be happy to use ext4 on new disks or when I'm really doing a complete re-install, but I'm in no hurry to "upgrade", seeing as my current ext3 disks are working just fine. I played with different filesystems once until I got some corruption and realized that one of the advantages of ext3 is that it's been around long enough that there are lots of tools to help with recovery and checking. So I'll probably stick with what I know until I have an opportunity to try out ext4, but I'm not going to go and reformat my disks right away.

  7. Re:EXT4 in Clusters? by Forge · · Score: 4, Insightful

    Clustered file systems and local file systems are of necessity different. Most of what makes a clustered FS useful would be pure dead weight on a local FS.

    What I would like to see are clustered FSs which are easier to set up. I.e. You go to the 1st machine and start up the cluster config program and it asks: "Is this the 1st machine in your cluster?" Once you say yes there, you go to the other machines in turn, fire up the same program and say no to that question and enter the IP of the 1st machine.

    Once all those machines are added, the next step is to select. "Add Local disk to cluster pool" and then you select partitions on your local hard drive that should be in the pool. They don't have to all be the same size either.

    Once you have done that for each machine (either by going from one to the next or using the the tool on the primary node to add disks from each one (or a whole group of them if they are already partitioned in the same way).

    Then you just start mounting this virtual disk and dumping files to it.

    The technology exists to do this. The problem is that each time it's done' its a manual process tantamount to a programing job. Who want's to take up the task of tying all the pieces together to make the setup feel this simple for the user.

    Additional functionality (like tuning the FS for Database or Email usage and failover hierarchy) would be added over time and in a way that dose not detract from the simplicity of that basic setup.

    --
    --= Isn't it surprising how badly I spell ?
  8. Thank you Red Hat by eparis · · Score: 5, Interesting

    I'm glad to see Red Hat and Fedora taking the hard steps to push our technology forward. Precious few organizations employ people to work on things like this, instead expecting others to do the hard work to create and integrate disruptive core technologys. I know Red Hat employs people to work full time on ext4 and they have a person working full time on btrfs (which by all early accounts is supposed to be revolutionary and kick the crap out of everything else out there [even the fabled ZFS] (it pains me to say thanks to oracle for btrfs, but one of their employees is the primary driver) Someone has to do the hard work of being a leader, putting in engineering time, and fixing the bugs before the fanboys can consume (and all too often get credit for) new technology. Thank you Fedora for both the freedom and the constant drive to be on the leading edge of technology.

    1. Re:Thank you Red Hat by Abreu · · Score: 4, Funny

      There is a saying in Spanish, which translated says:

      "They are braver than the first men to try oysters!"

      --
      No sig for the moment.
  9. Re:So Ext4 in RH7 ? by eparis · · Score: 5, Informative

    It's already a technology preview in RHEL 5.3.

  10. Re:A few answers by eparis · · Score: 5, Informative

    Yes you are missing something. :) The superblock on all extX say what features they support. So when you mount ext3 as ext4 the mount code can look what features that FS supports and use what new features it has available that won't break it as ext3. If you mount and ext3 fs as ext4 you'll get all of the benefits of ext4 like the enhanced inode allocator and what not, but you won't get extents so your huge file support is limited just like ext3) An ext4 fs can NOT be mounted as ext3 as the files will be stored using new features (like extents) which ext3 doesn't understand. Make sense? There will be (or is?) a conversion tool which will be able to downgrade ext4, but you can't just mount backwards.

  11. Re:How does it compare to ext2? by diegocgteleline.es · · Score: 5, Informative

    is it possible to run ext4 without the journal?

    Yes, it is. And, as you can see in the link, ext4 is faster than ext2. Even with journaling.

  12. Re:Why not ReiserFS? by mahdi13 · · Score: 4, Insightful

    Not to mention ext3 doesn't lose random OS files in the wake of a sudden power failure like reiserfs does. I might be alone on this event but after it happening on 3 different systems at 3 different times I'd think it would be documented more. I've always thought reiserfs was overrated and even if there is a speed increase data integrity is a lot more important to me.

    It doesn't bother me that the creator is a convicted murderer, it does bother me that the file system gets away with murder all the time.

    --
    "Some things have to be believed to be seen." - Ralph Hodgson
  13. Re:EXT4 in Clusters? by Forge · · Score: 4, Insightful

    We all have our talents.

    I have bartered PC repair and System admin services for competent legal advise, accounting service and even medical care on one occasion (Every desktop in my dentist's office had the "worm of the month").

    Sensible people do what they are good at and wherever possible get others to do the other things.

    This little project may take a day or a few months for a pearl wizard. I'm not sure. I do know it would take me years, if it got done at all.

    --
    --= Isn't it surprising how badly I spell ?
  14. Ext4 in Ubuntu jaunty jackalope by the_one(2) · · Score: 4, Interesting

    Apparently there is a serious risk of data loss at this time in case of power loss (at least in ubuntu). http://ubuntuforums.org/showthread.php?t=1040199

  15. FS choices in the Datacenter by unixluv · · Score: 4, Interesting

    One of my biggest beefs with ext3 in the data center is the required fsck periodically. Redhat won't support jfs or xfs (which I can get from CentOs) but some vendors won't support anything that isn't on their supported platform list (IBM Clearcase for one).

    So is ext4 going to force a fsck at boot, which takes 1/2 a day with ext3 on some of my multi-Tb systems? Will Redhat finally adopt a better server filesystem? These are the questions that some of us doing professional Redhat support are asking.

    --
    Overrated, Troll, and Flamebait mod points are not to be used towards posts you disagree with. That IS censorship.
  16. Re:Why not ReiserFS? by TheLink · · Score: 4, Funny

    "Why not just use ReiserFS?"

    Vendor lock-in?

    --