Increasing Ext3 I/O Performance
      by Wyatt WalterIn today’s computers, CPU throughput and amount of memory are no longer the bottleneck in performance. Ask any server administrator and they will tell you that one of the biggest concerns with responsiveness of server-side applications is the throughput to and from disk. If you’re using the ext3 filesystem, it turns out there’s a tip that you can use to gain up to a 40% performance boost.
With the default mount options in most distributions, the filesystem will log the last access time to a file. Hackosis recently wrote a quick tutorial on how to disable the access logging in the /etc/fstab file. A little research shows reveals a conversation in 2007 between kernel developers such as Linus Torvalds and Ingo Molnar in which Ingo states his experience with changing the setting:
yeah, it’s really ugly. But otherwise i’ve got no real complaint about
ext3 – with the obligatory qualification that “noatime,nodiratime” in
/etc/fstab is a must. This speeds up things very visibly – especially
when lots of files are accessed. It’s kind of weird that every Linux
desktop and server is hurt by a noticeable IO performance slowdown due
to the constant atime updates, while there’s just two real users of it:
tmpwatch [which can be configured to use ctime so it's not a big issue]
and some backup tools. (Ok, and mail-notify too i guess.) Out of tens of
thousands of applications. So for most file workloads we give Windows a
20%-30% performance edge, for almost nothing. (for RAM-starved kernel
builds the performance difference between atime and noatime+nodiratime
setups is more on the order of 40%)
Using the Hackosis’ tip on disabling the access logging could help boost performance on any systems you have using ext3. Of course, I’d recommend trying it out in a test system before deploying it in a production system, especially since changing the options means you have to re-mount your filesystems. I usually use ReiserFS, but if you are using something like Red Hat or CentOS, the kernel builds don’t support the xfs, jfs, or reiser filesystems unless you compile the options in yourself. Granted, you have to have a “RAM-starved” system first as Ingo states, but if you are experiencing performance issues on a server, there’s a good chance it’s a RAM-starved system or low I/O throughput.
Related Posts- Apple Releases Safari 4 Beta, Claims 30X Faster Than IE7 Apple has released a beta version of the next version...
- Safari 4 Arrives Today was Apple's big World Wide Developer Conference which brought...
- Canonical Launches Online Sync Service Canonical has launched a beta service called Ubuntu One which...
- Parallels Desktop 4.0 for Mac Parallels recently released the newest version of it's Mac Desktop virtualization...
- Wordpress Backup Wordpress Backup is an essential plugin for all Wordpress blog...
- Review - Canon EOS 7D [/caption] Canon's X0D series was, for many years, essentially the...
- Problems With Free Tax Filing Services? Great, just as we start to get everything ready to...
- Free Activities in San Francisco If you are planning to visit beautiful San Francisco in...
Tags: linux, performance
Filed under How-Tos / Tips :
Comments (1) :
Nov 4th, 2008



September 3rd, 2009 at 7:53 am
Redhat or CentOS works perfectly fine with xfs.
yum -y install kmod-xfs xfsdump xfsprogs
Where is the issue?