Speeding up Linux File System (ext3) Performance

9 03 2011

We can increase ext3 performance, hence increasing Hard Disk performance by ~40%, and decrease power consumption by Hard Disk, if we provide “noatime,nodiratime” options during partition mounting. Actually what happens is: whenever a file/directory is accessed, its atime “access time” is updated with epoch. These two options prevent these not-so-useful disk accesses. Hence
performance improvement.

The sample mount point (/home) entry in /etc/fstab may look like:

$ cat /etc/fstab | grep home
/dev/sda2 /home           ext3    defaults,noatime,nodiratime        0       0
Advertisement

Actions

Information

2 responses

14 03 2011
veda

hi mitesh,

nice article. just a clarification, by tuning the parameters of the ext3 protocol, shouldn’t we calling it us, file system performance optimization. if i’m not hard disk has its own threshold and performance predefined by the factory already.
for ex rpm.

28 03 2011
miteshsjat

Hi,

Sorry, my mistake in not using appropriate title.
Yes harddisk has its own tweaking parameters, some are factory set and
some can be set by “hdparm” command.

Regards,
Mitesh

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s




Follow

Get every new post delivered to your Inbox.