EXT4 File-System Tuning Benchmarks

Published on November 16, 2012
Written by Michael Larabel
Page 1 of 4
Discuss This Article

Following last month's Btrfs file-system tuning benchmarks, in this article are a similar set of tests when stressing the EXT4 file-system with its various performance-related mount options. Here are a number of EXT4 benchmarks from Ubuntu 12.10 with different mount option configurations.

Aside from testing the EXT4 file-system at its defaults on the Linux 3.5 kernel with Ubuntu 12.10, the common Linux file-system was tested with nobarrier, data=journal, data=writeback, nodelalloc, and discard. Here's the documentation on each mount option per the EXT4 documentation:

nobarrier: This disables the use of write barriers in the jbd code. This also requires an IO stack which can support barriers, and if jbd gets an error on a barrier write, it will disable again with a warning. Write barriers enforce proper on-disk ordering of journal commits, making volatile disk write caches safe to use, at some performance penalty. If your disks are battery-backed in one way or another, disabling barriers may safely improve performance. The mount options "barrier" and "nobarrier" can also be used to enable or disable barriers, for consistency with other ext4 mount options.

data=journal: All data are committed into the journal prior to being written into the main file system.

data=writeback: Data ordering is not preserved, data may be written into the main file system after its metadata has been committed to the journal.

nodelalloc: Disable delayed allocation. Blocks are allocated when the data is copied from userspace to the page cache, either via the write(2) system call or when an mmap'ed page which was previously unallocated is written for the first time.

discard: Controls whether ext4 should issue discard/TRIM commands to the underlying block device when blocks are freed. This is useful for SSD devices and sparse/thinly-provisioned LUNs, but it is off by default until sufficient testing has been done.

The testing occurred from a Lenovo ThinkPad W510 notebook with an Intel Core i7 720QM CPU and a 160GB Intel SSD. The EXT4 partition used for the benchmarking was re-formatted each time between testing the different mount option configurations. Here are the full system details:

All benchmarking was handled in a fully automated manner using the Phoronix Test Suite software.

<< Previous Page
1
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. GCC 4.8.0 vs. LLVM Clang 3.3 Compiler Performance
  2. Intel Linux OpenGL Driver Leading Over Apple OS X
  3. The Cost Of Ubuntu Disk Encryption
  4. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
Latest Linux News
  1. A New X.Org-Free Wayland LiveCD Released
  2. Unity 8, Mir Made Progress This Week On Features
  3. LLVM Clang 3.3 RC2 Is Ready For Testing
  4. AMD RadeonSI Gallium3D Begins Simple CL Demos
  5. Intel Shows Off GNOME3-Based Tizen Shell
  6. Linux Desktop Security Could Be A Whole Lot Better
  7. KDE 4.11 Will Be The Last Major KDE4 Workspaces Feature Release
  8. New NVIDIA Linux Driver Supports The GeForce GTX 780
  9. Chrome 28 To Offer More Speed Improvements
  10. Digia Announces "Boot To Qt" Project
  11. X.Org Libraries Hit By Round Of Security Issues
Latest Forum Talk
  1. A New X.Org-Free Wayland LiveCD Released
  2. X.Org Libraries Hit By Round Of Security Issues
  3. Wayland's Weston Gets Output Scaling Support
  4. GCC 4.8.0 vs. LLVM Clang 3.3 Compiler Performance
  5. Linux's "Ondemand" Governor Is No...
  6. Jolla Announces Their First Phone
  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