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: Pin a CPU in Solaris

Re: Pin a CPU in Solaris

From: Don Granaman <granaman_at_home.com>
Date: Tue, 12 Jun 2001 18:19:09 -0700
Message-ID: <F001.00326DC3.20010612182546@fatcity.com>

I'm not sure of the context of this question, but I'll assume it isn't a joke ;-)

I don't think this is what you are really asking, but I'll offer it up anyway. You can bind a particular process to a particular CPU in Solaris with pbind. It does not make for a very good simulation for the reasons already noted. If, for whatever reason, you want to stress a particular CPU, you might try pbind'ing several intense processes to it.

Pbind is probably more useful for diagnostics though. I recently had a situation where we were encountering very sporadic "math errors" in one select statement in a Pro*C program running in one 20-CPU domain on an E10K. We isolated the problem to a hardware glitch in one particular CPU that was returning erroneous results from one particular floating point operation - by writing a simple Pro*C test program to loop through the select and then pbind'ing it to each of the CPUs. All but one passed, so we blacklisted that CPU until we could get it replaced. Hence -- "$ man pbind". You will need the process id and the CPU id.

-Don Granaman
[certifiable OraSaurus]

> Binding processes to CPUs is not at normal,
> even in high load situations.
>
> System scheduler ticks move even busy procs
> off CPUs, to go back through the run skedder.
>
> Yes, of course, the newer/better run scheduler
> are aware of register and CPU cache flush issues,
> but there is no guarantee a processor under the
> default scheduler will own a CPU. Not at all.
>
> Of course, I could be misunderstanding what you're
> trying to test. If you're trying to run a single
> CPU benchmark, then YES, you'd want to have ONE and
> ONLY ONE processor to run it...no context switches,
> no processor swaps...just b*lls to the wall performance.
>
> But that's not real life, and should not be proferred
> as a simulation of it.
>
> hth
>
> Hannibal
>
> -----Original Message-----
> Sent: Tuesday, June 12, 2001 1:41 PM
> To: Multiple recipients of list ORACLE-L
>
>
> Does anyone know how to pin a Solaris CPU at a high utilization? I am
doing
> some testing and want to evaluate a system under a high CPU load. Thanks.
>
> Erik
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Erik Williams
> INET: ewilliams_at_brownco.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> 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.com
> --
> Author: Mohan, Ross
> INET: MohanR_at_STARS-SMI.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> 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.com
-- 
Author: Don Granaman
  INET: granaman_at_home.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Tue Jun 12 2001 - 20:19:09 CDT

Original text of this message

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