OpenSolaris
Collectives
Discussions
Documentation
Download
Source Browser
Free CD
Log-in
|
en
Community Group performance
:
OpenSolaris NUMA project
>
Observability
>
Tools
>
lgrpinfo(1)
>
lgrpinfo(1M) man page
Top Menu
Show
:
Comments
Attachments
History
Information
Print
:
Print
Print preview
Export as PDF
Export as RTF
Export as HTML
Export as XAR
Wiki code for
lgrpinfo(1M) man page
Hide Line numbers
1: |** lgrpinfo - display information about locality groups** 2: 3: * [[NAME>>#name]] 4: * [[SYNOPSYS>>#synopsys]] 5: * [[DESCRIPTION>>#description]] 6: * [[OPTIONS>>#options]] 7: * [[EXAMPLES>>#examples]] 8: * [[EXIT STATUS>>#exit_status]] 9: * [[ATTRIBUTES>>#attributes]] 10: * [[SEE ALSO>>#see_also]] 11: 12: ---- 13: 14: = NAME 15: 16: lgrpinfo - display information about locality groups 17: 18: ---- 19: 20: = SYNOPSYS 21: 22: {{{ 23: 24: lgrpinfo [-aceGlLmrt] [-u unit] [-C|-P] [lgrp ...] 25: lgrpinfo -h 26: lgrpinfo -I [-c] [-G] [-C|-P] [lgrp ...] 27: lgrpinfo -T [-aceGlLmr] [-u unit] 28: }}} 29: 30: ---- 31: 32: = DESCRIPTION 33: 34: The lgrpinfo command prints information about the locality group (lgroup) hierarchy and its contents. 35: 36: An lgroup represents the set of CPU and memory-like hardware devices that areat most some distance (latency) apart from each other. All lgroups in the system are identified by a unique integer called an ``lgroup ID’’. 37: 38: The lgroups are organized into a hierarchy to facilitate finding the nearest resources. Leaf lgroups each contain a set of resources that are closest (local) to each other. Each parent lgroup in the hierarchy contains the resources of its child lgroups plus their next nearest resources. Finally, the root lgroup contains all the resources in the domain within the largest latency. 39: 40: A Uniform Memory Access (UMA) machine will simply be represented by the root lgroup. A Non Uniform Memory Access (NUMA) machine is represented by a hierarchy of lgroups to show the corresponding levels of locality. For example, a NUMA machine with two latencies (local and remote) will have an lgroup hierarchy consisting of two levels with its leaves and the root. 41: 42: Every application thread is assigned a ``home’’ lgroup. When the system needs to allocate a CPU or memory resource for a thread, it searches lgroup hierarchy from the thread’s home lgroup for the closest available resources to the thread’s home. Please see {{code}}plgrp(1){{/code}} for more details. 43: 44: When called without any arguments, {{code}}lgrpinfo(1){{/code}} prints general information about all lgroups in the system. If any lgroup IDs are given in the command line, the command will only print information about the specified lgroups. 45: 46: The {{code}}lgroup(s){{/code}} may be specified on the command line as lgroup IDs or by using one of the following keywords: 47: 48: ; ****all**** 49: : All lgroups (default) 50: ; ****root**** 51: : Root lgroup (which contains all the resources in the domain within the largest latency and has no parent lgroup) 52: ; ****leaves**** 53: : All leaf lgroups (where a leaf lgroup is an lgroup that has no children in the lgroup hierarchy) 54: ; ****intermediate**** 55: : All intermediate lgroups (where an intermediate lgroup is an lgroup that has a parent and children) 56: 57: If an invalid lgroup is specified, the lgrpinfo command prints a message on standard error showing the invalid ID and continues processing other lgroups given in the command line. When none of the specified lgroups are valid, {{code}}lgrpinfo(1){{/code}} will exit with 2 as its exit status. 58: 59: ---- 60: 61: = OPTIONS 62: 63: Various options control which lgroups are displayed and the exact informationthat is printed for each lgroup. Options may be combined together and the order given is not important. Lowercase options select what information should be printed about lgroup(s). 64: 65: Calling the program without any arguments is equivalent to 66: 67: {{{ 68: 69: lgrpinfo -c -e -l -m -r -t all 70: }}} 71: 72: Valid options are: 73: 74: ; ****-a**** 75: : Print topology, CPU, memory, load and latency information. This option is a shorthand for {{code}}-t -c -e -m -r -l -L{{/code}} unless -T is specified as well. When [[{{code}}-T{{/code}}>>#item__2dt]] is specified, the [[{{code}}-t{{/code}}>>#item__2dt]] option is not included. 76: ; ****-c**** 77: : Print CPU information (default) 78: ; ****-C**** 79: : Replace each lgroup in the list with its children(s). This option cannot be used with the [[{{code}}-P{{/code}}>>#item__2dp]] or [[{{code}}-T{{/code}}>>#item__2dt]] option. When no arguments are given, this option will be applied to the lgroups displayed by default which is all of them. 80: ; ****-e**** 81: : Print lgroup load average (default). Currently, the lgroup load averages are only displayed for leaf lgroups. 82: ; ****-G**** 83: : Print OS view of lgroup hierarchy. By default, the caller’s view of the lgroup hierarchy is displayed which only includes what the caller can use (eg. only the CPUs in the caller’s processor set will be displayed, etc.). Please see {{code}}lgrp_init(3LGRP){{/code}} for more details on the OS and caller’s view. 84: ; ****-h**** 85: : Print short help message and exit. 86: ; ****-I**** 87: : Only print matching IDs. This option is mostly intended for scripts and may be used with [[{{code}}-c{{/code}}>>#item__2dc]], [[{{code}}-G{{/code}}>>#item__2dg]], and [[{{code}}-C{{/code}}>>#item__2dc]] or [[{{code}}-P{{/code}}>>#item__2dp]]. If [[{{code}}-c{{/code}}>>#item__2dc]] is specified, print list of CPUs contained in all matching lgroups. Otherwise, the IDs for the matching lgroups will be displayed (see examples). When no arguments are given, this option will be applied to the lgroups displayed by default which is all of them. 88: ; ****-l**** 89: : Print information about lgroup latencies. The latency value given for each lgroup is defined by the operating system and is platform-specific. It can only be used for relative comparison of lgroups on the running system. It does not necessarily represent the actual latency between hardware devices and may not be applicable across platforms. 90: ; ****-L**** 91: : Print the lgroup latency table which is a table that shows the relative latency from each lgroup to each of the other lgroups including itself. 92: ; ****-m**** 93: : Print memory information (default). Memory sizes are scaled to the unit of measure that yields an integer from 0 to 1023 unless the {{code}}-u{{/code}} option is specified as well. The fractional part of the number is only displayed for values less than 10. This behavior is similiar to what the [[{{code}}-h{{/code}}>>#item__2dh]] option does for {{code}}ls(1){{/code}} and {{code}}df(1M){{/code}} to display a human readable format. 94: ; ****-P**** 95: : Replace each lgroup in the list with its parent(s). This option cannot be used with the [[{{code}}-C{{/code}}>>#item__2dc]] or [[{{code}}-T{{/code}}>>#item__2dt]] option. When no arguments are given, this option will be applied to the lgroups displayed by default which is all of them. 96: ; ****-r**** 97: : Print information about lgroup resources. The resources are represented by a set of lgroups in which each member lgroup directly contains CPU and/or memory resources. If [[{{code}}-T{{/code}}>>#item__2dt]] is specified as well, only information about resources of the intermediate lgroups is displayed. 98: ; ****-t**** 99: : Print information about lgroup topology (default). 100: ; ****-T**** 101: : Print the lgroup topology of a system graphically as a tree. This option may only be used with the [[{{code}}-a{{/code}}>>#item__2da]], [[{{code}}-c{{/code}}>>#item__2dc]], [[{{code}}-e{{/code}}>>#item__2de]], [[{{code}}-G{{/code}}>>#item__2dg]], [[{{code}}-l{{/code}}>>#item__2dl]], [[{{code}}-L{{/code}}>>#item__2dl]], [[{{code}}-m{{/code}}>>#item__2dm]], [[{{code}}-r{{/code}}>>#item__2dr]], and {{code}}-u{{/code}} options. It will only print lgroup resources for intermediate lgroups when used with the [[{{code}}-r{{/code}}>>#item__2dr]]. The [[{{code}}-t{{/code}}>>#item__2dt]] option is omitted when [[{{code}}-T{{/code}}>>#item__2dt]] is used with [[{{code}}-a{{/code}}>>#item__2da]]. No information is printed for the root lgroup unless it is the only lgroup. 102: ; ****-u** units** 103: : Specify memory units. Units should be {{code}}b{{/code}}, {{code}}k{{/code}}, {{code}}m{{/code}}, {{code}}g{{/code}}, {{code}}t{{/code}}, {{code}}p{{/code}}, or {{code}}e{{/code}} for bytes, kilobytes, megabytes, gigabytes, terabytes, petabytes, or exabytes respectively. The fractional part of the number is only displayed for values less than 10. This behavior is similiar to what the [[{{code}}-h{{/code}}>>#item__2dh]] option does for {{code}}ls(1){{/code}} and {{code}}df(1M){{/code}} to display a human readable format. 104: 105: ---- 106: 107: = EXAMPLES 108: 109: 1. 110: 111: {{{ 112: $ lgrpinfo 113: lgroup 0 (root): 114: Children: 1 2 115: CPUs: 0 1 116: Memory: installed 4.0G, allocated 2.2G, free 1.8G 117: Lgroup resources: 1 2 (CPU); 1 2 (memory) 118: Latency: 83 119: lgroup 1 (leaf): 120: Children: none, Parent: 0 121: CPU: 0 122: Memory: installed 2.0G, allocated 1.2G, free 788M 123: Lgroup resources: 1 (CPU); 1 (memory) 124: Load: 0.793 125: Latency: 56 126: lgroup 2 (leaf): 127: Children: none, Parent: 0 128: CPU: 1 129: Memory: installed 2.0G, allocated 1017M, free 1.0G 130: Lgroup resources: 2 (CPU); 2 (memory) 131: Load: 0.817 132: Latency: 56 133: }}} 134: 135: 1. 136: 137: {{{ 138: $ lgrpinfo -T 139: 0 140: |~-- 5 141: | `~-- 1 142: |~-- 6 143: | `~-- 2 144: |~-- 7 145: | `~-- 3 146: `~-- 8 147: `~-- 4 148: }}} 149: 150: 1. 151: 152: {{{ 153: $ lgrpinfo -Ta 154: 0 155: |~-- 1 156: | CPU: 0 157: | Memory: installed 2.0G, allocated 1.2G, free 790M 158: | Load: 0.274 159: | Latency: 56 160: `~-- 2 161: CPU: 1 162: Memory: installed 2.0G, allocated 1019M, free 1.0G 163: Load: 0.937 164: Latency: 56 165: }}} 166: 167: {{{ 168: Lgroup latencies: 169: }}} 170: 171: {{{ 172: ~------------ 173: | 0 1 2 174: ~------------ 175: 0 | 83 83 83 176: 1 | 83 56 83 177: 2 | 83 83 56 178: ~------------ 179: }}} 180: 181: 1. 182: 183: {{{ 184: $ lgrpinfo -I -C root 185: 1 2 186: }}} 187: 188: 1. 189: 190: {{{ 191: $ lgrpinfo -c -I 1 192: 0 193: }}} 194: 195: 1. 196: 197: {{{ 198: $ lgrpinfo -l 199: lgroup 0 (root): 200: Latency: 83 201: lgroup 1 (leaf): 202: Latency: 56 203: lgroup 2 (leaf): 204: Latency: 56 205: }}} 206: 207: ---- 208: 209: = EXIT STATUS 210: 211: The following exit values are returned: 212: 213: {{{ 214: 215: 0 Successful operation. 216: }}} 217: 218: {{{ 219: 220: 1 Unable to get lgroup information from the system. 221: }}} 222: 223: {{{ 224: 225: 2 All lgroups specified are invalid 226: }}} 227: 228: {{{ 229: 230: 3 Invalid syntax 231: }}} 232: 233: ---- 234: 235: = ATTRIBUTES 236: 237: See {{code}}attributes(5){{/code}} for descriptions of the following attributes: 238: 239: {{{ 240: 241: {{{___________________________________________________________}}} 242: | ATTRIBUTE TYPE | ATTRIBUTE VALUE | 243: |{{{_____________________________}}}|{{{_____________________________}}}| 244: | Availability | SUNWesu | 245: |{{{_____________________________}}}|{{{_____________________________}}}| 246: | Interface Stability | Unstable | 247: |{{{_____________________________}}}|{{{_____________________________}}}| 248: }}} 249: 250: Human readable output is unstable. 251: 252: ---- 253: 254: = SEE ALSO 255: 256: [[the Sun::Solaris::Lgrp(1) manpage>>/Sun/Solaris/Lgrp(1).html]], //plgrp(1)//, //pmap(1)//, //ps(1)//, //prstat(1M)//, //liblgrp(3LIB)//, //lgrp_init(3LGRP)//, //attributes(5)//. 257: 258: |** lgrpinfo - display information about locality groups**
Search
Collectives
Community Group
Academic and Research
Accessibility
Advocacy
Appliances
Approachability
Architecture Process and Tools
BrandZ
Chinese Users
Community Advisory Board
Databases
Desktop
Device Drivers
Distribution
Documentation
DTrace
Emerging Platforms
Fault Management
Games on OpenSolaris
HA Clusters
HPC Developer
Installation and Packaging
Internationalization and Localization
Laptop
Logical Domains
Modular Debugger (MDB)
Networking
NFS
Observability
OpenSolaris Governing Board (OGB)
OpenSolaris Printing
OS/Net (ON)
Performance
Power Management
PowerPC
Security
Service Management Facility (smf(5))
Software Porters
Solaris Volume Manager
Storage
Systems Administration Community Group
Testing
Tools Home
Unix File Systems (UFS)
Website Community
X Window System
Xen
ZFS
Zones
Project
ADSL Modem Enhancement
ARC Process Definition
ARM Platform Port
Automatic Data Migration
BIND Update
Bluetooth Stack & Drivers
Brocade FC HBA - Initiator
Brocade FC HBA - Target
Brussels - unified network link configuration
Caiman, Solaris Install Revisited
Celeste
Český portál
Chime Visualization Tool for DTrace
CIFS client for Solaris
CIFS Server
Clearview: Network Interface Coherence
Cluster Agent: Informix Dynamic Server
Cluster Agent: OpenSolaris Container
Cluster Agent: OpenSolaris xVM
Cluster Agent: Oracle E-Business Suite
Cluster agent: PostgreSQL
Cluster Agent: Samba
Cluster Agent: Tomcat
CMT
Coarse Data Flow Parallelism
Colorado: Open HA Cluster on OpenSolaris
Command Assistant
Common Array Manager
Companion - /opt/sfw: Free and Open Source software
COMSTAR: Common Multiprotocol SCSI Target
Content
Contest
CPU Observability
Credentials Process Groups
Crossbow: Network Virtualization and Resource Control
Crypto KMS Agent Toolkit
Cryptographic Framework
Data Migration Manager
Data Tethers
Deutsches Portal
Device Detection Tool
Device Driver Utility
Device Manager
Device Mapper
Direct Rendering Infrastructure & 3D drivers
DTrace Guide
Duckwater: Simplified name services management
Easy Tools
Emancipation
Emulex Fibre Channel Device Driver
Emulex Advanced Ethernet Device Driver
Enable/Enhance Solaris support for Intel Platform
Enhance the support of USB webcams
Enhanced SMF Profiles
Enhancements for AMD-based Platforms
Erlang DTrace Integration
Ethernet bridge module for Solaris
Evaluate Conary
Events Registry
Ext3 file system support
F/OSS Package Base
Facilitation
Fibre Channel over Ethernet
Fine Grained Access Policy (FGAP)
Fingerprint Authentication
Flexible Mandatory Access Control
Forensic Tools
Fully Open X Project
Fuse on Solaris
gcore
Generic Machine Check Architecture Improvements
Google SOC
HA-JBoss
HA-MySQL
Hadoop Live CD
Hitachi
HoneyComb Fixed Content Storage
HPC Stack
Image Packaging System
Improved Performance MIB
Indiana
Innovation Awards
Input Method
Intel Graphics
Internet Key Exchange, version 2
Interrupt Resource Management
IP Datapath Refactoring
IP over Infiniband
IPsec Tunnel Reform
iSCSI Extensions for Remote DMA (iSER)
iSNS Server
JeOS - Just enough Operating System
JKstat - a java binding for libkstat
Journaled File System (JFS)
K Desktop Environment
Kerberos
Kernel Sockets
Kernel SSL Enhancements
Key Management Framework
Korn Shell 93 integration/migration project
Labeled IPsec
LatencyTOP
Layer 2 Filtering
LDoms Manager
Lending
libMicro - portable microbenchmarks
Link Layer Discovery
Live Media: Technologies for distributions running from CD and other media
Locale Data
lofi compression and cryptography support
lx64 brand
Media Management System
Mega_sas
Mexico
MilaX minimal Live Distribution
MIPS Platform Port
Mozilla DTrace
MRSL.NONsharedDevice
Multi-lingual Glossary
Multi-pathing software (MPxIO)
Multiple disk sector size support
Multiple DOI
Muskoka: An open repository for OpenSolaris technical content
Navigator
Nemo: A Framework for High-Performance Networking
Network Auto-Magic
Network Data Management Protocol
Network MIBs
Network Storage
Network Time Protocol (NTP)
Nevada Globalization
New Design of 4over6 Mechanism Based on OpenSolaris
NFS RDMA transport update and performance analysis
NFS Server in non-Global Zones
NFS version 4.1 pNFS
NFSv4 namespace extensions
Nightingale: Port Songbird to OpenSolaris
NPort ID Virtualization (NPIV)
NUMA
Object Storage Device (OSD) support for Solaris
OHACGE Script Based Plug-in
ON/Nevada (ONNV) Project
Open Development Infrastructure
Open HA Cluster Utilities
Open Sound System
OpenGrok
OpenPegasus CIM Server
OpenRTI
OpenSolaris Busybox
OpenSolaris Desktop
OpenSolaris Hispano
OpenSolaris Security Audit
OpenSolaris support for the QEMU processor emulator: host and guest
PEF: Packet Event Framework
Performance Wrappers
Pkgfactory
Polski Portal
Portail Francophone
Portal Brasil
Portals
Power Management Usability Interfaces
Presto: Automatic Printing Configuration
Printable Many Page Solaris Manuals
Promise SuperTrak RAID HBA Driver
QLogic Converged Network Adapter GLDv3 NIC Driver
Quagga Routing Protocol Suite Integration
RAID Configuration Utility
RBridge (IETF TRILL) support
RDMA Offload Framework
Reno: Login Process Enhancements for Interop
Resource Management
s10brand
SAM/QFS
SCM Migration Project
SCSI RDMA Protocol
SDcard Drivers
Sensor Abstraction Layer
Session Initiation Protocol
SFW
Shell: bourne shell, korn shell, C shell, etc.
Sierra: Intel WiFi Chipsets Support
Simple Panels
SM-HBA Based SAS HBA Management
SMF Documentation
Solaris iSCSI Target
Solaris PowerPC Port
SourceJuicer
Sparks: name service switch/nscd enhancements
Squashfs
Star integration/migration project
Starfish
Starter Kit
Storage Power Management
Sun Security Toolkit
Sun StorageTek Availability Suite
Support for OpenFabrics User Verbs / API on OpenSolaris OS
Support gcc4/GCCfss in Solaris
Suspend/Resume
SVR4 Packaging
Systemz
Tamarack: Removable Media Enhancements in Solaris
Tesla: OpenSolaris Enhanced Power Management
Test Development
Tickless Kernel Architecture
TIPC
Trademarks
Trusted networking interface policy database for Trusted Extensions
Trusted Platform Module support
Use Case
Validated Execution Project
Virtual Console
Virtual Network Machines
Visual Panels
Visualization for HPC
Volo
VRRP: Virtual Router Redundancy Protocol Implementation
VSCAN service
Web Stack
Website
Winchester: Schema mapping and ID mapping for AD Interoperability
Wireless USB Support
Wireless Wide Area Network
X Consolidation
x86 Generic FMA Topology Enumerator
Xen Gate
Xfce: A lightweight desktop environment
ZFS Boot and Install
ZFS on disk encryption support
Zone Manager
Zone Statistics
Русский портал
البوابة العربية
भारतीय पोर्टल
中国门户
日本ポータル
한국 포탈
User Group
Adelaide
Argentina
Arizona
Atlanta
Baltimore-Washington
Bangalore
Bangkok
Bangladesh
Beijing
Bélem
Berlin
Bhimavaram
Bloomington
Campus Ambassadors
Capital Region
Cardiff
Charlotte
Chengdu
Chennai
Chihuahua
Chile
Cleveland
Colombia
Columbus
Connecticut
Cracow
Czech
Dallas/Ft. Worth
Danish
Delaware
Edinburgh
Egypt
Finland
Florida
Front Range
FuZhou
Great Lakes
Greece
Hangzhou
Hawaii
HeFei
Houston
Hyderabad
Indonesia
Irish
Israel
Italian
Jinan
Kabul
Kansas City
Latvia
London
Madurai
Manchester
Mato Grosso
Melbourne
Minas Gerais
Minnesota
Montreal
Moscow
Mumbai
Munich
NEA
Netherlands
New England
New York City
New Zealand
NIT Hamirpur
Noroeste
Oklahoma City
Osnabrück
Peru
Philadelphia
Piaski
Pittsburgh
Porto Alegre
Puget Sound
Pune
Queensland
Research Triangle Park
Romania
Russia
San Antonio
San Diego
San Francisco
São Paulo
Scottish
Serbia
Shanghai
Shenzhen
Silicon Valley
Singapore
Slovak
South African
Southern Connecticut
St. Louis
Sweden
Switzerland
Sydney
Szczecin
Taiwan
Tecum
Thames Valley
Tokyo
Toronto
Trondheim
Tulsa
Turkey
Ukraine
University of Melbourne
Vale do Paraíba
Vancouver
Venezuela
Welsh - Cymru
Wisconsin
Xi'an
Subsites
Code Reviews
Code Repositories
Package Search
Bugster
Bugzilla
Test Machines
Planet
Mailing Lists
Elections & Polls
ARC Case Logs
Source Juicer
Package Factory
User Authentication
Community Group performance Pages
FileBench
Sample Comparison
Gotchas
Quick Start Guide to FileBench
Files
libMicro
Sample Comparison
OpenSolaris NUMA project
8 CPU chip Opteron
Improved Latency Discovery
Load Balancing
Observability
Roles and Grants
Technical Documents