Filesystem Performance

From ConShell

Jump to: navigation, search

Mostly random collection of tips related to Linux filesystem performance.

Contents

ext3

Check frequency defaults to 180 days & can cause a significant delay in booting... this is unacceptable on a production server. Consider a staggered timing when using multiple partitions.

tune2fs -i 0 /dev/hdxx
tune2fs -i 0 -c 0 /dev/hdxx

So tune2fs -i 0 -c 0 /dev/sdi1


Mount options (fstab)

In general, noatime is a nice easy way to gain performance. ext2 beats ext3 hands down where non-critical data is involved (and you're backing it up anyway right?).

Change last two colums to 0 0 in fstab for all non-critical data mounts, which were 1 1

nfs

See nfs(4)

Client side (mount options)

Server side

These are good values for /etc/sysconfig/nfs (on SLES, RHEL, Fedora & CentOS)

When possible (but with caution) use async instead of the default sync in /etc/exports

iSCSI

See http://www.nexenta.com/corp/index.php?option=com_content&task=view&id=124&Itemid=86

Related

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox


check web page