[Devel] openser 1.2.0: ISSMP=no on SPARC SMP systems

Marco Riegel marco.riegel at gmail.com
Wed Apr 4 15:08:19 CEST 2007


Hi,

we are building openser 1.2.0 on sun4u hardware here.  It looks like due to
the fact that Makefile.defs scans the output of "uname -v" for a substring "SMP"
it will never detect a multiprocessor SPARC system correctly (uname -v
on Solaris gives the current patchlevel, i.e. Generic_118833-36 for a
current Sol10 system).

I am not sure if setting SMP on a SPARC SMP system is necessary, but to
be on the safe side, I would suggest checking the number of installed
CPUs in the system or to enable SMP by default (all Solaris kernels are SMP).
The number of CPUs can be retrieved by running '/usr/sbin/psrinfo -p'.

However, I would simply enable SMP by default on Solaris systems (regardless
of x86 or SPARC).

Please find my patch attached.

Regards,

Marco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-openser-1.2.0-notls-SMP-Makefile.defs
Type: application/octet-stream
Size: 561 bytes
Desc: not available
Url : http://openser.org/pipermail/devel/attachments/20070404/b0ebac91/patch-openser-1.2.0-notls-SMP-Makefile.obj


More information about the Devel mailing list