LOFS Mounted Platform-Specific Routine Libraries With CMT UltraSPARC Processor-Based SystemsAbhinandan Ekande, February 2009 AbstractThe Solaris 10 OS has the concept of a platform-specific routine (PSR) library, but PSR capability has been extended on chip multithreading (CMT) UltraSPARC processor-based systems running the Solaris 10 OS. On these systems, PSR capability has been extended to support multiple versions of platform-specific routines: one per processor, per platform. This allows a platform to support multiple processors, and each processor can be optimally utilized. OverviewThe Solaris 10 OS supports PSR capability, in which a platform can replace a set of library routines with an optimized version that is specific to the platform. The limitation of the platform-specific libraries approach has been that a platform could provide only one version of an optimized routine regardless of the processor types supported on that platform.
Now, on CMT UltraSPARC processor-based servers with CoolThreads technology that run the Solaris 10 OS, Sun has introduced
support for multiple versions of PSRs, one per processor, per platform. This allows multiple processors to be supported
per platform, and each processor can be optimally utilized. Please note that these libraries contain only optimized
routines and not the entire
Currently, there are two different versions of /platform/`uname -i`/lib/libc_psr /platform/`uname -i`/lib/sparcv9/libc_psr
To enable this functionality, bits are set in the shared object ( The HWCAP bits can be viewed using either the
A complete list of the HWCAP full names and values can be found in the
Here is a list of the HWCAP bits for SPARC platforms: The hardware capabilities are published for specific hardware. You can determine the hardware capabilities of your hardware
using the
# isainfo -v
64-bit sparcv9 applications
asi_blk_init
32-bit sparc applications
asi_blk_init v8plus div32 mul32
The binding of a processor-specific library to a processor is done during boot by finding the optimal
processor-specific platform library. Then the Loopback File System (LOFS) mounting mechanism is used to mount the optimal
processor-specific platform library on top of the Here is the output from a Sun Fire T2000 system for the About the AuthorAbhinandan Ekande is a Software Engineer in the Systems Group at Sun Microsystems. For More InformationHere are some additional resources:
Comments (latest comments first)Discuss and comment on this resource in the BigAdmin Wiki
Unless otherwise licensed, code in all technical manuals herein (including articles, FAQs, samples) is provided under this License. |
BigAdmin SubscriptionsBigAdmin Areas
BigAdmin Sun Center
BigAdmin Topics | ||||