xfs
[Top] [All Lists]

Re: LBA to File?

To: Steve Lord <lord@xxxxxxx>
Subject: Re: LBA to File?
From: Michael Sinz <msinz@xxxxxxxxx>
Date: Fri, 07 Mar 2003 10:59:04 -0500
Cc: Andy Skunza <askunza@xxxxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <1047051236.26370.2238.camel@xxxxxxxxxxxxxxxxxxxx>
References: <3E67BFA7.4080601@xxxxxxxxxxxx> <20030306221631.GA6770@xxxxxxxx> <3E67CB02.2030600@xxxxxxxxxxxx> <1046990328.439.273.camel@xxxxxxxxxxxxxxxxxxxxxx> <3E67D0CE.3080902@xxxxxxxxxxxx> <1046997413.1373.14.camel@xxxxxxxxxxxxxxxxxxxxx> <3E68ACFD.20702@xxxxxxxxxxxxxxx> <1047051236.26370.2238.camel@xxxxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021118
Steve Lord wrote:
On Fri, 2003-03-07 at 08:30, Andy Skunza wrote:

Stephen Lord wrote:

Possibly the way your app runs is making things worse. There is a script
in  the cmd/misc directory called xfsstats.pl you can watch log activity
with this. In particular xs_log_writes and xs_log_blocks. If log_blocks
is not a reasonable multiple of log_writes then you are doing a lot of
very small writes.


What is a "reasonable multiple" of log_writes to log_blocks? Would 22 be unreasonable? And, how to use xfs_stats.pl per xfs partion?

Thanks,
andy

The stats are global and not available on a per fs basis. You can clear
the stats with

echo 1 > /proc/sys/fs/xfs/stats_clear

So you can measure more controlled periods of time.

Perfection is 64, the more recent your code the closer you should get,
we have been removing synchronous transactions from the code. My
workstation which has been up 27 days is averaging a ratio of 52.
It also depends on what you run, something which does O_SYNC writes
all the time can hammer it.

So, for a workstation that has been up for 6 days (running relatively
new XFS from CVS) seeing a value of around 20 to 21:1 is not there
yet.

Do you want us to monitor this for you and provide feedback?
(This is a development system - that is, build/compile/edit/etc,
and not a server - I will check on those later)

--
Michael Sinz -- Director, Systems Engineering -- Worldgate Communications
A master's secrets are only as good as
        the master's ability to explain them to others.


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