xfs
[Top] [All Lists]

Re: Tuning XFS for peak performance. (fwd)

To: Eric Sandeen <sandeen@xxxxxxx>
Subject: Re: Tuning XFS for peak performance. (fwd)
From: Austin Gonyou <austin@xxxxxxxxxxxxxxx>
Date: Tue, 8 May 2001 09:55:56 -0500 (CDT)
Cc: <linux-xfs@xxxxxxxxxxx>
In-reply-to: <3AF7F9B3.5DA9AD9A@xxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
Where can I look for biosize, etc, mount option descriptions? I've been
looking around, but I'm not familiar with all the xfs tools yet, so I
don't know where it is.

-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-796-9023
email: austin@xxxxxxxxxxxxxxx

On Tue, 8 May 2001, Eric Sandeen wrote:

> 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
>
>


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