Return-Path: <oracle-l-bounce@freelists.org>
Delivered-To: 2-oracle-l@orafaq.com
Received: (qmail 11246 invoked from network); 12 Dec 2006 09:17:09 -0600
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by 69.64.49.119 with SMTP; 12 Dec 2006 09:17:05 -0600
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 7A6195649E0;
 Tue, 12 Dec 2006 10:16:08 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 09954-07; Tue, 12 Dec 2006 10:16:08 -0500 (EST)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id D50C65661DA;
 Tue, 12 Dec 2006 10:16:07 -0500 (EST)
Received: with ECARTIS (v1.0.0; list oracle-l); Tue, 12 Dec 2006 10:15:03 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 6AD56564612
 for <oracle-l@freelists.org>; Tue, 12 Dec 2006 10:15:03 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 09552-04 for <oracle-l@freelists.org>;
 Tue, 12 Dec 2006 10:15:03 -0500 (EST)
Received: from sxexscan2.qg.com (MAIL.openfirst.com [161.49.252.5])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id D98D3565F97
 for <oracle-l@freelists.org>; Tue, 12 Dec 2006 10:15:02 -0500 (EST)
Received: from unknown (HELO waexsmtp2.qg.com) ([192.168.3.29])
  by sxexscan2.qg.com with ESMTP; 12 Dec 2006 09:17:46 -0600
X-IronPort-AV: i="4.09,525,1157346000"; 
   d="scan'208,217"; a="80708025:sNHT32832289"
Received: from SXEXPF1.qg.com ([172.25.24.223]) by waexsmtp2.qg.com with Microsoft SMTPSVC(6.0.3790.1830);
	 Tue, 12 Dec 2006 09:15:56 -0600
Received: from QTEX1.qg.com ([172.25.130.31]) by SXEXPF1.qg.com with Microsoft SMTPSVC(6.0.3790.1830);
	 Tue, 12 Dec 2006 09:15:56 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C71E00.6BDC6E6E"
Subject: RE: I/O and db_file_multiblock_read_count
Date: Tue, 12 Dec 2006 09:15:56 -0600
Message-ID: <FB5D3CCFCECC2948B5DCF4CABDBE6697A5270D@QTEX1.qg.com>
In-Reply-To: <5D2570CAFC98974F9B6A759D1C74BAD001C33775@ex2.ms.polyserve.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: I/O and db_file_multiblock_read_count
From: "Jesse, Rich" <Rich.Jesse@qg.com>
To: <kevinc@polyserve.com>,
 "oracle-l" <oracle-l@freelists.org>
X-OriginalArrivalTime: 12 Dec 2006 15:15:56.0619 (UTC) FILETIME=[6C1F91B0:01C71E00]
X-TM-AS-Product-Ver: SMEX-7.0.0.1499-3.6.1039-14868.003
X-TM-AS-Result: No--9.705500-0.000000-1
X-archive-position: 43033
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: Rich.Jesse@qg.com
Precedence: normal
Reply-to: Rich.Jesse@qg.com
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:steve.adams@ixora.com.au>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at avenirtech.net
------_=_NextPart_001_01C71E00.6BDC6E6E
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I'm guessing that I'm limited by CPU on this IBM JS21 blade's LPAR (MPV,
2 cores max) with an SVC (virtualized SAN) backend.  topas showed kernel
mode CPU >95% for most of the tests.
=20
/oracle $ time dd if=3DS.dbf of=3D/dev/zero bs=3D1024k
16384+1 records in
16384+1 records out
=20
real    1m3.044s
user    0m0.271s
sys     0m42.458s

/oracle $ time dd if=3DS.dbf of=3D/dev/zero bs=3D1024k
16384+1 records in
16384+1 records out
=20
real    1m2.923s
user    0m0.249s
sys     0m42.325s

t/oracle $ time dd if=3DS.dbf of=3D/dev/zero bs=3D128k
131072+1 records in
131072+1 records out
=20
real    1m2.789s
user    0m0.709s
sys     0m41.665s

/oracle $ time dd if=3DS.dbf of=3D/dev/zero bs=3D128k
131072+1 records in
131072+1 records out
=20
real    1m2.497s
user    0m0.688s
sys     0m41.422s

/oracle $ time dd if=3DS.dbf of=3D/dev/zero bs=3D8192k
2048+1 records in
2048+1 records out
=20
real    1m2.601s
user    0m0.106s
sys     0m41.666s

/oracle $ time dd if=3DS.dbf of=3D/dev/zero bs=3D8192k
2048+1 records in
2048+1 records out
=20
real    1m2.628s
user    0m0.099s
sys     0m41.621s

