Re: SMP processor activate/deactivate Command

From: Jeff Barratt (jbarratt@COMPSAT.COM)
Date: Mon Sep 29 2003 - 08:10:31 EDT


from the archives:

Re: Disable CPUs

From: Jean-Marc Monnez (monnez.jean-marc@AGORA.MSA.FR)
Date: Tue Jul 16 2002 - 05:12:22 EDT

    * Next message: Jean-Marc Monnez: "Re: High system usage"
    * Previous message: Bob Booth - UIUC: "Re: Enhanced JFS File Systems
(JFS2)"
    * In reply to: justin.bleistein@SUNGARD.COM: "Re: Disable CPUs"
    * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [
attachment ]

lsattr -El proc[01]
shows the status.

Regards

-- JMM

justin.bleistein@sungard.com a écrit :

> This is what I come back with executing the procedure below:
>
> # bindprocessor -q
> The available processors are: 0 1
> # cpu_deallocate 1
> # chdev -a cpuguard=enable -l sys0
> sys0 changed
> # bindprocessor -q
> The available processors are: 0 1
> #
> Am I missing something here I'm still seeing 0,1 which suggests to be
still
> two processors are active?. What should I be seeing am I missing something
> thanks!.
>
> --Justin Richard Bleistein
>
> "Dhotre, Shekhar"
> <Shekhar.Dhotre@T To: aix-l@Princeton.EDU
> -T.COM> cc:
> Sent by: IBM AIX Subject: Re: Disable CPUs
> Discussion List
> <aix-l@Princeton.
> EDU>
>
> 07/15/2002 04:55
> PM
> Please respond to
> IBM AIX
> Discussion List
>
> Deallocation of CPU?s with PCI Systems
>
> IT is important to note, that to enable run-time processor
deconfiguration,
> you must change a kernel parameter. If cpuguard is disabled, you will not
> be
> able to use CPU_Deallocate successfully. You should first deallocate and
> then change the kernel parameter. You can check the parameter with the
> lsdev
> command.
>
> The order of events is slightly off base, AND poorly documented, but it
> works.
> 1. cpu_deallocate cpunum
> where:
> cpunum is a valid logical cpu number.
> Deallocation command
>
> 2. chdev -a cpuguard=enable -l sys0
>
> Changes kernel parameter
>
> 3. bindprocessor -q
>
> This checks available processors.
>
> After deallocation, you must re-boot your systems in order for the
original
> configuration to come back.
>
> With Micro Channel systems, you can use the cpu_state command, which is
> more
> flexible. You do not have to do a re-boot to bring back your original
> configuration.
>
> Micro Channel I/O Systems
> cpu_state
>
> To disable?
> cpu_state -d cpunum
>
> Flags
>
> -d Disables the specified processor.
> -e Enables the specified processor.
> -l Lists the status of all processors.
>
> To change your memory configuration with AIX, you need only use the rmss
> command. You do not have to reboot your machine to go back to your
original
> parameters.
>
> 1. To change your current memory size to 100MB, enter:
> rmss -c 100
> 2. To print the current memory size, enter:
> rmss -p
> 3. To reset the memory size to the real memory size of the machine, enter:
> rmss -r
>
> Shekhar Dhotre
> Unix Admin
> Boston, MA-02071
>
> -----Original Message-----
> From: justin.bleistein@SUNGARD.COM [mailto:justin.bleistein@SUNGARD.COM]
> Sent: Monday, July 15, 2002 4:39 PM
> To: aix-l@Princeton.EDU
> Subject: Re: Disable CPUs
>
> I tried using that command on my test system and I get the following
error:
>
> # cpu_deallocate -P proc2
> cpu_deallocate requires a logical CPU number
> Usage: cpu_deallocate logical_CPU_id [-P]
>
> I even tried
>
> # cpu_deallocate proc2
> same results
>
> Anyone know the syntax? Lamar?
>
> Thanks!.
>
> --Justin Richard Bleistein
>
> "Saxon, Lamar"
> <Lamar.Saxon@AMERI To:
> aix-l@Princeton.EDU
> CREDIT.COM> cc:
> Sent by: IBM AIX Subject: Re: Disable CPUs
> Discussion List
> <aix-l@Princeton.E
> DU>
>
> 07/15/2002 04:21
> PM
> Please respond to
> IBM AIX Discussion
> List
>
> How about:
>
> /usr/sbin/cpu_deallocate
>
> Lamar
>
> -----Original Message-----
> From: AIX geek [mailto:aixgeek@YAHOO.COM]
> Sent: Monday, July 15, 2002 2:51 PM
> To: aix-l@Princeton.EDU
> Subject: Disable CPUs
>
> Can I disable a CPU on a B80? Is going into the
> service processor menu the only way to do this?
>
> [I seem to remember an old cpu_disable command, that
> was for microchannel SMPs only, if I remember right.]
>
> Thanks,
>
> -AG
>

-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU]On Behalf Of
Harvey, Bruce T.
Sent: Monday, September 29, 2003 7:46 AM
To: aix-l@Princeton.EDU
Subject: SMP processor activate/deactivate Command

Ok, I'm blanking 'cause I haven't had to use the command in a few years and
I've switch companies so that my "Favorites" no longer lists it ... at least
my brain is saying there is one and I don't have to shut down to do it.
That may be the problem! ;-)

What's the command on an SMP system that will activate or deactivate a
processor?

Many thanks in advance, and sorry for the lengthy disclaimer!

Bruce T. Harvey
Legg Mason Wood Walker, Inc.
Corporate Technology - Tech. Svcs.
Red Run 2nd Floor - Owings Mills, MD
(410) 580-7383 - BTHarvey@LeggMason.com
-------------------------------------------------------

IMPORTANT: The security of electronic mail sent through the Internet
is not guaranteed. Legg Mason therefore recommends that you do not
send confidential information to us via electronic mail, including social
security numbers, account numbers, and personal identification numbers.

Delivery, and timely delivery, of electronic mail is also not
guaranteed. Legg Mason therefore recommends that you do not send
time-sensitive
or action-oriented messages to us via electronic mail, including
authorization to "buy" or "sell" a security or instructions to conduct any
other financial transaction. Such requests, orders or instructions will
not be processed until Legg Mason can confirm your instructions or
obtain appropriate written documentation where necessary.



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:14 EDT