mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Chen, Kenneth W" <kenneth.w.chen@intel.com>
To: "'AVANTIKA R. MATHUR'" <mathur@linux.vnet.ibm.com>,
	"Jens Axboe" <jens.axboe@oracle.com>
Cc: "Avantika Mathur" <mathur@us.ibm.com>, <linux-kernel@vger.kernel.org>
Subject: RE: cfq performance gap
Date: Tue, 12 Dec 2006 21:23:31 -0800	[thread overview]
Message-ID: <000001c71e76$d4930e90$bb89030a@amr.corp.intel.com> (raw)
In-Reply-To: <457F583B.9090109@linux.vnet.ibm.com>

AVANTIKA R. MATHUR wrote on Tuesday, December 12, 2006 5:33 PM
> >> rawio is actually performing sequential reads, but I don't believe it is
> >> purely sequential with the multiple processes.
> >> I am currently running the test with longer runtimes and will post
> >> results once it is complete.
> >> I've also attached the rawio source.
> >>     
> >
> > It's certainly the slice and idling hurting here. But at the same time,
> > I don't really think your test case is very interesting. The test area
> > is very small and you have 16 threads trying to read the same thing,
> > optimizing for that would be silly as I don't think it has much real
> > world relevance.
> 
> Could a database have similar workload to this test?


No.

Not what I have seen with db workloads exhibits such pattern.  There are
basically two types of db workloads: one does transaction processing, and
I/O pattern are truly random with large stride, both in the context of
process and overall I/O seen at device level.  A second one is decision
making type of db queries.  They does large sequential I/O within one
process context.

This rawio test plows through sequential I/O and modulo each small record
over number of threads.  So each thread appears to be non-contiguous within
its own process context, overall request hitting the device are sequential.
I can't see how any application does that kind of I/O pattern.

- Ken

  reply	other threads:[~2006-12-13  5:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-08  0:03 Avantika Mathur
2006-12-08 12:05 ` Jens Axboe
2006-12-08 22:09   ` Avantika Mathur
2006-12-11 14:08     ` Jens Axboe
2006-12-13  1:32       ` AVANTIKA R. MATHUR
2006-12-13  5:23         ` Chen, Kenneth W [this message]
2006-12-13  9:56           ` Miquel van Smoorenburg
2006-12-13 16:20             ` Chen, Kenneth W
2006-12-13 16:41               ` Miquel van Smoorenburg
2006-12-13  6:52         ` Jens Axboe

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='000001c71e76$d4930e90$bb89030a@amr.corp.intel.com' \
    --to=kenneth.w.chen@intel.com \
    --cc=jens.axboe@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mathur@linux.vnet.ibm.com \
    --cc=mathur@us.ibm.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

Powered by JetHome