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

Leftovers: Gaming

Kubuntu 14.10 review

KDE has improved in may respects since my last review of Kubuntu, so it’s fair to say that Kubuntu itself has improved. Muon Discover has improved too, so kudos to the developer. However, Kubuntu is not the best KDE-using distribution around. ROSA Desktop, for example, offers many more features than most KDE-using desktops. That said, Kubuntu 14.10 should be good enough for most users. If you would like to take it for a spin on your computer, installation images are available for download from here. Read more

Dispelling the myths of open source licences

Misconceptions surrounding the rights and obligations provided by open source software in the enterprise have fueled the spread of fear, uncertainty and doubt. A better understanding of the role open source licensing will help organizations realist the full potential of open source investments. Read more

Cinnamon Desktop Spices Up Makulu Linux

The Makulu Cinnamon Debian Edition 1.1 marks a new path for Makulu. This latest release has numerous new features that could make it a top competitor against the Linux Mint Cinnamon edition. Read more