xfs
[Top] [All Lists]

Re: Tuning XFS for peak performance. (fwd)

To: Austin Gonyou <austin@xxxxxxxxxxxxxxx>
Subject: Re: Tuning XFS for peak performance. (fwd)
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Tue, 08 May 2001 08:50:43 -0500
Cc: linux-xfs@xxxxxxxxxxx
References: <Pine.LNX.4.33.0105061710360.3947-100000@UberGeek.coremetrics.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
Austin Gonyou wrote:

> While stable, it doesn't do
> me any good if I have to wait 5 mins for PINE to open when it's only
> moving a few messages from inbox to other boxes. The same operation would
> take 30 seconds with ReiserFS.

This may be yet another issue with the default i/o size and databases. 
(we've seen this for rpm databases and sendmail access.db)

I don't know for sure how pine uses gdbm, but I see that it is a
requirement, so this is the likely culprit.

Try mounting whichever filesystem contains the pine message database
with the "-o biosize=13" option.

If you want to make this the default, quoting Steve:

> If you want to change the values used by default you can do this by changing
> some constants in fs/xfs/xfs_mount.h and rebuilding. Change these values:
> 
> /*
>  * Default minimum read and write sizes.
>  */
> #define XFS_READIO_LOG_SMALL    15      /* <= 32MB memory */
> #define XFS_WRITEIO_LOG_SMALL   15
> #define XFS_READIO_LOG_LARGE    16      /* > 32MB memory */
> #define XFS_WRITEIO_LOG_LARGE   16
> 
> To all be 13

Sorry it took a while for an answer, it didn't click in my head right
away.  :)

-Eric

-- 
Eric Sandeen      XFS for Linux     http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx   SGI, Inc.

<Prev in Thread] Current Thread [Next in Thread>