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: RAC system Calls

RE: RAC system Calls

From: Gogala, Mladen <MGogala_at_oxhp.com>
Date: Fri, 11 Jul 2003 08:59:23 -0800
Message-ID: <F001.005C4607.20030711085923@fatcity.com>


The "times" call is very cheap and could not possibly consume so much time. Here is what man page says:

NAME
      times - get process and child process times

 SYNOPSIS
      #include <sys/times.h>

      clock_t times(struct tms *buffer);

 DESCRIPTION

      times() fills the structure pointed to by buffer with time-accounting
      information.  The structure defined in <sys/times.h> is as follows:

           struct tms {
               clock_t     tms_utime;      /* user time */
               clock_t     tms_stime;      /* system time */"
               clock_t     tms_cutime;     /* user time, children */
               clock_t     tms_cstime;     /* system time, children */
           };

      This information comes from the calling process and each of its
      terminated child processes for which it has executed a wait(),
      wait3(), or waitpid().  The times are in units of 1/CLK_TCK seconds,
      where CLK_TCK is processor dependent The value of CLK_TCK can be
      queried using the sysconf() function (see sysconf(2)).


Your problem is with the preceding "read" call. Try to figure out where is attempting to read from, is there a process handling the file/device and to which process is all that kernel CPU time billed. Try with ps -el and top. Also, try with "netstat -i" to see whether you're retransmitting on the high speed interconnect.

Mladen Gogala
Oracle DBA
Phone:(203) 459-6855
Email:mgogala_at_oxhp.com

-----Original Message-----
Sent: Friday, July 11, 2003 12:05 PM
To: Multiple recipients of list ORACLE-L

Mladen, As mentioned earlier, I have lots of "times" funtion calls, which (my guess) relate to (60-70%)"IPC send completion sync" waits I got in statspack. Dont mean to fill your inboxes, but, pasting few truss lines:
26949: read(14, "01 O\0\006\0\0\0\0\011 i".., 2064)

Thanks,
Ravi.
--- "Gogala, Mladen" <MGogala_at_oxhp.com> wrote:
> Just for fun, have you tried using truss to find out
> which calls
> are being used? That might help you.
>
> Mladen Gogala
> Oracle DBA
> Phone:(203) 459-6855
> Email:mgogala_at_oxhp.com
>
>
> -----Original Message-----
> Sent: Thursday, July 10, 2003 8:14 PM
> To: Multiple recipients of list ORACLE-L
>
>
> Raj,
> Yes. Timed_statistics=true. But I see the 'times'
> even
> in single instance(non-rac)database but relatively
> called negligible number of times.
> -Ravi.
> --- "Jamadagni, Rajendra"
> <Rajendra.Jamadagni_at_espn.com> wrote:
> > You seem to have timed_statistics=TRUE right ?? in
> > RAC you will ALWAYS see
> > GCS pings ... basically as long as
> > cluster_database=true, even if only one
> > node is running, you will still see Oracle trying
> to
> > ping other instances.
> >
> > My guess is that's what is happening ... but I
> could
> > be very well wrong, I
> > have RAC experience, but never tried to truss the
> > top processes.
> >
> > Raj
> >

>



> > ----
> > Rajendra dot Jamadagni at nospamespn dot com
> > All Views expressed in this email are strictly
> > personal.
> > QOTD: Any clod can have facts, having an opinion
> is
> > an art !
> >
> >
> > -----Original Message-----
> > Sent: Thursday, July 10, 2003 12:30 PM
> > To: Multiple recipients of list ORACLE-L
> >
> >
> > Hello List,
> >
> > We are running Benchmark tests on Solaris 2-Node
> > RAC.
> > Consistently noticed the following :
> > - Very high Kernel usage (averaging 45%) on TOP
> > - Statspack has "IPC Send Completion sync" waits
> > (70%
> > Total ela time)
> > - On trussing top process, found Oracle to be
> > issuing
> > huge number of "times" system calls in addition to
> > read/writes(which I think are select/inserts).
> > Has anyone noticed this in your environment. I am
> > guessing these to be inter-instance pings, but
> could
> > not get any hits in Doc/Metalink to confirm this.
> > "times" call is clocking lot of CPU. Is this
> normal
> > ?
> > Any pointers would be helpful ? If this is out of
> > context, is there a separate list for RAC?
> >
> > Thanks,
> > Ravi.
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > SBC Yahoo! DSL - Now only $29.95 per month!
> > http://sbc.yahoo.com
> > --
> > Please see the official ORACLE-L FAQ:
> > http://www.orafaq.net
> > --
> > Author: Ravi Kulkarni
> > INET: nandagokul_at_yahoo.com
> >
> > Fat City Network Services -- 858-538-5051
> > http://www.fatcity.com
> > San Diego, California -- Mailing list and
> web
> > hosting services
> >

>

> > To REMOVE yourself from this mailing list, send an
> > E-Mail message
> > to: ListGuru_at_fatcity.com (note EXACT spelling of
> > 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB
> > ORACLE-L
> > (or the name of mailing list you want to be
> removed
> > from). You may
> > also send the HELP command for other information
> > (like subscribing).
> > >

>
*********************************************************************This

> > e-mail message is confidential, intended only for
> > the named recipient(s) above and may contain
> > information that is privileged, attorney work
> > product or exempt from disclosure under applicable
> > law. If you have received this message in error,
> or
> > are not the named recipient(s), please immediately
> > notify corporate MIS at (860) 766-2000 and delete
> > this e-mail message from your computer, Thank
> >

>
you.*********************************************************************1

> >
>
>
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> --
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.net
> --
> Author: Ravi Kulkarni
> INET: nandagokul_at_yahoo.com
>
> Fat City Network Services -- 858-538-5051
> http://www.fatcity.com
> San Diego, California -- Mailing list and web
> hosting services

>

> To REMOVE yourself from this mailing list, send an
> E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of
> 'ListGuru') and in
> the message BODY, include a line containing: UNSUB
> ORACLE-L
> (or the name of mailing list you want to be removed
> from). You may
> also send the HELP command for other information
> (like subscribing).
> --
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.net
> --
> Author: Gogala, Mladen
> INET: MGogala_at_oxhp.com
>
> Fat City Network Services -- 858-538-5051
> http://www.fatcity.com
> San Diego, California -- Mailing list and web
> hosting services

>

> To REMOVE yourself from this mailing list, send an
> E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of
> 'ListGuru') and in
> the message BODY, include a line containing: UNSUB
> ORACLE-L
> (or the name of mailing list you want to be removed
> from). You may
> also send the HELP command for other information
> (like subscribing).
>


Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Ravi Kulkarni
  INET: nandagokul_at_yahoo.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Gogala, Mladen
  INET: MGogala_at_oxhp.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Fri Jul 11 2003 - 11:59:23 CDT

Original text of this message

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