1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

A Patch-Set Making Btrfs ~20% Faster

Linux Kernel

Published on 30 September 2012 01:00 AM EDT
Written by Michael Larabel in Linux Kernel
7 Comments

A revised patch-set was published a few days ago that can make meta-data operations for the Btrfs file-system approximately 20% faster.

The latest patches build upon what I wrote about in February with A Patch That Can Make Btrfs 5~10% Faster. The idea comes down to providing an extent buffer cache for each i-node so that the item doesn't need to be searched from the root of a B+ tree everytime, thereby making searches quicker. The earlier patch wasn't merged but now it's up to a second version consisting of three patches and a stated 20% performance improvement for meta-data operations.
This patchset introduce extent buffer cache to btrfs. The basic idea is to reduce the search time and the contentions of the extent buffer lock by re-using the last search result.

I ran stress.sh, xfstests and some other tools to test it, all of them worked well.

As a performance improvement patchset, of course we did performance test. Because this patchset is to improve the b+ tree search, in other words, it improves the performance of the metadata operations, we use file creation test to measure it. So we ran 10 tasks, and all of them created 100000 files in their own directories at the same time. As the result, we found this patchset makes btrfs ~20% faster(98s -> 77s).
Besides providing an extent buffer cache for each i-node, a change now is also having extent buffer caches for delayed i-nodes and delayed reference with the Btrfs file-system. Hopefully the work will be merged soon but it may be too late for being properly vetted for the Linux 3.7 kernel. The patches are currently residing on the kernel mailing list.

Latest Linux Hardware Reviews
  1. Mini-Box M350: A Simple, Affordable Mini-ITX Case
  2. Overclocking The AMD AM1 Athlon & Sempron APUs
  3. AMD Athlon 5350 / 5150 & Sempron 3850 / 2650
  4. Upgraded Kernel & Mesa Yield A Big Boost For Athlon R3 Graphics
Latest Linux Articles
  1. AMD OpenCL Performance With AM1 Kabini APUs
  2. A Quick Look At GCC 4.9 vs. LLVM Clang 3.5
  3. Are AMD Athlon/Sempron APUs Fast Enough For Steam On Linux?
  4. AMD Athlon's R3 Graphics: RadeonSI Gallium3D vs. Catalyst
Latest Linux News
  1. Running The Unity 8 Preview Session On Ubuntu 14.04 LTS
  2. R600 Gallium3D Disables LLVM Back-End By Default
  3. Fedora 21 Gets GNOME 3.12, PHP 5.6, Mono 3.4
  4. Fedora Workstation Is Making Me Quite Excited
  5. Maynard: A Lightweight Wayland Desktop
  6. Chromium Browser Going Through Growing Pains In Ubuntu 14.04
  7. KDE 4.13 Is Being Released Today With New Features
  8. Trying Out Radeon R9 290 Graphics On Open-Source
  9. Intel Broadwell GT3 Graphics Have Dual BSD Rings
  10. Early Linux 3.15 Benchmarks Of Intel Core i7 + Radeon
  11. Red Hat Releases Its RHEL 7 Release Candidate
  12. New Features Coming To Xubuntu 14.04 LTS
Latest Forum Discussions
  1. Linux Kernel Developers Fed Up With Ridiculous Bugs In Systemd
  2. After Jack Keane, RuseSoft will briing Ankh 3 to Linux through Desura
  3. The GNOME Foundation Is Running Short On Money
  4. Change installation destination from home directory
  5. Updated and Optimized Ubuntu Free Graphics Drivers
  6. Bye bye BSD, Hello Linux: A Sys Admin's Story
  7. New tool for undervolt/overclock AMD K8L and K10 processors
  8. How to enable opengl 3.3 on r9 270?