SHARE
Facebook X Pinterest WhatsApp

Solving the ext3 latency problem

Written By
JC
Jonathan Corbet
May 1, 2009

“It’s impressive what can happen when attention is drawn to a
problem; the 2.6.30 kernel will contain fixes which seemingly
eliminate many of the latencies experienced by ext3 users. This
article will look at the changes that were made, including a
surprising change to the default journaling mode made just before
the 2.6.30-rc1 release.

“The problem, in short, is this: the ext3 filesystem, when
running in the default data=ordered mode, can exhibit lengthy
stalls when some process calls fsync() to flush data to disk. This
issue most famously manifested itself as the much-lamented Firefox
system-freeze problem, but it goes beyond just Firefox. Anytime
there is reasonably heavy I/O going on, an fsync() call can bring
everything to a halt for several seconds. Some stalls on the order
of minutes have been reported. This behavior has tended to
discourage the use of fsync() in applications and it makes the
Linux desktop less fun to use. It’s clearly worth fixing – but
nobody did that for years.”

Complete Story

JC

Jonathan Corbet

Recommended for you...

5 Best Free and Open Source Text Expander Tools
webmaster
Jun 13, 2025
Grafito: Systemd Journal Log Viewer with a Beautiful Web UI
Bobby Borisov
Jun 12, 2025
FreeBSD Wants to Know a Few Things
brideoflinux
May 11, 2025
NVK enabled for Maxwell, Pascal, and Volta GPUs
Kara Bembridge
May 1, 2025
Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.