From: Badari Pulavarty <pbadari@us.ibm.com>
To: Andreas Dilger <adilger@clusterfs.com>
Cc: linux-kernel@vger.kernel.org, Andrew Morton <akpm@digeo.com>
Subject: Re: 2.5.66-mm3 - bad ext2 performance ?
Date: Tue, 15 Apr 2003 16:17:08 -0700 [thread overview]
Message-ID: <200304151617.08267.pbadari@us.ibm.com> (raw)
In-Reply-To: <20030415152421.X26054@schatzie.adilger.int>
On Tuesday 15 April 2003 02:24 pm, Andreas Dilger wrote:
> On Apr 15, 2003 14:00 -0700, Badari Pulavarty wrote:
> > This is kind of extreem. But I have 1070 LUNS and I mkfs/mounted (ext2)
> > all these and running "fsx" on all of them.
> >
> > I see very bad IO rate on the machine. fsx with O_DIRECT seems to be
> > doing okay. Any ideas on why regular filesystem (buffered) IO sucks ?
> > I dont' see even cache increasing ..
>
> Depending on what parameters you have passed to fsx, it isn't necessarily
> going to be doing a lot of I/O. The default for the fsx I have is to max
> the file size out at 256kB (on average it will be about half of that), and
> you have 1070 instances running, so that agrees with the ~110MB of cache
> difference between O_DIRECT and non-O_DIRECT.
>
> Also, in the non-O_DIRECT case fsx will be doing reads from cache and not
> disk, so there is no reason to see anything in "bi". The writes may or
> may not be a problem, as fsx is "truncate happy", so some large amounts of
> data that are "written" are immediately truncated again. For O_DIRECT,
> everything is going straight to/from disk, hence much higher IO numbers.
>
> What you should really be checking is how many "ops per second" you are
> getting from fsx with and without O_DIRECT. It would be my guess that
> the O_DIRECT fsx is actually _slower_ because it is doing more I/O (and
> waiting for it to complete). Run each fsx with some fixed number of ops
> (-N <num ops>) and see how long it takes for both tests to complete.
Sure. Will do !!
Thanks.
Badari
prev parent reply other threads:[~2003-04-15 23:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-15 21:00 Badari Pulavarty
2003-04-15 21:06 ` William Lee Irwin III
2003-04-15 21:24 ` Andreas Dilger
2003-04-15 23:17 ` Badari Pulavarty [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200304151617.08267.pbadari@us.ibm.com \
--to=pbadari@us.ibm.com \
--cc=adilger@clusterfs.com \
--cc=akpm@digeo.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®