Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Solaris 7 x86 - stop cpu 0

Posted on 2000-05-02
7
393 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
ID: 2769164
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
ID: 2769209
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
ID: 2773408
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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 1

Author Comment

by:sereda
ID: 2773505
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
ID: 2855584
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
ID: 2858169
Comment accepted as answer
0
 
LVL 1

Author Comment

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

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Java core in Solaris 10 1 295
ftpcommand 2 66
Can I delete authorized_keys in FreeBSD 1 99
lunix and unix command 21 86
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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…

840 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