Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: New Sun/Oracle Blueprint available

RE: New Sun/Oracle Blueprint available

From: Mohan, Ross <MohanR_at_STARS-SMI.com>
Date: Fri, 26 Jan 2001 11:20:14 -0500
Message-Id: <10753.127595@fatcity.com>


This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible.

------_=_NextPart_001_01C087B3.DD0FA660
Content-Type: text/plain;

        charset="iso-8859-1"

Dave,

How gracious of both of you! thanks....

There are *excellent* clarifications and additions in here.

Now, if only we could get this level of openness and support from Oracle!

Thanks again,

Ross Mohan

(p.s. final rhetorical comments embedded in <snip>'ed text below.)

-----Original Message-----
From: David Miller [mailto:djm_at_oregon.West.Sun.COM] Sent: Thursday, January 25, 2001 6:11 PM To: Multiple recipients of list ORACLE-L Subject: RE: New Sun/Oracle Blueprint available

Hi Ross,

I forwarded your comments on to the author, Bob Sneed, who replies below.

Dave Miller
Sun Microsystems, Inc.

<snip>".....Some vendors, like HP an IBM (pre-Dynix), have not historicaly
offered 'truss' (or 'strace', or similar) at the command online to allow users to make misdiagnoses such as we have seen so often with truss and libaio...."

|| I can't speak for IBM (non-Sequent part) or HP, but..."my old favorite", Sequent, had truss...debug...all the excellent hard core SA tools you could want, and more.

<snip>....the logic is a 'feature' because ...

	if (ioctl() says it's RAW)
	then do KAIO
	else do LWP-based AIO



... would require an extra system call per I/O compared to the way it is now implemented ...

	do KAIO
	if (that failed)
	then do LWP-based AIO
	

... and as it turns out, the extra kaio call for the LWP case is a very slight per-call overhead to the LWP-managed logic. I am sympathetic to the notion that 'clever' is merely 'irritating' when the documentation is not there. I would support a customer filing a bug report complaining that kaio(2) is not documented, and should be, even if only to say that it is not a 'supported' or 'exposed' interface.

|| Bingo! Nicely presented and well-put.

Good comment. The constraint was removed at 8.1.7, and will be with 9i, I am told. 8.1.7 introduces a new init.ora parameter to allow re-enabling AIO to ordinary files. At the time the original copy was written, the 8.1.7 news was not out.

|| Another good clarification!

I value all feedback (short of vulgar name-calling :-)), and your feedback in particular is quite high quality.

|| Thanks! My esteem for the "Blueprint" has tripled as a result of this follow-up and the fact that I can infer the tech note will be an evolving work in progress.

The material has been test-flown with the collaboration of Oracle folks from the Oracle Centers of Excellence, and presented by invitation at Oracle internal symposia. Providing all the evidence of consensus is beyond the scope of the document, but the document does represent the consensus I've observed in my travels.

|| Take my comment, if possible, as a gripe against Oracle's *lack* of this kind of openness in its "support" offerings.

<snip>....Quite a valid comment. These particular tidbits seem to have
caused 80% of
the grief we saw in 1999/2000, and much of the grief we continue to see.

|| Amen. These ( well, 90% of them ) were all things I have seen in the time period you cite, hence my aggressive interest in them.

<snip>....If this ever matures into a book, "Best Practices" will be only
one chapter.

|| Book! Yay! Do it! I'd love to review it.

Thank you for your time and thoughtful comments. I'd be delighted to hear your feedback and experiences with these 'tidbits' and any others you think might fit the mould.

|| Off the cuff, I'd only add a bit about using mkfs inode flags to significantly reduce the numbers of inodes given to "database" filesystems. Often, database servers have just a few files per filesystem, and 100,000 allocated inodes are not necessary.....Thanks to you, Bob, for the johnny-on-the-spot answers and openness. Best of luck to you!

Already Signed Up as a Reviewer for the Book,

Ross Mohan
Senior System Engineer
SAIC ------_=_NextPart_001_01C087B3.DD0FA660
Content-Type: text/html;

        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: New Sun/Oracle Blueprint available</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Dave, </FONT>
</P>

<P><FONT SIZE=3D2>How gracious of both of you! thanks....</FONT>
</P>

<P><FONT SIZE=3D2>There are *excellent* clarifications and additions in =
here.</FONT>
</P>

<P><FONT SIZE=3D2>Now, if only we could get this level of openness and =
support from Oracle!</FONT>
</P>

<P><FONT SIZE=3D2>Thanks again, </FONT>
</P>

<P><FONT SIZE=3D2>Ross Mohan</FONT>
</P>

<P><FONT SIZE=3D2>(p.s. final rhetorical comments embedded in =
&lt;snip&gt;'ed text below.)</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: David Miller [<A =
HREF=3D"mailto:djm_at_oregon.West.Sun.COM">mailto:djm_at_oregon.West.Sun.COM</= A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Thursday, January 25, 2001 6:11 PM</FONT>
<BR><FONT SIZE=3D2>To: Multiple recipients of list ORACLE-L</FONT>
<BR><FONT SIZE=3D2>Subject: RE: New Sun/Oracle Blueprint =
available</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Hi Ross,</FONT>
</P>

<P><FONT SIZE=3D2>I forwarded your comments on to the author, Bob =
Sneed, who replies below.</FONT>
</P>

<P><FONT SIZE=3D2>Dave Miller</FONT>
<BR><FONT SIZE=3D2>Sun Microsystems, Inc.</FONT>
</P>

<P><FONT SIZE=3D2>&lt;snip&gt;&quot;.....Some vendors, like HP an IBM =
(pre-Dynix), have not historicaly offered 'truss' (or 'strace', or = similar) at the command online to allow users to make misdiagnoses such = as we have seen so often with truss and libaio....&quot;</FONT></P>

<P><FONT SIZE=3D2>||&nbsp; I can't speak for IBM (non-Sequent part) or =
HP, but...&quot;my old</FONT>
<BR><FONT SIZE=3D2>favorite&quot;, Sequent, had truss...debug...all the =
excellent hard core</FONT>
<BR><FONT SIZE=3D2>SA tools you could want, and more. </FONT>
</P>

<P><FONT SIZE=3D2>&lt;snip&gt;....the logic is a 'feature' because =
...</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>if =
(ioctl() says it's RAW)</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>then do =
KAIO</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>else do =
LWP-based AIO</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2>... would require an extra system call per I/O =
compared to the way</FONT>
<BR><FONT SIZE=3D2>it is now implemented ...</FONT>
</P>

<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>do =
KAIO</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>if (that =
failed)</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>then do =
LWP-based AIO</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
<BR><FONT SIZE=3D2>... and as it turns out, the extra kaio call for the =
LWP case is a very</FONT>
<BR><FONT SIZE=3D2>slight per-call overhead to the LWP-managed =
logic.&nbsp; I am sympathetic to</FONT>
<BR><FONT SIZE=3D2>the notion that 'clever' is merely 'irritating' when =
the documentation is</FONT>
<BR><FONT SIZE=3D2>not there.&nbsp; I would support a customer filing a =
bug report complaining that</FONT>
<BR><FONT SIZE=3D2>kaio(2) is not documented, and should be, even if =
only to say that it is</FONT>
<BR><FONT SIZE=3D2>not a 'supported' or 'exposed' interface.</FONT>
</P>

<P><FONT SIZE=3D2>||&nbsp; Bingo! Nicely presented and well-put. =
</FONT>
</P>

<P><FONT SIZE=3D2>Good comment.&nbsp; The constraint was removed at =
8.1.7, and will be with 9i,</FONT>
<BR><FONT SIZE=3D2>I am told.&nbsp; 8.1.7 introduces a new init.ora =
parameter to allow re-enabling</FONT>
<BR><FONT SIZE=3D2>AIO to ordinary files.&nbsp; At the time the =
original copy was written, the</FONT>
<BR><FONT SIZE=3D2>8.1.7 news was not out.</FONT>
</P>

<P><FONT SIZE=3D2>||&nbsp; Another good clarification!</FONT>
</P>

<P><FONT SIZE=3D2>I value all feedback (short of vulgar name-calling =
:-)), and your feedback</FONT>
<BR><FONT SIZE=3D2>in particular is quite high quality.</FONT>
</P>

<P><FONT SIZE=3D2>||&nbsp; Thanks!&nbsp; My esteem for the =
&quot;Blueprint&quot; has tripled as a result</FONT>
<BR><FONT SIZE=3D2>of this follow-up and the fact that I can infer the =
tech note</FONT>
<BR><FONT SIZE=3D2>will be an evolving work in progress. </FONT>
</P>

<P><FONT SIZE=3D2>The material has been test-flown with the =
collaboration of Oracle folks</FONT>
<BR><FONT SIZE=3D2>from the Oracle Centers of Excellence, and presented =
by invitation at</FONT>
<BR><FONT SIZE=3D2>Oracle internal symposia.&nbsp; Providing all the =
evidence of consensus is</FONT>
<BR><FONT SIZE=3D2>beyond the scope of the document, but the document =
does represent the</FONT>
<BR><FONT SIZE=3D2>consensus I've observed in my travels.</FONT>
</P>

<P><FONT SIZE=3D2>||&nbsp; Take my comment, if possible, as a gripe =
against Oracle's *lack*</FONT>
<BR><FONT SIZE=3D2>of this kind of openness in its &quot;support&quot; =
offerings. </FONT>
</P>

<P><FONT SIZE=3D2>&lt;snip&gt;....Quite a valid comment. These =
particular tidbits seem to have caused 80% of</FONT>
<BR><FONT SIZE=3D2>the grief we saw in 1999/2000, and much of the grief =
we continue to see.</FONT>
</P>

<P><FONT SIZE=3D2>||&nbsp; Amen. These ( well, 90% of them ) were all =
things I have seen in </FONT>
<BR><FONT SIZE=3D2>the time period you cite, hence my aggressive =
interest in them. </FONT>
</P>

<P><FONT SIZE=3D2>&lt;snip&gt;....If this ever matures into a book, =
&quot;Best Practices&quot; will be only one chapter.</FONT>
</P>

<P><FONT SIZE=3D2>||&nbsp; Book!&nbsp; Yay! Do it! I'd love to review =
it. </FONT>
</P>

<P><FONT SIZE=3D2>Thank you for your time and thoughtful =
comments.&nbsp; I'd be delighted to</FONT>
<BR><FONT SIZE=3D2>hear your feedback and experiences with these =
'tidbits' and any others</FONT>
<BR><FONT SIZE=3D2>you think might fit the mould.</FONT>
</P>

<P><FONT SIZE=3D2>||&nbsp; Off the cuff, I'd only add a bit about using =
mkfs inode flags to </FONT>
<BR><FONT SIZE=3D2>significantly reduce the numbers of inodes given to =
&quot;database&quot; filesystems.</FONT>
<BR><FONT SIZE=3D2>Often, database servers have just a few files per =
filesystem, and 100,000</FONT>
<BR><FONT SIZE=3D2>allocated inodes are not necessary.....Thanks to =
you, Bob, for the </FONT>
<BR><FONT SIZE=3D2>johnny-on-the-spot answers and openness. Best of =
Received on Fri Jan 26 2001 - 10:20:14 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US