Language Selection

English French German Italian Portuguese Spanish

Evaluating the performance of ext3 using write barriers and write caching

Filed under
Linux

The ext3 filesystem supports write barriers which are designed to allow a filesystem to take advantage of a disk’s write cache without fear of compromising the ingetrity of the filesystem on a power failure or kernel panic. I’ve seen reports that ext3 write barriers have a significant impact on performance.

Of course, the alternative is to disable the write cache (as is recommended many places) and suffer the performance loss from that. Given that the use of write barriers means forsaking many Linux storage tools which do not support write barriers (lvm, dmraid, dmcrypt, md raid except raid1, etc) it seems like the best option for flexibility is to just turn off the hard disks write cache and keep one’s options open. However, if the difference in performance between write barriers enabled and write cache disabled is significant then using write barriers would be a better option when IO performance is important. I often find IO to be the bottleneck on my servers so any improvement in IO performance is worth investigating.

I ran some tests with bonnie++ and came up with these numbers.




More in Tux Machines

Detailed change log for deepin 15.4 RC

deepin is a Linux distribution devoted to providing beautiful, easy to use, safe and reliable system for global users. After public test of deepin 15.4 Beta, we have received a lot of suggestions and feedback, we adopted part of them and fixed a lot of problems. Read more

GNOME 3.24: New Linux desktop is fast, responsive

I’ve been a fan of the work of the GNOME team for quite some time. They put together one heck of an excellent Linux desktop environment. But of late, I’ve found myself gravitating towards some of the more lightweight environments. MATE (which is a forked version of GNOME 2) and xmonad. I like my systems to be light on resource usage and highly responsive—those are two absolutely critical things for the way I use my computers. With this week’s release of GNOME 3.24, I decided to jump back into the world of modern GNOME desktops and kick the tires again. In order to give it the best possible shot, I did a clean install of openSUSE Tumbleweed (the rolling release version of openSUSE) and then installed GNOME 3.24 on top of it. (Side note: 3.24 was not yet available in the default repositories when I wrote this article, but it should be shortly.) Read more Also: Applying to Outreachy and GSoC for Fedora and GNOME

OpenSuse Leap Reinforces Linux Faith

Leap is a solid performer. I had no trouble installing it on MBR and EFI systems. Secure Boot tends to be buggy with some configurations, but it was incident-free with this installation. The bootloader handles multiboot with other Linux distributions or Windows fairly trouble-free. Installation is routine, thanks to the graphical format used. Only 64-bit versions are available for x86 computers, which limits access to legacy hardware in the 32-bit machines. ARM ports are available if you can track them down through the project's wiki. Read more

Modular, open source robotics kit lets you build your own 3D printer

Plugg.ee Labs’s Cortex-M3 based “JuicyBoard” robotics kit is designed for building stepper motor controlled devices like 3D printers or CNC routers. The JuicyBoard has surpassed its modest funding goals on Crowd Supply, providing a modular, open source development kit for stepper motor oriented devices such as 3D printers and CNC routers. Built around an NXP LPC1769 Cortex-M3 MCU, the kits are available starting at $179, with shipments due June 15. Read more