Here is an introduction explaining how to use lgrpinfo(1), plgrp(1), pmadvise(1), and pmap(1) and an example using them to understand, observe, and control thread and memory placement with STREAM.

  • lgrpinfo(1) - Perl script that displays lgroup hierarchy, contents, and characteristics
  • plgrp(1): proc tool for observing and affecting home lgroup and lgroup affinities
  • pmadvise(1): proc tool for applying advice with madvise(3C)
  • pmap(1) extensions to display lgroup containing physical memory backing given virtual address in specified process
  • Solaris::Lgrp: Perl module that makes lgroup API available to Perl scripts to use
  • ps(1) extensions for lgroups

Also, we added a field for the home lgroup of a thread to the lwpsinfo structure in /proc, so it can be gotten through /proc.  This is used by plgrp(1), ps(1), and prstat(1M) to get the home lgroup of a thread.  Here is the new proc(4) man page and the man page diffs documenting the change.

Here is the writeup for our PSARC case.

Status

  • 09-06-06: Integrated lgrpinfo(1), plgrp(1), pmap -L, pmadvise(1), prstat -h, and ps -h into S11 build 49
last modified by admin on 2009/10/26 12:29
Collectives
Project


© Sun Microsystems Inc. 2009
XWiki Enterprise 1.8.2.19075 - Documentation
Terms Of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines | Site map | Help
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.