Announcement

Collapse
No announcement yet.

DragonFly's HAMMER2 File-System Picks Up More Performance Optimizations

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #11
    Originally posted by Bsdisbetter View Post
    Nothing's impossible in that regard, it is do-able, it's just that you're unlikely to get it past core.
    FYI: it's unlikely to get past core because it's going to require significant change everywhere.

    Also I don't see other bsd projects caring about this, given their goals.

    Comment


    • #12
      Originally posted by uid313 View Post
      Maybe it would be nice if HAMMER2 was available for Linux.
      But maybe it would be difficult to port it from DragonFly BSD to Linux.
      It could be interesting if HAMMER2 was actually finished and not in a sad sorry state like now (i.e. it's supposed to be a cluster filesystem and it works only on the local machine for now), but even if it was finished, Linux has like 3-4 production-grade cluster filesystems already, so whatever.

      Comment


      • #13
        Originally posted by starshipeleven View Post
        FYI: it's unlikely to get past core because it's going to require significant change everywhere.

        Also I don't see other bsd projects caring about this, given their goals.
        Um, what I said.

        Comment


        • #14
          Originally posted by Bsdisbetter View Post

          Um, what I said.
          not clear enough, I guess.

          Comment


          • #15
            Originally posted by starshipeleven View Post

            It could be interesting if HAMMER2 was actually finished and not in a sad sorry state like now (i.e. it's supposed to be a cluster filesystem and it works only on the local machine for now), but even if it was finished, Linux has like 3-4 production-grade cluster filesystems already, so whatever.
            But even without the cluster functionality, maybe it is good as a normal non-cluster file system?
            I don't know how it is compared to ext4, reiser4, Btrfs and ZFS.

            Comment


            • #16
              Originally posted by uid313 View Post
              But even without the cluster functionality, maybe it is good as a normal non-cluster file system?
              I don't know how it is compared to ext4, reiser4, Btrfs and ZFS.
              Michael did benchmark it some months ago https://www.phoronix.com/scan.php?pa...x-Initial-Data

              it seems to do some shenanigans when doing a fsync (i.e. it's flat-out lying about the time it takes to write to disk, which is roughly the same on all filesystems as the disk is the same), apart from that it's significantly slower.

              He will probably do it again eventually, and will see how it fares after these improvements.

              I have some strong suspicions that it can't do significantly better than ext4 or xfs, there is only so much you can do with a traditional filesystem.

              Comment


              • #17
                Originally posted by starshipeleven View Post
                Michael did benchmark it some months ago https://www.phoronix.com/scan.php?pa...x-Initial-Data

                it seems to do some shenanigans when doing a fsync (i.e. it's flat-out lying about the time it takes to write to disk, which is roughly the same on all filesystems as the disk is the same), apart from that it's significantly slower.

                He will probably do it again eventually, and will see how it fares after these improvements.

                I have some strong suspicions that it can't do significantly better than ext4 or xfs, there is only so much you can do with a traditional filesystem.
                I have a feeling you're right about the performance. Ext4 and XFS has been around for a long while, are extensively used and are probably pretty tuned and performant.

                But perhaps HAMMER2 can offer other things besides performance such as those features offered by the likes of Btrfs and ZFS.
                Online fsck, online resizing, transparent encryption, transparent compression, etc. Maybe RAID-like things and volume management, but maybe there is LVM for that.

                Comment


                • #18
                  Originally posted by uid313 View Post
                  But perhaps HAMMER2 can offer other things besides performance such as those features offered by the likes of Btrfs and ZFS.
                  some yes, some no https://gitweb.dragonflybsd.org/drag...hammer2/DESIGN

                  And it has similar issues like "no free space on device" when it's not really true https://garyshood.com/hammer2-space/ which is a hard thing to deal with for CoW filesystems in general.

                  Comment

                  Working...
                  X