Announcement

Collapse
No announcement yet.

Systemd Works On More Btrfs Functionality

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

  • #21
    Originally posted by gens View Post
    it takes more then 30sec to finish (rm to return, that is) and if my memory serves me well it went all over the disk to do it
    only option used was nodatacow, all else default

    any other fs i used returned immediately
    I just did the test for you on both ext4 and btrfs with a 12Gb file.

    ext4:
    rm --preserve-root test.mkv 0.00s user 0.46s system 84% cpu 0.548 total
    btrfs:
    rm --preserve-root test.mkv 0.00s user 0.30s system 90% cpu 0.329 total
    It looks fine to me.

    Comment


    • #22
      Originally posted by geearf View Post
      I just did the test for you on both ext4 and btrfs with a 12Gb file.

      ext4:


      btrfs:


      It looks fine to me.
      1. do you have an SSD ? (i don't)
      2. did you run sync after making that file ?
      3. did you make that file or copy it ?

      i cba to repartition a drive just to test this, as it never was fast and i had btrfs partitions across many kernel versions

      PS why --preserve-root ?

      Comment


      • #23
        Originally posted by gens View Post
        it takes more then 30sec to finish (rm to return, that is) and if my memory serves me well it went all over the disk to do it
        only option used was nodatacow, all else default

        any other fs i used returned immediately
        I just tried to rm a 25G file on btrfs. Returned immediately.
        (kernel 3.19, mounted with noatime,lzo)

        Comment


        • #24
          Originally posted by gens View Post
          1. do you have an SSD ? (i don't)
          2. did you run sync after making that file ?
          3. did you make that file or copy it ?

          i cba to repartition a drive just to test this, as it never was fast and i had btrfs partitions across many kernel versions

          PS why --preserve-root ?
          1- Yes, the btrfs partition is on it, the ext4 is on a llvm cluster of standard hard drives (not in raid mode).
          2- I did not, should I?
          3- It was a copy from the ext4 partition.

          Also, when I did the test on btrfs, on my /home partition, my system was fairly unusable :/
          I'm on deadline, should I try something different?

          as for preserve-root, it is in my alias for rm, though now I probably don't need to specify it anymore.

          Comment


          • #25
            Well I do notice that with btrfs it takes a minute or so after deleting stuff for "btrfs fi df" to show the space being cleared up.

            Comment


            • #26
              Originally posted by Veske View Post
              If you need snappiness, use i3. Everything else (XFCE etc..) is garbage. For regular usage, use a normal DE like Unity or Gnome.
              Actually, my desktop is mostly LXDE componentry with a mix of non-DE stuff like urxvt, gVim, Geeqie (formerly GQView), and the barebones "-vo vdpau" MPlayer GUI when I either need more features than the LXDE version or think things like the gnome-mplayer GUI are heavier than I need.

              I'm not a big fan of i3 but I'll be switching over to AwesomeWM as soon as I can spare sufficient time to craft the rc.lua I've always wanted.

              Comment


              • #27
                Originally posted by gens View Post
                it takes more then 30sec to finish (rm to return, that is) and if my memory serves me well it went all over the disk to do it
                only option used was nodatacow, all else default

                any other fs i used returned immediately
                Why on earth would you use nodatacow with Btrfs? It's a hack for VM's and databases that removes most of the benefits of running Btrfs in the first place (including checksumming)

                Comment


                • #28
                  Originally posted by jacob View Post
                  I just tried to rm a 25G file on btrfs. Returned immediately.
                  (kernel 3.19, mounted with noatime,lzo)
                  So and how did you create a 25G file? I can make ext4 return immediately too you know.
                  The essence is that most 25G are not 25G contiguous bytes. Of course you can rebalance it, so it will be, but rebalancing takes a large bite out of the I/O.
                  Not stating that btrfs is crap, just stating that your test might be flawed. And no SSD will help you out if you have a 25GB fragmented file. The meta data will be too big to fit in memory and btrfs will trash.
                  Still though, if btrfs proves to be stable at some point in time I will start using it in server production. For now it just holds my steam games on a bcache on an fcoe partition.
                  Oh, yeah, I wonder how systemd will handle that.
                  I'm actually wondering how any distribution will handle rootfs on bcache on fcoe booted from pxe, As my PC is not really used except for testing, gaming and heavy video coding, I could easily test steamos, ubuntu and debian.

                  Comment


                  • #29
                    Originally posted by Veske View Post
                    If you need snappiness, use i3. Everything else (XFCE etc..) is garbage. For regular usage, use a normal DE like Unity or Gnome.
                    Unity and especially Gnome are far from 'normal' DE. Went from Gnome2 to Xfce and never looked back.

                    Comment


                    • #30
                      Originally posted by ssokolow View Post
                      I'm not a big fan of i3 but I'll be switching over to AwesomeWM as soon as I can spare sufficient time to craft the rc.lua I've always wanted.
                      Or enlightenment...
                      It runs on all the samsung gear watches. It's specifically tuned for being light weight, advanced, and soon with a working lua engine... You cannot just manage your windows, you can make real efl based applications with a few lines of lua.

                      Comment

                      Working...
                      X