Rich

________________________________

From: oracle-l-bounce@freelists.org
[mailto:oracle-l-bounce@freelists.org] On Behalf Of Kevin Closson
Sent: Monday, December 11, 2006 3:19 PM
To: oracle-l
Subject: RE: I/O and db_file_multiblock_read_count


OK, we should all throw our dd(1) microbenchmark results out there...
This
is a DL-585 with 2Gb FCP to a PolyServe CFS monted in direct I/O mode.
The
single LUN is RAID 1+0 st_width 1MB striped across 65 15K RPM drives
(hey,
I get to play with nice toys...)
=20
The file is 16GB=20
=20
$ time dd if=3Df1 of=3D/dev/zero bs=3D1024k
16384+0 records in
16384+0 records out
=20
real    1m47.220s
user    0m0.009s
sys     0m5.175s
$ time dd if=3Df1 of=3D/dev/zero bs=3D128k
131072+0 records in
131072+0 records out
=20
real    2m52.157s
user    0m0.056s
sys     0m7.126s

For grins I through in huge I/O sizes (yes this is acutally issuing 8MB
blocking reads)
=20
$
$ time dd if=3Df1 of=3D/dev/zero bs=3D8192k
2048+0 records in
2048+0 records out
=20
real    1m32.710s
user    0m0.002s
sys     0m3.984s

=20
Large I/Os get chopped up in the scsi midlayer of Linux, but like what
is happening if you
get less tput with larger I/Os is you have few drives and a stripe with
that is causing each
disk to be hit more than once for every I/O (that is bad). =20
=20
=20
=20

