Return-Path: <oracle-l-bounce@freelists.org>
Delivered-To: 2-oracle-l@orafaq.com
Received: (qmail 6279 invoked from network); 12 Dec 2006 11:51:51 -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 11:51:46 -0600
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id A3CEA568213;
 Tue, 12 Dec 2006 12:50:49 -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 29158-02-2; Tue, 12 Dec 2006 12:50:49 -0500 (EST)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 93FDC568208;
 Tue, 12 Dec 2006 12:50:48 -0500 (EST)
Received: with ECARTIS (v1.0.0; list oracle-l); Tue, 12 Dec 2006 12:49:42 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 1605556817A
 for <oracle-l@freelists.org>; Tue, 12 Dec 2006 12:49:42 -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 28653-07 for <oracle-l@freelists.org>;
 Tue, 12 Dec 2006 12:49:41 -0500 (EST)
Received: from exchange.gridapp.com (exchange.gridapp.com [160.79.39.130])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 74A0D56815C
 for <oracle-l@freelists.org>; Tue, 12 Dec 2006 12:49:41 -0500 (EST)
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_01C71E16.06687622"
Subject: RE: I/O and db_file_multiblock_read_count
Date: Tue, 12 Dec 2006 12:50:34 -0500
Message-ID: <C0A5E31718FC064A91E9FD7BE2F081B199CACD@exchange.gridapp.com>
In-Reply-To: <5D2570CAFC98974F9B6A759D1C74BAD001C33793@ex2.ms.polyserve.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: I/O and db_file_multiblock_read_count
From: "Matthew Zito" <mzito@gridapp.com>
To: <kevinc@polyserve.com>,
 "oracle-l" <oracle-l@freelists.org>
X-archive-position: 43058
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: mzito@gridapp.com
Precedence: normal
Reply-to: mzito@gridapp.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_01C71E16.06687622
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Nono, its just that on Linux, let's say, cat S.dbf > /dev/null is fast,
but an strace will show that its actually doing a stream of write()s to
the device.  On solaris, it does something like (horrible perl-ish
pseudocode):
=20
if ( dest =3D=3D /dev/null) {
    exit 0;
} else {
    write(contents, dest);
}
=20
=20
Matt


________________________________

	From: oracle-l-bounce@freelists.org
[mailto:oracle-l-bounce@freelists.org] On Behalf Of Kevin Closson
	Sent: Tuesday, December 12, 2006 12:45 PM
	To: oracle-l
	Subject: RE: I/O and db_file_multiblock_read_count
=09
=09
	what? can't dump junk in the bit bucket on Sol? I must not be
gettign your point


________________________________

		From: Matthew Zito [mailto:mzito@gridapp.com]=20
		Sent: Tuesday, December 12, 2006 9:40 AM
		To: kevinc@polyserve.com; oracle-l
		Subject: RE: I/O and db_file_multiblock_read_count
	=09
	=09
		/dev/null is hard, as some OS'es, solaris notably, do
evil tricks with certain utilities (like cat something to /dev/null - it
returns immediately).  Not sure about dd


________________________________

			From: oracle-l-bounce@freelists.org
[mailto:oracle-l-bounce@freelists.org] On Behalf Of Kevin Closson
		=09


------_=_NextPart_001_01C71E16.06687622
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.2963" name=3DGENERATOR></HEAD>
<BODY>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D836014817-12122006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>Nono, its just that on Linux, let's say, cat =
S.dbf &gt;=20
/dev/null is fast, but an strace will show that its actually doing a =
stream of=20
write()s to the device.&nbsp; On solaris, it does something like =
(horrible=20
perl-ish pseudocode):</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D836014817-12122006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D836014817-12122006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>if ( dest =3D=3D /dev/null) =
{</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN =
class=3D836014817-12122006>&nbsp;&nbsp;&nbsp; <FONT=20
face=3DArial color=3D#0000ff size=3D2>exit 0;</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D836014817-12122006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>} else {</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN =
class=3D836014817-12122006>&nbsp;&nbsp;&nbsp; <FONT=20
face=3DArial color=3D#0000ff size=3D2>write(contents, =
dest);</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D836014817-12122006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>}</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D836014817-12122006><FONT face=3DArial color=3D#0000ff =

size=3D2>Matt</FONT></SPAN></DIV>
<DIV><BR></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <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> Tuesday, December 12, 2006 12:45 =
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=3D247414417-12122006>what? can't dump junk in the bit bucket on =
Sol? I=20
  must not be gettign your point</SPAN></FONT></DIV><BR>
  <BLOCKQUOTE dir=3Dltr=20
  style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
    <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft>
    <HR tabIndex=3D-1>
    <FONT face=3DTahoma size=3D2><B>From:</B> Matthew Zito=20
    [mailto:mzito@gridapp.com] <BR><B>Sent:</B> Tuesday, December 12, =
2006 9:40=20
    AM<BR><B>To:</B> kevinc@polyserve.com; oracle-l<BR><B>Subject:</B> =
RE: I/O=20
    and db_file_multiblock_read_count<BR></FONT><BR></DIV>
    <DIV></DIV>
    <DIV dir=3Dltr align=3Dleft><SPAN class=3D113453817-12122006><FONT =
face=3DArial=20
    color=3D#0000ff size=3D2>/dev/null is hard, as some OS'es, solaris =
notably, do=20
    evil tricks with certain utilities (like cat something to /dev/null =
- it=20
    returns immediately).&nbsp; Not sure about =
dd</FONT></SPAN></DIV><BR>
    <BLOCKQUOTE dir=3Dltr=20
    style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff =
2px solid; MARGIN-RIGHT: 0px">
      <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></FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></H=
TML>

------_=_NextPart_001_01C71E16.06687622--
--
http://www.freelists.org/webpage/oracle-l


