From: "Zhang, Yanmin" <yanmin_zhang@linux.intel.com>
To: Corrado Zoccolo <czoccolo@gmail.com>
Cc: Jens Axboe <jens.axboe@oracle.com>,
LKML <linux-kernel@vger.kernel.org>,
Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: fio rand read/write regression with 2.6.32-rc3
Date: Mon, 12 Oct 2009 13:50:16 +0800 [thread overview]
Message-ID: <1255326616.3684.27.camel@ymzhang> (raw)
In-Reply-To: <4e5e476b0910110123s54debc6as435c9cc0d5e8340c@mail.gmail.com>
On Sun, 2009-10-11 at 10:23 +0200, Corrado Zoccolo wrote:
> On Sat, Oct 10, 2009 at 11:52 AM, Zhang, Yanmin
> <yanmin_zhang@linux.intel.com> wrote:
> > On Sat, 2009-10-10 at 10:01 +0200, Jens Axboe wrote:
> >> On Sat, Oct 10 2009, Zhang, Yanmin wrote:
> >> > Comparing with 2.6.23-rc1's result, fio rand read write has regression
> >> > on my 2*4 core stoakley machine (8GB memory) with a JBOD of 12 disks.
> >> >
> >> > Every disk has 8 1-GB files. Start 8 sub-processes per disk and every
> >> > process random chooses a file on the disk to do 36 times of file read or
> >> > write on the file and then choose another file.
> >> >
> >> >
> >> > fio_mmap_rand_read_4k regresion is about 35%.
> >>
> >> Heh, I seem to recollect I told Linus that this would cost is 30-40%
> >> performance. So not totally crazy.
> >>
> >> So yes, this isn't hugely unexpected. If you send me your fio job files,
> >> I'll try and see what I can do about it.
> > See the attachment.
> >
> Hi Yanmin,
> the fio test you sent just performs random read, no write seems involved here.
Sorry for not sending all the job files because they are similiar and big.
You could change the job file to run rand write and readwrite.
> I suspect that you should be able to observe the same regression if
> you just run on a single disk. Can you confirm?
> Is your disk a SATA2 rotational disk with NCQ?
It's a JOBD with 12 SAS disks.
Another machine's JBOD has 13 SCSI disks.
Based on your suggestion, I tested it on a single SAS disk (create 8 1-GB file and
start 8 processes) and get 30% regression. On a single SCSI disk, there is also about
30% regression. On a single SATA (SATA link up 1.5 Gbps) disk with NCQ, the regression
is about 20%.
Perhaps the job file causes fio to deliver too many I/O requests, sometimes kernel
print out some blocking info like below:
Apr 8 23:54:19 lkp-tulsa01-x8664 kernel: INFO: task kjournald:6261 blocked for more than 120 seconds.
Apr 8 23:54:19 lkp-tulsa01-x8664 kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Apr 8 23:54:19 lkp-tulsa01-x8664 kernel: kjournald D ffff88002f228180 0 6261 2
Apr 8 23:54:19 lkp-tulsa01-x8664 kernel: ffff88027ab09910 0000000000000046 0000000000000000 ffff88027cc20440
Apr 8 23:54:19 lkp-tulsa01-x8664 kernel: ffff88027f0c66a0 ffff88027ab09bb0 0000000100000e56 000000007cc20440
Apr 8 23:54:19 lkp-tulsa01-x8664 kernel: ffff88027a915480 ffffffff803678a9 0000000000000000 0000000100000000
Apr 8 23:54:19 lkp-tulsa01-x8664 kernel: Call Trace:
Apr 8 23:54:19 lkp-tulsa01-x8664 kernel: [<ffffffff803678a9>] ? __make_request+0x310/0x40b
Apr 8 23:54:19 lkp-tulsa01-x8664 kernel: [<ffffffff802b5571>] ? sync_buffer+0x0/0x3f
Apr 8 23:54:19 lkp-tulsa01-x8664 kernel: [<ffffffff805aeadf>] ? schedule+0x9/0x1d
prev parent reply other threads:[~2009-10-12 5:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-10 5:48 fio rand read/write regression with 2.6.32-rc3 Zhang, Yanmin
2009-10-10 8:01 ` Jens Axboe
2009-10-10 8:02 ` Jens Axboe
2009-10-10 9:47 ` Zhang, Yanmin
2009-10-10 9:52 ` Zhang, Yanmin
2009-10-11 8:23 ` Corrado Zoccolo
2009-10-12 5:50 ` Zhang, Yanmin [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=1255326616.3684.27.camel@ymzhang \
--to=yanmin_zhang@linux.intel.com \
--cc=czoccolo@gmail.com \
--cc=jens.axboe@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.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