------_=_NextPart_001_01C71E00.6BDC6E6E
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.2995" name=3DGENERATOR></HEAD>
<BODY>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D022200915-12122006><FONT =
color=3D#0000ff=20
size=3D2>I'm guessing that I'm&nbsp;limited by CPU on this&nbsp;IBM JS21 =
blade's=20
LPAR (MPV, 2 cores&nbsp;max)&nbsp;with an SVC (virtualized SAN) =
backend.&nbsp;=20
topas showed kernel mode CPU &gt;95% for most of the =
tests.</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D022200915-12122006><FONT =
color=3D#0000ff=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D022200915-12122006><FONT =
color=3D#0000ff=20
size=3D2>/oracle $ time dd if=3DS.dbf of=3D/dev/zero =
bs=3D1024k<BR>16384+1 records=20
in<BR>16384+1 records out</FONT></SPAN></DIV>
<DIV><FONT color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D022200915-12122006><FONT =
color=3D#0000ff=20
size=3D2>real&nbsp;&nbsp;&nbsp; 1m3.044s<BR>user&nbsp;&nbsp;&nbsp;=20
0m0.271s<BR>sys&nbsp;&nbsp;&nbsp;&nbsp; =
0m42.458s<BR></FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D022200915-12122006><FONT =
color=3D#0000ff=20
size=3D2>/oracle $ time dd if=3DS.dbf of=3D/dev/zero =
bs=3D1024k<BR>16384+1 records=20
in<BR>16384+1 records out</FONT></SPAN></DIV>
<DIV><FONT color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D022200915-12122006><FONT =
color=3D#0000ff=20
size=3D2>real&nbsp;&nbsp;&nbsp; 1m2.923s<BR>user&nbsp;&nbsp;&nbsp;=20
0m0.249s<BR>sys&nbsp;&nbsp;&nbsp;&nbsp; 0m42.325s</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D022200915-12122006><FONT =
color=3D#0000ff=20
size=3D2><BR>t/oracle $ time dd if=3DS.dbf of=3D/dev/zero =
bs=3D128k<BR>131072+1 records=20
in<BR>131072+1 records out</FONT></SPAN></DIV>
<DIV><FONT color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D022200915-12122006><FONT =
color=3D#0000ff=20
size=3D2>real&nbsp;&nbsp;&nbsp; 1m2.789s<BR>user&nbsp;&nbsp;&nbsp;=20
0m0.709s<BR>sys&nbsp;&nbsp;&nbsp;&nbsp; 0m41.665s</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D022200915-12122006><FONT =
color=3D#0000ff=20
size=3D2><BR>/oracle $ time dd if=3DS.dbf of=3D/dev/zero =
bs=3D128k<BR>131072+1 records=20
in<BR>131072+1 records out</FONT></SPAN></DIV>
<DIV><FONT color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D022200915-12122006><FONT =
color=3D#0000ff=20
size=3D2>real&nbsp;&nbsp;&nbsp; 1m2.497s<BR>user&nbsp;&nbsp;&nbsp;=20
0m0.688s<BR>sys&nbsp;&nbsp;&nbsp;&nbsp; =
0m41.422s<BR></FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D022200915-12122006><FONT =
color=3D#0000ff=20
size=3D2>/oracle $ time dd if=3DS.dbf of=3D/dev/zero =
bs=3D8192k<BR>2048+1 records=20
in<BR>2048+1 records out</FONT></SPAN></DIV>
<DIV><FONT color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D022200915-12122006><FONT =
color=3D#0000ff=20
size=3D2>real&nbsp;&nbsp;&nbsp; 1m2.601s<BR>user&nbsp;&nbsp;&nbsp;=20
0m0.106s<BR>sys&nbsp;&nbsp;&nbsp;&nbsp; =
0m41.666s<BR></FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D022200915-12122006><FONT =
color=3D#0000ff=20
size=3D2>/oracle $ time dd if=3DS.dbf of=3D/dev/zero =
bs=3D8192k<BR>2048+1 records=20
in<BR>2048+1 records out</FONT></SPAN></DIV>
<DIV><FONT color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D022200915-12122006><FONT =
color=3D#0000ff=20
size=3D2>real&nbsp;&nbsp;&nbsp; 1m2.628s<BR>user&nbsp;&nbsp;&nbsp;=20
0m0.099s<BR>sys&nbsp;&nbsp;&nbsp;&nbsp; =
0m41.621s<BR></FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D022200915-12122006><FONT =
color=3D#0000ff=20
size=3D2>Rich</DIV></FONT></SPAN><BR>
<DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
<HR tabIndex=3D-1>
<FONT face=3DTahoma size=3D2><B>From:</B> oracle-l-bounce@freelists.org=20
[mailto:oracle-l-bounce@freelists.org] <B>On Behalf Of </B>Kevin=20
Closson<BR><B>Sent:</B> Monday, December 11, 2006 3:19 PM<BR><B>To:</B>=20
oracle-l<BR><B>Subject:</B> RE: I/O and=20
db_file_multiblock_read_count<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D386411021-11122006>OK, we should all throw our dd(1) =
microbenchmark=20
results out there... This</SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D386411021-11122006>is a DL-585 with 2Gb FCP to a PolyServe CFS =
monted in=20
direct I/O mode. The</SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D386411021-11122006>single LUN is RAID 1+0 st_width 1MB striped =
across 65=20
15K RPM drives (hey,</SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D386411021-11122006>I get to play with nice =
toys...)</SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D386411021-11122006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D386411021-11122006>The file is 16GB </SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D386411021-11122006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D386411021-11122006>$ time dd if=3Df1 of=3D/dev/zero =
bs=3D1024k<BR>16384+0=20
records in<BR>16384+0 records out</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D386411021-11122006>real&nbsp;&nbsp;&nbsp;=20
1m47.220s<BR>user&nbsp;&nbsp;&nbsp; =
0m0.009s<BR>sys&nbsp;&nbsp;&nbsp;&nbsp;=20
0m5.175s<BR>$ time dd if=3Df1 of=3D/dev/zero bs=3D128k<BR>131072+0 =
records=20
in<BR>131072+0 records out</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D386411021-11122006>real&nbsp;&nbsp;&nbsp;=20
2m52.157s<BR>user&nbsp;&nbsp;&nbsp; =
0m0.056s<BR>sys&nbsp;&nbsp;&nbsp;&nbsp;=20
0m7.126s<BR></SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D386411021-11122006>For grins I through in huge I/O sizes (yes =
this is=20
acutally issuing 8MB blocking reads)</SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D386411021-11122006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D386411021-11122006>$<BR>$ time dd if=3Df1 of=3D/dev/zero =
bs=3D8192k<BR>2048+0=20
records in<BR>2048+0 records out</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D386411021-11122006>real&nbsp;&nbsp;&nbsp;=20
1m32.710s<BR>user&nbsp;&nbsp;&nbsp; =
0m0.002s<BR>sys&nbsp;&nbsp;&nbsp;&nbsp;=20
0m3.984s<BR></SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D386411021-11122006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D386411021-11122006>Large I/Os get chopped up in the scsi =
midlayer of=20
Linux, but like what is happening if you</SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D386411021-11122006>get less tput with larger I/Os is you have =
few drives=20
and a stripe with that is causing each</SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D386411021-11122006>disk to be hit more than once for every I/O =
(that is=20
bad).&nbsp; </SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D386411021-11122006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D386411021-11122006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D386411021-11122006>&nbsp;</DIV></SPAN></FONT></BODY></HTML>

------_=_NextPart_001_01C71E00.6BDC6E6E--
--
http://www.freelists.org/webpage/oracle-l


