public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@sandeen.net>
To: Sebastian Brings <sebas@silexmedia.com>
Cc: xfs@oss.sgi.com
Subject: Re: largeio mount and performance impact
Date: Sat, 23 Sep 2006 11:34:23 -0500	[thread overview]
Message-ID: <4515620F.5010607@sandeen.net> (raw)
In-Reply-To: <55EF1E5D5804A542A6CA37E446DDC206655888@mapibe17.exchange.xchg>

Sebastian Brings wrote:
> In a different thread I read about the largeio mount option for XFS. Now
> I wonder if the problems I recently ran in have been caused by this.
> 
> After a system uprgade from sles9 sp2 to sp3 one app started
> misbehaving. Before the upgrade it used 15% CPU, after the upgrade it
> was 90+% and the performance dropped by about 50%. The app is writing a
> wave audio file, and for every 3840 bytes of audio samples it appends,
> it updates the RIFF header of the file. All of this was done using the
> buffered fopen/fwrite/... C library functions. 
> An strace showed that seeking to the beginning of the file also
> triggered a 12MiB read(2) call, and seeking to the end, for example to
> 13MiB, translated to a seek(2) to offset 1mib and a read(2) of 12 MiB.
> 
> Initiall I assumed something very strange had happened to the C lib
> defaults. Otoh 12MiB is the swidth of the filesystem, so I assume that
> the C lib got the 12 MiB optimal IO size from XFS and therefore behaved
> as described above. Could that be?

Unless you specify the largeio mount option, I don't -think- any of this is exposed.

What does stat -c %o <file> say?

Did this strace behavior change from sp2 to sp3?

-Eric

  reply	other threads:[~2006-09-23 16:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-23 13:27 largeio mount and performance impact Sebastian Brings
2006-09-23 16:34 ` Eric Sandeen [this message]
2006-09-24 13:41   ` Sebastian Brings
2006-09-24 13:47     ` Sebastian Brings
2006-09-25  8:38 ` Data type overflow in xfs_trans_unreserve_and_mod_sb Shailendra Tripathi
2006-09-25 14:32   ` Eric Sandeen
2006-09-25 14:52     ` Shailendra Tripathi
2006-10-11  5:25   ` David Chinner
2006-10-13  6:13     ` David Chinner
2006-10-13  8:31       ` Shailendra Tripathi

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=4515620F.5010607@sandeen.net \
    --to=sandeen@sandeen.net \
    --cc=sebas@silexmedia.com \
    --cc=xfs@oss.sgi.com \
    /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