linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: dave b <db.pub.mail@gmail.com>
To: Dave Chinner <david@fromorbit.com>
Cc: Sanjoy Mahajan <sanjoy@olin.edu>, Jesper Juhl <jj@chaosbits.net>,
	Chris Mason <chris.mason@oracle.com>, Ingo Molnar <mingo@elte.hu>,
	Pekka Enberg <penberg@kernel.org>,
	Aidar Kultayev <the.aidar@gmail.com>,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Jens Axboe <axboe@kernel.dk>,
	Peter Zijlstra <a.p.zijlstra@chello.nl>,
	Nick Piggin <npiggin@suse.de>,
	Arjan van de Ven <arjan@infradead.org>,
	Thomas Gleixner <tglx@linutronix.de>, Ted Ts'o <tytso@mit.edu>,
	Corrado Zoccolo <czoccolo@gmail.com>,
	Shaohua Li <shaohua.li@intel.com>,
	Steven Barrett <damentz@gmail.com>
Subject: Re: 2.6.36 io bring the system to its knees
Date: Sun, 7 Nov 2010 17:06:22 +1100	[thread overview]
Message-ID: <AANLkTikbcTwZ5ttafqQTQgJ4sxbcpOrDhAQgDURgoimL@mail.gmail.com> (raw)
In-Reply-To: <20101106151237.GM13830@dastard>

On 7 November 2010 02:12, Dave Chinner <david@fromorbit.com> wrote:
> On Sun, Nov 07, 2010 at 01:10:24AM +1100, dave b wrote:
>> I now personally have thought that this problem is the kernel not
>> keeping track of reads vs writers properly  or not providing enough
>> time to reading processes as writing ones which look like they are
>> blocking the system....
>
> Could be anything from that description....
>
>> If you want to do a simple test do an unlimited dd  (or two dd's of a
>> limited size, say 10gb) and a find /
>> Tell me how it goes :)
>
> The find runs at IO latency speed while the dd processes run at disk
> bandwidth:
>
> Device:         rrqm/s   wrqm/s     r/s     w/s    rMB/s    wMB/s avgrq-sz avgqu-sz   await  svctm  %util
> vda               0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
> vdb               0.00     0.00   58.00 1251.00     0.45   556.54   871.45    26.69   20.39   0.72  94.32
> sda               0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
>
> That looks pretty normal to me for XFS and the noop IO scheduler,
> and there are no signs of latency or interactive problems in
> the system at all. Kill the dd's and:
>
> Device:         rrqm/s   wrqm/s     r/s     w/s    rMB/s    wMB/s avgrq-sz avgqu-sz   await  svctm  %util
> vda               0.00     0.00    0.00    0.00     0.00     0.00 0.00     0.00    0.00   0.00   0.00
> vdb               0.00     0.00  214.80    0.40     1.68     0.00 15.99     0.33    1.54   1.54  33.12
> sda               0.00     0.00    0.00    0.00     0.00     0.00 0.00     0.00    0.00   0.00   0.00
>
> And the find runs 3-4x faster, but ~200 iops is about the limit
> I'd expect from 7200rpm SATA drives given a single thread issuing IO
> (i.e. 5ms average seek time).
>
>> ( the system will stall)
>
> No, the system doesn't stall at all. It runs just fine. Sure,
> anything that requires IO on the loaded filesystem is _slower_, but
> if you're writing huge files to it that's pretty much expected. The
> root drive (on a different spindle) is still perfectly responsive on
> a cold cache:
>
> $ sudo time find / -xdev > /dev/null
> 0.10user 1.87system 0:03.39elapsed 58%CPU (0avgtext+0avgdata 7008maxresident)k
> 0inputs+0outputs (1major+844minor)pagefaults 0swap
>
> So what you describe is not a systemic problem, but a problem that
> your system configuration triggers. That's why we need to know
> _exactly_ how your storage subsystem is configured....
>
>> http://article.gmane.org/gmane.linux.kernel.device-mapper.dm-crypt/4561
>> iirc can reproduce this on plain ext3.
>
> You're pointing to a "fsync-tester" program that exercises a
> well-known problem with ext3 (sync-the-world-on-fsync). Other
> filesystems do not have that design flaw so don't suffer from
> interactivity problems uner these workloads.  As it is, your above
> dd workload example is not related to this fsync problem, either.
>
> This is what I'm trying to point out - you need to describe in
> significant detail your setup and what your applications are doing
> so we can identify if you are seeing a known problem or not. If you
> are seeing problems as a result of the above ext3 fsync problem,
> then the simple answer is "don't use ext3".

Thank you for your reply.
Well I am not sure :)
Is the answer "don't use ext3" ?
If it is what should I really be using instead?

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2010-11-07  6:06 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <AANLkTimt7wzR9RwGWbvhiOmot_zzayfCfSh_-v6yvuAP@mail.gmail.com>
     [not found] ` <AANLkTikRKVBzO=ruy=JDmBF28NiUdJmAqb4-1VhK0QBX@mail.gmail.com>
     [not found]   ` <AANLkTinzJ9a+9w7G5X0uZpX2o-L8E6XW98VFKoF1R_-S@mail.gmail.com>
2010-10-28  6:09     ` Aidar Kultayev
2010-10-28  6:32       ` Pekka Enberg
2010-10-28  9:00         ` Ingo Molnar
2010-10-28  9:34           ` Pekka Enberg
2010-10-28 11:16           ` Pekka Enberg
2010-10-28 11:33             ` Aidar Kultayev
2010-10-28 11:48               ` Pekka Enberg
2010-10-28 12:18                 ` Aidar Kultayev
2010-10-28 13:46                 ` Christoph Hellwig
2010-10-28 13:54                   ` Ingo Molnar
2010-10-28 13:30             ` Ingo Molnar
2010-10-28 13:47               ` Christoph Hellwig
2010-10-28 13:50                 ` Ingo Molnar
2010-10-28 17:01               ` Chris Mason
2010-10-28 17:57                 ` Pekka Enberg
2010-10-29 14:52                   ` Ted Ts'o
2010-10-29 15:33                     ` Aidar Kultayev
2010-10-30  9:14                       ` Ingo Molnar
2010-10-30 13:02                         ` Aidar Kultayev
2010-10-30 19:06                           ` Chris Mason
2010-10-31  2:31                           ` Ted Ts'o
2010-10-31 17:49                             ` Corrado Zoccolo
2010-11-02  3:10                           ` Shaohua Li
2010-11-02 11:47                 ` Sanjoy Mahajan
2010-11-02 13:12                   ` Chris Mason
2010-11-04 16:05                     ` Sanjoy Mahajan
2010-11-04 23:35                       ` Steven Barrett
2010-11-04 23:44                 ` Jesper Juhl
2010-11-04 23:48                   ` Jesper Juhl
2010-11-05  1:43                     ` Dave Chinner
2010-11-05 12:48                       ` Sanjoy Mahajan
2010-11-06 14:10                         ` dave b
2010-11-06 15:12                           ` Dave Chinner
2010-11-07  6:06                             ` dave b [this message]
2010-11-07 12:08                           ` Jens Axboe
2010-11-07 15:50                             ` Linus Torvalds
2010-11-10  1:32                               ` Dave Chinner
2010-11-10  2:01                                 ` dave b
2010-11-10  8:08                                 ` Evgeniy Ivanov
2010-11-10  8:24                                   ` Dave Chinner
2010-11-10 14:22                                     ` Pavel Machek
2010-11-10 14:20                                 ` Pavel Machek
2010-11-10 14:27                                   ` Ingo Molnar
2010-11-10 14:55                                     ` Christoph Hellwig
2010-11-10 19:09                                       ` Pavel Machek
2010-11-10 14:33                                 ` Theodore Tso
2010-11-10 14:57                                   ` Christoph Hellwig
2010-11-10 15:00                                     ` Chris Mason
2010-11-10 23:36                                   ` Dave Chinner
2010-11-10 15:59                                 ` Linus Torvalds
2010-11-10 16:46                                   ` Alexey Dobriyan
2010-11-10 16:55                                     ` Linus Torvalds
2010-11-10 17:10                                       ` Alexey Dobriyan
2010-11-10 18:55                                         ` Mark Lord
2010-11-10 18:27                                     ` Mike Galbraith
2010-11-10 23:43                                   ` Dave Chinner
2010-11-06 19:10                         ` Arjan van de Ven
2010-11-07 17:16                       ` Jesper Juhl
2010-11-09 19:47                         ` Evgeniy Ivanov
2010-11-09 20:20                           ` Christoph Hellwig
2010-11-09 21:00                       ` Chris Mason
2010-10-31  1:22       ` Wu Fengguang
2010-10-31  1:51         ` Wu Fengguang
2010-11-01  1:09           ` Dimitrios Apostolou
2010-11-02  1:20             ` Wu Fengguang

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=AANLkTikbcTwZ5ttafqQTQgJ4sxbcpOrDhAQgDURgoimL@mail.gmail.com \
    --to=db.pub.mail@gmail.com \
    --cc=a.p.zijlstra@chello.nl \
    --cc=akpm@linux-foundation.org \
    --cc=arjan@infradead.org \
    --cc=axboe@kernel.dk \
    --cc=chris.mason@oracle.com \
    --cc=czoccolo@gmail.com \
    --cc=damentz@gmail.com \
    --cc=david@fromorbit.com \
    --cc=jj@chaosbits.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mingo@elte.hu \
    --cc=npiggin@suse.de \
    --cc=penberg@kernel.org \
    --cc=sanjoy@olin.edu \
    --cc=shaohua.li@intel.com \
    --cc=tglx@linutronix.de \
    --cc=the.aidar@gmail.com \
    --cc=torvalds@linux-foundation.org \
    --cc=tytso@mit.edu \
    /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