From: Dave Chinner <david@fromorbit.com>
To: Shrinand Javadekar <shrinand@maginatics.com>
Cc: xfs@oss.sgi.com
Subject: Re: XFS Syncd
Date: Wed, 3 Jun 2015 13:57:19 +1000 [thread overview]
Message-ID: <20150603035719.GO24666@dastard> (raw)
In-Reply-To: <CABppvi68E6n+pr6X8TMOBhicVB4mrJbyyvm89r56rRVqSjf1Zg@mail.gmail.com>
On Tue, Jun 02, 2015 at 11:43:30AM -0700, Shrinand Javadekar wrote:
> Sorry, I dropped the ball on this one. We found some other problems
> and I was busy fixing them.
>
> So, the xfsaild thread/s that kick in every 30 seconds are hitting us
> pretty badly. Here's a graph with the latest tests I ran. We get great
> throughput for ~18 seconds but then the world pretty much stops for
> the next ~12 seconds or so making the final numbers look pretty bad.
> This particular graph was plotted when the disk had ~150GB of data
> (total capacity of 3TB).
>
> I am using a 3.16.0-38-generic kernel (upgraded since the time I wrote
> the first email on this thread).
>
> I know fs.xfs.xfssyncd_centisecs controls this interval of 30 seconds.
> What other options can I tune for making this work better?
>
> We have 8 disks. And unfortunately, all 8 disks are brought to a halt
> every 30 seconds. Does XFS have options to only work on a subset of
> disks at a time?
>
> Also, what does XFS exactly do every 30 seconds? If I understand it
> right, metadata can be 3 locations:
>
> 1. Memory
> 2. Log buffer on disk
> 3. Final location on disk.
>
> Every 30 seconds, from where to where is this metadata being copied?
> Are there ways to just disable this to avoid the stop-of-the-world
> pauses (at the cost of lower but sustained performance)?
I can't use this information to help you as you haven't presented
any of the data I've asked for. We need to restart here and base
everything on data and observation. i.e. first principles.
Can you provide all of the information here:
http://xfs.org/index.php/XFS_FAQ#Q:_What_information_should_I_include_when_reporting_a_problem.3F
and most especially the iostat and vmstat outputs while the problem
is occurring. The workload description is not what is going wrong
or what you think is happening, but a description of the application
you are running that causes the problem.
This will give me a baseline of your hardware, the software, the
behaviour and the application you are running, and hence give me
something to start with.
I'd also like to see the output from perf top while the problem is
occurring, so we might be able to see what is generating the IO...
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2015-06-03 3:57 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-10 4:23 XFS Syncd Shrinand Javadekar
2015-04-10 6:32 ` Dave Chinner
2015-04-10 6:51 ` Shrinand Javadekar
2015-04-10 7:21 ` Dave Chinner
2015-04-10 7:29 ` Shrinand Javadekar
2015-04-10 13:12 ` Dave Chinner
2015-06-02 18:43 ` Shrinand Javadekar
2015-06-03 3:57 ` Dave Chinner [this message]
2015-06-03 23:18 ` Shrinand Javadekar
2015-06-04 0:35 ` Dave Chinner
2015-06-04 0:58 ` Shrinand Javadekar
2015-06-04 1:55 ` Dave Chinner
2015-06-04 1:25 ` Dave Chinner
2015-06-04 2:03 ` Dave Chinner
2015-06-04 6:23 ` Dave Chinner
2015-06-04 7:26 ` Shrinand Javadekar
2015-06-04 22:08 ` Dave Chinner
2015-06-05 0:59 ` Shrinand Javadekar
2015-06-05 17:31 ` Shrinand Javadekar
2015-06-08 21:56 ` Shrinand Javadekar
2015-06-09 23:12 ` Dave Chinner
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=20150603035719.GO24666@dastard \
--to=david@fromorbit.com \
--cc=shrinand@maginatics.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