Solved

Solaris 7 x86 - stop cpu 0

Posted on 2000-05-02
7
388 Views
Last Modified: 2013-12-27
Hi.

I have a dual-PII server with Solaris 7 on it. I need to perform maintenance task by stopping each CPU for a while (to cool down), while the other works.
I have no problem stopping cpu 1 with
  psradm -f 1
command, but, when i try to stop cpu 0 by a similar command, i get:
  psradm: processor 0: Device busy

I guess that this processor is locked by kernel, or something like that.
So, here is the question:
IS IT POSSIBLE to stop cpu 0 and run the system on cpu 1 only?

If someone tells me that it is possible, i will raise points to 200 for the answer HOW can i do it...

Regards,
Tal


0
Comment
Question by:sereda
7 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 50 total points
Comment Utility
I don't think so. I suspect that this is an intel platform problem relating to the way multiple cpu's are implemented. I vaguely recall that you can't even boot an intel multi-processor without having the first processor installed.

I guess I don't understand why you should need to "cool down" one of the processors. It would seem to me that would imply that you've got a problem with insuffucient air flow through the box and additional fans would be the logical solution.
0
 
LVL 1

Author Comment

by:sereda
Comment Utility
Thanks for comment, jlevie,
waiting for other opinions...

As for cooling down - yep, additional fans will do the work, but stopping cpus has some advantages: first, it's a little bit more flexible and reliable (imho) and second, and most important, you don't have to go to the server's location and stop it.
0
 
LVL 2

Expert Comment

by:festive
Comment Utility
As far as I am aware no! you must have a cpu dedicated to the OS, I believe that this is the first one it finds.

you should look at the cryotech cooling system... very nice.

I am sorry to say (are there any electrical engineers out there) I believe that your attentions to doing this may be misguided, ie I do not believe that deselecting a CPU will allow it to cool, as the circuitry to the unit cannot be removed and the overclocking (assuming that there is some) will be BUS-WIDE regardless of the usage of the CPU.

Solaris uses a process called symmetric multi-processing (for example) which enables it to spread low-level cpu instructions accross CPU's.

Please forgive me if I have misread your intentions, But I would (given the above) be unsure as to why you would want to convert a multi-cpu machine back into a single-cpu system anyway.
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 1

Author Comment

by:sereda
Comment Utility
Well, the reasons i thought of is that CPU is heating not just because it's power-on and bus activity takes place, but because it constantly runs commands.

As a proof, i can think of different OSes (say, DOS and OS/2) - the latter is sending HLT instruction (or something) to the processor while it's not needed (idle cycle), and actually CPU stays pretty cool under slight load.

So, i guessed that stopping it may help to cool it down.

Seems like it's not really possible to turn off CPU 0... Well, let's wait a little bit longer...

Approach to the problem is that server is physically unaccessible.
0
 
LVL 5

Expert Comment

by:ianB
Comment Utility
We have opened up a new Solaris Topic Area.  

To increase the visibility of questions, we moved questions we felt
appropriate to the new Solaris Topic Area where they will be easier for
Solaris experts to find and answer. You may view your question at
http://www.experts-exchange.com/Computers/Operating_Systems/Solaris/

If you have any questions about the new topic area you can contact
Community Support by posting a comment at the following URL or by
emailing us at cs@experts-exchange.com.
http://www.experts-exchange.com/Customer_Service/Experts_Exchange/

Ian
Community Support @ Experts Exchange

0
 
LVL 1

Author Comment

by:sereda
Comment Utility
Comment accepted as answer
0
 
LVL 1

Author Comment

by:sereda
Comment Utility
Well, it seems that there's no way to stop CPU 0 on intel platform. :(
Thanks for participating though :)
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now