Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: Using Disk Compression With Btrfs To Enhance Performance

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    15,611

    Default Using Disk Compression With Btrfs To Enhance Performance

    Phoronix: Using Disk Compression With Btrfs To Enhance Performance

    Earlier this month we delivered benchmarks comparing the ZFS, EXT4, and Btrfs file-systems from both solid-state drives and hard drives. The EXT4 file-system was the clear winner in terms of the overall disk performance while Btrfs came in second followed by Sun's ZFS in FreeBSD 8.2. It was a surprise that in our most recent testing the EXT4 file-system turned around and did better than the next-generation Btrfs file-system, but it turns out that Btrfs regressed hard in Linux 2.6.35 as to be found in Ubuntu 10.10 and other soon-to-be-released distributions. However, regardless of where Btrfs is performing, its speed can be boosted by enabling its transparent zlib compression support.

    http://www.phoronix.com/vr.php?view=15233

  2. #2
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    3,801

    Default

    "Using Disk Compression With Btrfs To Enhance Performance"? But in the article itself you then claim there's no performance gain?

    Explain?

  3. #3
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    1,803

    Default

    Maybe it was sarcasm?

  4. #4
    Join Date
    Oct 2008
    Posts
    120

    Default

    Quote Originally Posted by nanonyme View Post
    Maybe it was sarcasm?
    Yes, it was really great sarcasm.

  5. #5
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    3,801

    Default

    Oh. It was very subtle then

  6. #6
    Join Date
    Oct 2008
    Posts
    120

    Default

    Quote Originally Posted by RealNC View Post
    Oh. It was very subtle then
    Not as subtle as mine.

  7. #7

    Default

    "Using Disk Compression With Btrfs To Enhance Performance"

    and ext4 wins most of the benchmarks... Pwned!

  8. #8
    Join Date
    Aug 2010
    Posts
    2

    Default

    Quote Originally Posted by thefirstm View Post
    "Using Disk Compression With Btrfs To Enhance Performance"

    and ext4 wins most of the benchmarks... Pwned!
    I don't really see the benefit of this article, in the knowledge that btrfs has a regression bug in 2.6.35 which is known to reduce performance by up to a factor of 10 in some workloads.

  9. #9
    Join Date
    Sep 2009
    Location
    Copenhagen, Denmark
    Posts
    17

    Default

    What effect did compression have on the CPU usage?
    The following benchmark with ZFS' compression algorithms, states that gzip compression was very CPU bound in regards to performance, compared to lzjb compression: http://don.blogs.smugmug.com/2008/10...ession-update/

    I wonder why they've gone for gzip compression, instead of something lighter such as lzjb, when tests on ZFS show such difference when comparing the performance against the space saving.

  10. #10
    Join Date
    Jan 2010
    Posts
    368

    Default

    They should have used lzo instead of gzip.

    Anyway, the important thing, *again*, what does the test data of the benchmark programs look like? If it's only zeros, that's not a very fair or realistic benchmark, it'll be skewed in favor of compressed filesystems.

    See the iozone benchmark, for example.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •