xfs
[Top] [All Lists]

Re: v2 vs v1 logs - number of transactions in log?

To: Chris Pascoe <c.pascoe@xxxxxxxxxxxxxx>
Subject: Re: v2 vs v1 logs - number of transactions in log?
From: Steve Lord <lord@xxxxxxx>
Date: 12 Nov 2002 17:17:33 -0600
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <Pine.GSO.4.44.0211122342110.18501-100000@mango.csee.uq.edu.au>
Organization:
References: <Pine.GSO.4.44.0211122342110.18501-100000@mango.csee.uq.edu.au>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Tue, 2002-11-12 at 07:51, Chris Pascoe wrote:
> Hi,
> 
> Quick questions for the developers - if one generates a filesystem with
> version 2 logs and specifies a stripe unit size, of say 16kB, at this
> time, does this reduce the number of transactions that can be in the log
> at a given time?  Is there a need to increase the log size from the
> default to ensure better performance by making sure that the log doesn't
> need to be flushed more frequently as a result of this change?
> 
> I'm imagining as follows: if a log is, say, 1000 4kB filesystem blocks (as
> long picked by a default mkfs command, hypothetically) when using version
> 1, it can hold 8000 512-byte log entries.  The same log in version 2
> format presumably holds less entries if everything is done stripe unit
> aligned, yes?
> 
> Quite probably I'm just plain confused, having not read how the version
> two log code works yet - is there a simple answer?

nope!

There will be a difference, but not that large really. since most log
items are pretty small, the actual extra amount of rounding is fairly
minimal usually.

Steve


-- 

Steve Lord                                      voice: +1-651-683-3511
Principal Engineer, Filesystem Software         email: lord@xxxxxxx


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