Upgrading A Single Processor To A Multi-Processor

Upgrading A Single Processor To A Multi-Processor

Post by peregrino_b.. » Wed, 26 Jan 2000 04:00:00



I have a Sun Ultra 2 running Solaris 2.5.1 with a single 200MHz
processor and 128 MB RAM. I now have a spare 200MHz preocessor for an
Ultra 2 that I want to add to it.
My question is this...
do I have to recompile the kernel for its new role as a multi-
processor, does it recognize this role automatically and take advantage
of the 2nd processor(not likely), or does the system need to be
reinstalled.
I have installed the 2nd processor and the system recognizes that it is
there, but there is no performance difference, and it is using the same
kernel as before. I HOPE that I can just recompile the kernel, and not
have to reinstall the system.
I have not messed with the kernel on a Solaris system, only Linux and
SunOS's, so I am not sure where to start for this.

Thanks!
Stephen

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

Upgrading A Single Processor To A Multi-Processor

Post by hume.spamfil.. » Thu, 27 Jan 2000 04:00:00


: do I have to recompile the kernel for its new role as a multi-

Recompile from what?

: processor, does it recognize this role automatically and take advantage
: of the 2nd processor(not likely), or does the system need to be

Yes, likely.  Just drop in the CPU and go.  For your own amu*t, you
can boot with -rv and see the verbose messages.  When done, you can run
psrinfo -v and see the CPUs.  If the OS sees the CPU, it uses it.

: kernel as before. I HOPE that I can just recompile the kernel, and not

The Solaris kernel is dynamically linked at bootup.  You don't recompile it.

--
Brandon Hume    - hume -> BOFH.Halifax.NS.Ca, http://www.veryComputer.com/
                       -> Solaris Snob and general NOCMonkey

 
 
 

Upgrading A Single Processor To A Multi-Processor

Post by Martin Pau » Thu, 27 Jan 2000 04:00:00



> I have installed the 2nd processor and the system recognizes that it is
> there,

if "psrinfo -v" and "mpstat" show it, it's used.

Quote:> but there is no performance difference,

how did you measure that ? You can't expect e.g. a single-threaded
application to run faster, esp. if it's the only application running
on an otherwise quiet system.

hth, mp.
--
                         Martin Paul | Systems Administrator

                and Parallel Systems | Tel: 01-3105608-84
Liechtensteinstrasse 22, A-1090 Wien | Fax: 01-3105608-88

 
 
 

1. Help required to run application on a single processor on a multi processor machine

Can anybody offer some help.  We have developed a client-server
application where the client starts one or more servers using the
system() function.  The servers respond, as is normal, to requests
made by the client.  Communication between the client and the server/s
is via shared memory.  Our client and server/s combination has worked
well on a single processor machine (Sun Ultrasparc 60 running Solaris
2.6).  Unfortunately, when we try to run the same client-server
application on a Sun multi-processor machine one of the servers will
crash for no apparent reason.  Each time we try to run the program it
will crash at a different point.  When we monitor the running client
and server/s we note that the cpu that the client and server/s
processes are running on, at a given point in time, are frequently
different.  I suspect that switching processors in this way, could be
contributing or indeed the cause of the problem.

I'm therefore, wishing to find out whether it is possible to force the
client and the server/s to run on a single processor on a
multiprocesor machine and that this processor should be the same for
both the client and the server/s.

I would appreciate any help that anyone can give me on this problem.

Many thanks.

Regards,
Adrian.

2. fcntl_setlk() ERR on 1.3.100

3. Linking multi-threaded app for single- and multi-processor

4. Displaying to remote X servers slow

5. Q)if mksysb with Multi-Processor can replace Uni-Processor.

6. Webroute 1.2.4 - simple web proxy

7. Multi-processor w/single proc working

8. UUCP for mail and news?

9. dual processor vs faster single processor

10. Dual processor to single processor!!

11. convert kernel from dual processor to single processor

12. How to get utilization info PER PROCESSOR on a multi-processors

13. Matching processors in a multi processor server