The Performance Of EXT4 Then & Now

Published on January 19, 2010
Written by Michael Larabel
Page 6 of 6
Discuss This Article

The performance of PostgreSQL has been suppressed since the introduction of the Linux 2.6.32 kernel atop the EXT4 file-system. When using the nobarrier option the number of transactions per second had nearly doubled. However, even when using this EXT4 mount option, the 222 TPS that it had produced is still significantly less than 560~598 TPS that can be found in pre-2.6.32 kernels. In other words, there are still significant performance penalties in the more recent kernels.

The number of files handled per second with FS-Mark more than tripled when the Linux file-system was mounted with this no barrier option.

As the results in this article show, there are some dramatic performance drops with the EXT4 file-system that have occurred since this evolutionary file-system was marked stable in the Linux 2.6.28 kernel. Most of these drops are occurring as kernel developers work to improve the reliability and safety of this file-system, as we have shared numerous times now. Some of the biggest hits have occurred with the read performance in test scenarios like IOzone between the Linux 2.6.30 and 2.6.31 kernels where the performance was severely dampened. In the Linux 2.6.32 kernel due to EXT4 fsync changes, the PostgreSQL performance was slaughtered with pre-2.6.32 kernels being five times faster.

While there are severe performance drops, there have also been some dramatic gains in the opposite direction as well. With PostMark the number of transactions per second was more than doubled between the 2.6.29 and 2.6.30 kernels, Dbench is improving with the latest Linux 2.6.33 kernel, and AIO-Stress exhibited some nice gains as well beginning with the Linux 2.6.30 kernel.

Worth reading if you are interested in more of these EXT4 performance changes are Autonomously Finding Performance Regressions In The Linux Kernel where a lone EXT4 commit is talked about, EXT4 vs. Btrfs benchmarks on Linux 2.6.32, and earlier EXT4 / Btrfs / NILFS2 benchmarks. Of course, you can repeat these tests yourself using the Phoronix Test Suite. New Btrfs results will also be published with the Linux 2.6.33 kernel later this week.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.

6
Next Page >>
Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. The Cost Of Ubuntu Disk Encryption
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
Latest Linux News
  1. Digia Announces "Boot To Qt" Project
  2. X.Org Libraries Hit By Round Of Security Issues
  3. Wayland's Weston Gets Output Scaling Support
  4. Raspberry Pi Gets New Wayland Weston Renderer
  5. Debian GNU/Hurd 2013 Release Brings New Packages
  6. Intel Ultrabook Performance Is Faster With Mesa 9.2
  7. Hot Relocation HDD To SSD Support For Btrfs
  8. Phoronix Test Suite 4.6.0 "Utsira" Released
  9. New Intel X.Org Driver Supports All Of Haswell
  10. SQLite Now Faster With Memory Mapped I/O
  11. Microsoft Releases Skype For Linux 4.2, Has Bug-Fixes
Latest Forum Talk
  1. Xserver 1.14 support will arrive with Catalyst...
  2. X.Org Libraries Hit By Round Of Security Issues
  3. Fedora 18 Comes To ARMv6, Raspberry Pi
  4. Digia Announces "Boot To Qt" Project
  5. Updated and Optimized Ubuntu Free Graphics Drivers
  6. Microsoft Releases Skype For Linux 4.2, Has...
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite