public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Wu Fengguang <wfg@linux.intel.com>
To: Vladislav Bolkhovitin <vst-d+Crzxg7Rs0@public.gmane.org>
Cc: Jens Axboe <jens.axboe@oracle.com>,
	Jeff Moyer <jmoyer@redhat.com>,
	"Vitaly V. Bursov"
	<vitalyb-CNXmb7IdZIXO1JJkmS+EZg@public.gmane.org>,
	linux-kernel@vger.kernel.org, linux-nfs@vger.kernel.org
Subject: Re: Slow file transfer speeds with CFQ IO scheduler in some cases
Date: Thu, 19 Feb 2009 09:38:33 +0800	[thread overview]
Message-ID: <20090219013833.GB5743@localhost> (raw)
In-Reply-To: <499B0979.8050006-d+Crzxg7Rs0@public.gmane.org>

On Tue, Feb 17, 2009 at 10:01:13PM +0300, Vladislav Bolkhovitin wrote:
> Vladislav Bolkhovitin, on 02/12/2009 09:35 PM wrote:
>> Additional interesting observation is how badly simultaneous read IO  
>> streams are handled, if they aren't grouped in the corresponding IO  
>> contexts. In test 3 the result was as low as 4(!)MB/s. Wu, Jens, do you 
>> have any explanation on this? Why the inner tracks have so big 
>> preference?
>
> I realized, there is another explanation: access becomes about to be  
> completely random. I checked and it is true. Here is a sample "iostat -x  
> 3" output on the server:

Yes it's all about 64K sized reads. Is this the stripe size of md0?

Thanks,
Fengguang

> avg-cpu:  %user   %nice %system %iowait  %steal   %idle
>            0.00    0.00    0.57   26.62    0.00   72.81
>
> Device:         rrqm/s   wrqm/s     r/s     w/s   rsec/s   wsec/s  
> avgrq-sz avgqu-sz   await  svctm  %util
> sda             710.00     0.00   47.33    0.00  6058.67     0.00 128.00  
>    0.12    2.59   2.51  11.87
> sdb             710.00     0.00   47.33    0.00  6058.67     0.00 128.00  
>    3.99   84.34  21.13 100.00
> sdc               0.00     0.00    0.00    0.00     0.00     0.00 0.00    
>  0.00    0.00   0.00   0.00
> sdc1              0.00     0.00    0.00    0.00     0.00     0.00 0.00    
>  0.00    0.00   0.00   0.00
> sdc2              0.00     0.00    0.00    0.00     0.00     0.00 0.00    
>  0.00    0.00   0.00   0.00
> md0               0.00     0.00 1514.67    0.00 12117.33     0.00 8.00    
>  0.00    0.00   0.00   0.00
> dm-0              0.00     0.00  757.33    0.00  6058.67     0.00 8.00    
> 32.87   43.41   1.32 100.00
> dm-1              0.00     0.00    0.00    0.00     0.00     0.00 0.00    
>  0.00    0.00   0.00   0.00
> dm-2              0.00     0.00  757.33    0.00  6058.67     0.00 8.00    
> 32.79   43.33   1.32 100.00
>
> Thanks,
> Vlad

      parent reply	other threads:[~2009-02-19  1:38 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20081112190227.GS26778@kernel.dk>
     [not found] ` <1226566313.199910.29888@de>
     [not found]   ` <492BDAA9.4090405@vlnb.net>
     [not found]     ` <20081125113048.GB16422@localhost>
     [not found]       ` <492BE47B.3010802@vlnb.net>
     [not found]         ` <20081125114908.GA16545@localhost>
     [not found]           ` <492BE97A.3050606@vlnb.net>
     [not found]             ` <492BEAE8.9050809@vlnb.net>
     [not found]               ` <20081125121534.GA16778@localhost>
     [not found]                 ` <492EDCFB.7080302@vlnb.net>
     [not found]                   ` <492EDCFB.7080302-d+Crzxg7Rs0@public.gmane.org>
2008-11-28  0:48                     ` Slow file transfer speeds with CFQ IO scheduler in some cases Wu Fengguang
2009-02-12 18:35                       ` Vladislav Bolkhovitin
2009-02-13  1:57                         ` Wu Fengguang
2009-02-13 20:08                           ` Vladislav Bolkhovitin
     [not found]                             ` <4995D339.5050502-d+Crzxg7Rs0@public.gmane.org>
2009-02-16  2:34                               ` Wu Fengguang
2009-02-17 19:03                                 ` Vladislav Bolkhovitin
2009-02-18 18:14                                   ` Vladislav Bolkhovitin
2009-02-19  1:35                                   ` Wu Fengguang
2009-02-17 19:01                           ` Vladislav Bolkhovitin
2009-02-19  2:05                             ` Wu Fengguang
2009-03-19 17:44                               ` Vladislav Bolkhovitin
2009-03-20  8:53                                 ` Vladislav Bolkhovitin
2009-03-23  1:42                                 ` Wu Fengguang
2009-04-21 18:18                                   ` Vladislav Bolkhovitin
2009-04-24  8:43                                     ` Wu Fengguang
2009-05-12 18:13                                       ` Vladislav Bolkhovitin
     [not found]                         ` <49946BE6.1040005-d+Crzxg7Rs0@public.gmane.org>
2009-02-17 19:01                           ` Vladislav Bolkhovitin
     [not found]                             ` <499B0979.8050006-d+Crzxg7Rs0@public.gmane.org>
2009-02-19  1:38                               ` Wu Fengguang [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=20090219013833.GB5743@localhost \
    --to=wfg@linux.intel.com \
    --cc=jens.axboe@oracle.com \
    --cc=jmoyer@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=vitalyb-CNXmb7IdZIXO1JJkmS+EZg@public.gmane.org \
    --cc=vst-d+Crzxg7Rs0@public.gmane.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