[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best Logfile size for XFS



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed

At 10:07 10-2-2002 -0500, Roger wrote:
>ef8b47d.jpg Best Logfile size for 
>XFS.ems<file://c:\stuff\eudora\attach\Best Logfile size for XFS.ems 
><0880.0002>>
>Content-Type: text/plain
>Content-Transfer-Encoding: quoted-printable
>
>
>*** PGP Signature Status: good
>*** Signer: Roger <rogerz@starband.net> (Invalid)
>*** Signed: 26-11-2001 0:54:28
>*** Verified: 10-2-2002 22:31:49
>*** BEGIN PGP VERIFIED MESSAGE ***
>
>ok. saw something in the archives about logfile size asked within the
>past 2 days but it really didn't give any clues to this question.
>
>As the FAQ states, specifing an alternate logfile size (and also other
>options) at the time of mkfs, can increase performance.
>
>here's a quick layout of my partitions on (using an add-on Promise
>Ultra100 ide controller card):
>
>Filesystem            Size  Used Avail Use% Mounted on
>/dev/hde1             576M   69M  507M  12% /
>/dev/hde5             4.3G  2.3G  2.0G  53% /home
>/dev/hde6             207M  280k  206M   1% /tmp
>/dev/hde7             3.0G  2.5G  571M  82% /usr
>/dev/hde8             787M   84M  704M  11% /var
>/dev/hdf5             6.2G  2.8G  3.4G  45% /usr/src/RPM
>/dev/hdg6              16G   14G  3.3G  80% /mnt/win_c2
>/dev/hdg5              21G   33M   19G   1% /extra1
>/dev/hdf6             3.4G  3.3G  165M  96% /mnt/win_d2
>
>I'm mainly concerned about /dev/hdg5 (/extra1).  I'm using it for video
>capturing and am curious as to optimizing it for write performance.
>
>Logfile size recommendations? other options?

A large logfile size will not help that much. Having a larger log helps a 
lot when you touch a lot of smaller files many times.

If you are writing large files the default log will suffice nicely which is 
8MB large afaik. The largest you can go is 32768 == 32 MB.

You can also mount with logbufs=4 or 8 which means that more updates are 
journaled but you lose more of them during a crash. This has the same 
effect as making the log bigger which means there can be more updates going 
on at one time.

Cheers
- --
Seth
Every program has two purposes one for which
it was written and another for which it wasn't
I use the last kind.
-----BEGIN PGP SIGNATURE-----
Version: PGP 7.0

iQA/AwUBPGboJznWBc/r8P2XEQJ6SQCfaE7IINtxQ5aXMg/3ZvwqWZFuxBQAoNcV
oN9arYaUALIAKDsxiUE/HRlg
=BSpA
-----END PGP SIGNATURE-----