mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Fernando Silveira <fsilveira@gmail.com>
To: Wu Fengguang <fengguang.wu@intel.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: I/O and pdflush
Date: Mon, 31 Aug 2009 11:33:43 -0300	[thread overview]
Message-ID: <6afc6d4a0908310733l6426e21fu11d826f6ffa6a2af@mail.gmail.com> (raw)
In-Reply-To: <20090831140713.GA24185@localhost>

[-- Attachment #1: Type: text/plain, Size: 1483 bytes --]

On Mon, Aug 31, 2009 at 11:07, Wu Fengguang<fengguang.wu@intel.com> wrote:
> On Mon, Aug 31, 2009 at 10:01:13PM +0800, Wu Fengguang wrote:
>> On Mon, Aug 31, 2009 at 10:00:06PM +0800, Wu Fengguang wrote:
>> > Hi Fernando,
>> >
>> > What's your SSD's IO parameters? Ie. output of this command:
>> >
>> >         grep -r . /sys/block/sda/queue/
>> >
>> > Please replace 'sda' with your SSD device name.
>>
>> Oh I guess it's sdc:
>>
>>          grep -r . /sys/block/sdc/queue/

Here is it:

# grep -r . /sys/block/sdc/queue/
/sys/block/sdc/queue/nr_requests:128
/sys/block/sdc/queue/read_ahead_kb:128
/sys/block/sdc/queue/max_hw_sectors_kb:128
/sys/block/sdc/queue/max_sectors_kb:128
/sys/block/sdc/queue/scheduler:noop anticipatory [deadline] cfq
/sys/block/sdc/queue/hw_sector_size:512
/sys/block/sdc/queue/rotational:0
/sys/block/sdc/queue/nomerges:0
/sys/block/sdc/queue/rq_affinity:0
/sys/block/sdc/queue/iostats:1
/sys/block/sdc/queue/iosched/read_expire:500
/sys/block/sdc/queue/iosched/write_expire:5000
/sys/block/sdc/queue/iosched/writes_starved:2
/sys/block/sdc/queue/iosched/front_merges:1
/sys/block/sdc/queue/iosched/fifo_batch:16
#

These are probably default settings.

> BTW, would you run "iostat -x 1 5" (which will run 5 seconds) when
> doing I/O in ideal throughput, and when in 25MB/s thoughput state?

Both files are attached (25mbps = 25MB/s, 80mbps = 80MB/s).

Thanks.

-- 
Fernando Silveira <fsilveira@gmail.com>

[-- Attachment #2: log-20090831_0908-MK020903042C0001B-prosar_fcc2-bs_4M-0-iostat_x_1_5-80mbps_3.log --]
[-- Type: application/octet-stream, Size: 5411 bytes --]

Linux 2.6.30.1-fs33 (prosar-fcc2) 	08/31/2009 	_i686_

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           0.16    0.00    8.16   74.81    0.00   16.86

Device:         rrqm/s   wrqm/s     r/s     w/s   rsec/s   wsec/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.06     5.50    1.40    7.00    22.13    99.99    14.53     2.07  245.98  29.26  24.59
sda1              0.06     5.50    1.40    7.00    22.09    99.99    14.53     2.07  246.04  29.27  24.59
sdb               1.04     0.00    0.02    0.00     1.16     0.00    74.00     0.00    1.35   0.51   0.00
sdb1              0.04     0.00    0.00    0.00     0.13     0.00    36.53     0.00    0.56   0.44   0.00
sdb2              1.00     0.00    0.01    0.00     1.01     0.00    97.29     0.00    1.82   0.65   0.00
sdc               1.04 46806.13    0.02  368.56     1.16 47172.95   127.99   117.32  318.29   2.24  82.62
sdc1              0.04     0.00    0.00    0.00     0.13     0.00    36.53     0.00    0.71   0.53   0.00
sdc2              1.00 46806.13    0.01  368.56     1.01 47172.95   127.99   117.32  318.30   2.24  82.62

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           0.00    0.00   27.00   73.00    0.00    0.00

Device:         rrqm/s   wrqm/s     r/s     w/s   rsec/s   wsec/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.00    10.00    0.00   17.00     0.00   216.00    12.71     0.49    6.12   7.76  13.20
sda1              0.00    10.00    0.00   17.00     0.00   216.00    12.71     0.49    6.12   7.76  13.20
sdb               0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
sdb1              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
sdb2              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
sdc               0.00 153328.00    0.00 1196.00     0.00 153088.00   128.00   137.36  114.77   0.84 100.10
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 153328.00    0.00 1196.00     0.00 153088.00   128.00   137.36  114.77   0.84 100.10

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           0.00    0.00   27.86   72.14    0.00    0.00

Device:         rrqm/s   wrqm/s     r/s     w/s   rsec/s   wsec/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.00     0.00    0.00    8.00     0.00    64.00     8.00     5.41  537.62 125.12 100.10
sda1              0.00     0.00    0.00    8.00     0.00    64.00     8.00     5.41  537.62 125.12 100.10
sdb               0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
sdb1              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
sdb2              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
sdc               0.00 153504.00    0.00 1200.00     0.00 153600.00   128.00   138.35  115.76   0.83 100.10
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 153504.00    0.00 1200.00     0.00 153600.00   128.00   138.35  115.76   0.83 100.10

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           0.00    0.00   27.14   72.86    0.00    0.00

Device:         rrqm/s   wrqm/s     r/s     w/s   rsec/s   wsec/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.00     1.98    0.00    8.91     0.00    87.13     9.78     2.24  417.44 105.33  93.86
sda1              0.00     1.98    0.00    8.91     0.00    87.13     9.78     2.24  417.44 105.33  93.86
sdb               0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
sdb1              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
sdb2              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
sdc               0.00 149798.02    0.00 1187.13     0.00 151952.48   128.00   137.76  115.17   0.84  99.21
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 149798.02    0.00 1187.13     0.00 151952.48   128.00   137.76  115.17   0.84  99.21

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           0.50    0.00   23.38   76.12    0.00    0.00

Device:         rrqm/s   wrqm/s     r/s     w/s   rsec/s   wsec/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.00     1.00    0.00   12.00     0.00   104.00     8.67     0.09    7.42   5.75   6.90
sda1              0.00     1.00    0.00   12.00     0.00   104.00     8.67     0.09    7.42   5.75   6.90
sdb               0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
sdb1              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
sdb2              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
sdc               0.00 129120.00    0.00 1013.00     0.00 129664.00   128.00   139.81  116.65   0.99 100.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 129120.00    0.00 1013.00     0.00 129664.00   128.00   139.81  116.65   0.99 100.00


[-- Attachment #3: log-20090831_0908-MK020903042C0001B-prosar_fcc2-bs_4M-0-iostat_x_1_5-25mbps.log --]
[-- Type: application/octet-stream, Size: 5395 bytes --]

Linux 2.6.30.1-fs33 (prosar-fcc2) 	08/31/2009 	_i686_

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           0.16    0.00    7.93   74.27    0.00   17.64

Device:         rrqm/s   wrqm/s     r/s     w/s   rsec/s   wsec/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.07     5.72    0.57    6.91    15.94   101.03    15.63     2.12  283.40  32.21  24.11
sda1              0.07     5.72    0.57    6.91    15.91   101.03    15.63     2.12  283.48  32.22  24.11
sdb               1.10     0.00    0.02    0.00     1.23     0.00    74.00     0.00    1.35   0.51   0.00
sdb1              0.05     0.00    0.00    0.00     0.14     0.00    36.53     0.00    0.56   0.44   0.00
sdb2              1.06     0.00    0.01    0.00     1.07     0.00    97.29     0.00    1.82   0.65   0.00
sdc               1.10 45638.09    0.02  359.34     1.23 45995.35   128.00   115.88  322.44   2.27  81.58
sdc1              0.05     0.00    0.00    0.00     0.14     0.00    36.53     0.00    0.71   0.53   0.00
sdc2              1.06 45638.09    0.01  359.34     1.07 45995.35   128.00   115.88  322.45   2.27  81.58

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           0.00    0.00    4.00   96.00    0.00    0.00

Device:         rrqm/s   wrqm/s     r/s     w/s   rsec/s   wsec/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.00     1.00    0.00    5.00     0.00    48.00     9.60     0.41   82.20  52.40  26.20
sda1              0.00     1.00    0.00    5.00     0.00    48.00     9.60     0.41   82.20  52.40  26.20
sdb               0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
sdb1              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
sdb2              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
sdc               0.00 24384.00    0.00  197.00     0.00 25216.00   128.00   142.38  361.40   5.08 100.10
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 24384.00    0.00  197.00     0.00 25216.00   128.00   142.38  361.40   5.08 100.10

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           0.00    0.00   13.00   87.00    0.00    0.00

Device:         rrqm/s   wrqm/s     r/s     w/s   rsec/s   wsec/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.00     0.00    0.00    9.00     0.00    72.00     8.00     0.99  110.56  59.33  53.40
sda1              0.00     0.00    0.00    9.00     0.00    72.00     8.00     0.99  110.56  59.33  53.40
sdb               0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
sdb1              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
sdb2              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
sdc               0.00 69088.00    0.00  552.00     0.00 70656.00   128.00   142.75  386.39   1.81 100.10
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 69088.00    0.00  552.00     0.00 70656.00   128.00   142.75  386.39   1.81 100.10

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           0.00    0.00    6.00   94.00    0.00    0.00

Device:         rrqm/s   wrqm/s     r/s     w/s   rsec/s   wsec/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.00    10.00    0.00    9.00     0.00   144.00    16.00     4.36  169.89  84.22  75.80
sda1              0.00    10.00    0.00    9.00     0.00   144.00    16.00     4.36  169.89  84.22  75.80
sdb               0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
sdb1              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
sdb2              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
sdc               0.00 26543.00    0.00  195.00     0.00 24960.00   128.00   143.91  298.28   5.13 100.10
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 26543.00    0.00  195.00     0.00 24960.00   128.00   143.91  298.28   5.13 100.10

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           0.00    0.00   12.00   88.00    0.00    0.00

Device:         rrqm/s   wrqm/s     r/s     w/s   rsec/s   wsec/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.00     0.00    0.00    7.00     0.00    64.00     9.14     5.02  947.00 143.00 100.10
sda1              0.00     0.00    0.00    7.00     0.00    64.00     9.14     5.02  947.00 143.00 100.10
sdb               0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
sdb1              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
sdb2              0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
sdc               0.00 70993.00    0.00  568.00     0.00 72704.00   128.00   142.37  403.06   1.76 100.10
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 70993.00    0.00  568.00     0.00 72704.00   128.00   142.37  403.06   1.76 100.10


  reply	other threads:[~2009-08-31 14:40 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-11 17:27 Fernando Silveira
2009-07-12  8:04 ` Wu Fengguang
2009-08-28 21:48   ` Fernando Silveira
2009-08-29 10:12     ` Wu Fengguang
2009-08-29 10:21       ` Wu Fengguang
2009-08-31 13:24         ` Fernando Silveira
2009-08-31 14:00           ` Wu Fengguang
2009-08-31 14:01             ` Wu Fengguang
2009-08-31 14:07               ` Wu Fengguang
2009-08-31 14:33                 ` Fernando Silveira [this message]
2009-09-01  8:14                   ` Wu Fengguang
     [not found]                     ` <6afc6d4a0909010710l2cf77fbbmb1ab192ed12a7efc@mail.gmail.com>
2009-09-02  3:05                       ` Wu Fengguang
     [not found]                         ` <6afc6d4a0909020429l2bfecee9xd00527fcaa323751@mail.gmail.com>
     [not found]                           ` <20090902125057.GA7982@localhost>
     [not found]                             ` <6afc6d4a0909031346qda0b17coe4c60250fcac827f@mail.gmail.com>
2009-09-04  2:21                               ` Wu Fengguang
2009-09-04  2:34                                 ` Wu Fengguang
     [not found] <cWOyL-3Ys-15@gated-at.bofh.it>
2009-08-31 21:57 ` Daniel J Blueman
2009-09-01 14:33   ` Fernando Silveira

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=6afc6d4a0908310733l6426e21fu11d826f6ffa6a2af@mail.gmail.com \
    --to=fsilveira@gmail.com \
    --cc=fengguang.wu@intel.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®