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

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

Post by Adrian Bennett » Wed, 14 Nov 2001 01:29:42



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.

 
 
 

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

Post by no o » Wed, 14 Nov 2001 01:31:59




This should get you started...

"man pbind"

-wiseguy

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----

 
 
 

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

Post by Adrian Bennett » Thu, 15 Nov 2001 03:03:17


Thanks for your help.  Your suggestion was certainly very useful.

Regards,

Adrian.

 
 
 

1. Upgrading A Single Processor To A Multi-Processor

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.

2. redirecting /dev/console

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

4. ATTENTION: Netgear router users

5. dual processor vs faster single processor

6. Weird CD-rom Behavior

7. Dual processor to single processor!!

8. Microsoft reinvents wheel - again.

9. convert kernel from dual processor to single processor

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

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

12. Matching processors in a multi processor server

13. Machine checks: is a processor error really a processor error?