# CDDL HEADER START
#
# The contents of this file are subject to the terms # of the Common Development and Distribution License # (the "License"). You may not use this file except # in compliance with the License.
#
# You can obtain a copy of the license at # http://www.opensolaris.org/os/licensing. # See the License for the specific language governing # permissions and limitations under the License. #
# When distributing Covered Code, include this CDDL # HEADER in each file and include the License file at # usr/src/OPENSOLARIS.LICENSE. If applicable, # add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your # own identifying information: Portions Copyright [yyyy] # [name of copyright owner]

CDDL HEADER END

Licensing

The Sun::Solaris::Lgrp file is distributed under the terms of the CDDL License. Please see the LICENSE file in the distribution. You can obtain a copy of the license at http://www.opensolaris.org/os/licensing.

See the License for the specific language governing permissions and limitations under the License.

Availability

This module is only available for Solaris 9u6, Solaris 10 and onwards.

Description

This module provided access to the Solaris locality group library liblgrp(3LIB). It provides both functional and object-oriented interface to all functions defined in liblgrp(3LIB).

The t directory contains two files: Lgrp.t and Lgrp_api.t which contain lots of examples (and serve as tests).

The bin directory contains the lgrpinfo script that displays information about locality groups.

Installation

  1. Uncompress and untar the archive
  2. cd to the module directory
  3. perl Makefile.PL; make; make test; make install

If you are using gcc and wish to build this module against the perl shipped as part of Solaris, see the Solaris-PerlGcc module, also available from CPAN.

Please send all your comments suggestions and bugfixes to Alexander Kolbasov <alexander.kolbasov at sun.com>

Please see http://opensolaris.org/os/community/performance/numa for a discussion of Solaris NUMA support.