Supporting Multiple Page Sizes in the Solaris Operating System Appendix
Page 1 of 8
Next >
This appendix supports the article Supporting Multiple Page Sizes in the Solaris Operating System
Like this article? We recommend
This article is a quick reference to the Solaris™ Operating System manual sections for the commands and library interfaces referenced the SunBluePrints article "Supporting Multiple Page Sizes in the Solaris Operating System." Reference this article for information about using the following new tools to perform tasks described in the referenced article:
"cc(1)"
"cpustat(1M)"
"pmap(1)"
"ppgsz(1)"
"trapstat(1M)"
"mpss.so.1(1)"
"memcntl(2)"
cc(1)
NAME cc - C compiler SYNOPSIS cc [-#] [-###] [-Aname[(tokens)]] [-B[static|dynamic]] [-C] [-c] [-Dname[=tokens]] [-d[y|n]] [-dalign] [-E] [-errfmt[=[no%]error]] [-erroff[=t[,t...]]] [-errshort[=i]] [-errtags=a] [-errwarn[=t[,t...]]] [-fast] [-fd] [-flags] [-fnonstd] [-fns=[yes|no]] [-fprecision=p] [-fround=r] [-fsimple[=n]] [-fsingle] [-fstore] [-ftrap[=t[,t...]]] [-G] [-g] [-H] [-hname] [-I[-|dir]] [-i] [-KPIC] [-Kpic] [-keeptmp] [-Ldir] [-lname] [-mc] [-misalign] [-misalign2] [-mr[,string]] [-mt] [-native] [-nofstore] [-O] [-ofilename] [-P] [-p] [-Q[y|n]] [-qp] [-Rdir[:dir...]] [-S] [-s] [-Uname] [-V] [-v] [-Wc,arg] [-w] [-X[c|a|t|s]] [-x386] [-x486] [-xa] [-xalias_level[=a]] [-xarch=a] [-xautopar] [-xbuiltin[=a]] [-xCC] [-xc99[=o]] [-xcache=c] [-xcg89] [-xcg92] [-xchar[=o]] [-xchar_byte_order[=o]] [-xcheck=n] [-xchip=c] [-xcode=v] [-xcrossfile[=n]] [-xcsi] [-xdebugformat=[stabs|dwarf]] [-xdepend=[yes|no]] [-xdryrun] [-xe] [-xexplicitpar] [-xF] [-xhelp=f] [-xhwcprof=[enable|disable]] [-xild- off] [-xildon] [-xinline=[v[,v...]]] [-xipo[=a]] [-xjobs=n] [-xldscope={v}] [-xlibmieee] [-xlibmil] [-xlic_lib=sunperf] [-xlicinfo] [-xlinkopt[=level]] [-xloopinfo] [-xM] [-xM1] [-xMerge] [-xmaxopt[=v]] [-xmemalign=ab] [-xnativeconnect[=a[,a]...]] [-xnolib] [-xnolibmil] [-xOn] [-xopenmp[=i]] [-xP] [-xpagesize=n] [-xpagesize_heap=n] [-xpagesize_stack=n] [-xparallel] [-xpch=v] [-xpchstop] [-xpentium] [-xpg] [-xprefetch[=val[,val]]] [-xprefetch_level=l] [-xprofile=p] [-xprofile_ircache[=path]] [-xprofile_pathmap=collect_prefix:use_prefix] [-xreduc- tion] [-xregs=r[,r...]] [-xrestrict[=f]] [-xs] [-xsafe=mem] [-xsb] [-xsbfast] [-xsfpconst] [-xspace] [-xstrconst] [-xtarget=t] [-xtemp=dir] [-xthreadvar[={o}[,o...]] [-xtime] [-xtransition] [-xtrigraphs[=[yes|no]] [-xunroll=n] [-xustr={ascii_utf16_ushort|no}] [-xvector[={yes|no}]] [-xvis] [-xvpara] [-Yc,dir] [-YA,dir] [-YI,dir] [-YP,dir] [-YS,dir] [-Zll] -xpagesize=n (SPARC) Set the preferred page size for the stack and the heap. The n value must be one of the following: 8K 64K 512K 4M 32M 256M 2G 16G or default. You must specify a valid page size for the Solaris operating environment on the target platform, as returned by getpagesize(3C). If you do not specify a valid pagesize, the request is silently ignored at run-time. The Solaris environment offers no guarantee that the page size request will be honored. You can use pmap(1) or meminfo(2) to determine page size of the target platform. The -xpagesize option has no effect unless you use it at compile time and at link time. Note that this feature is not available on Solaris 7 and 8. A program compiled with this option will not link on Solaris 7 and 8. If you specify -xpagesize=default, the Solaris environ- ment sets the page size. -xpagesize without an argument is the equivalent to -xpagesize=default. Compiling with this option has the same effect as set- ting the LD_PRELOAD environment variable to mpss.so.1 with the equivalent options, or running the Solaris 9 command ppgsz(1) with the equivalent options before running the program. See the Solaris 9 man pages for details. This option is a macro for -xpagesize_heap and -xpagesize_stack. These two options accept the same arguments as -xpagesize: 8K, 64K, 512K, 4M, 32M, 256M, 2G, 16G, default. You can set them both with the same value by specifying -xpagesize=n or you can specify them individually with different values. -xpagesize_heap=n (SPARC) Set the page size in memory for the heap. n can be 8K, 64K, 512K, 4M, 32M, 256M, 2G, 16G, or default. You must specify a valid page size for the Solaris operating environment on the target platform, as returned by getpagesize(3C). If you do not specify a valid page size, the request is silently ignored at run-time. You can use pmap(1) or meminfo(2) to determine page size at the target platform. If you specify -xpagesize_heap=default, the Solaris environment sets the page size. -xpagesize_heap without an argument is the equivalent to -xpagesize_heap=default. Compiling with this option has the same effect as set- ting the LD_PRELOAD environment variable to mpss.so.1 with the equivalent options, or running the Solaris 9 command ppgsz(1) with the equivalent options before running the program. See the Solaris 9 man pages for details. Note that this feature is not available on Solaris 7 and 8. A program compiled with this option will not link on Solaris 7 and 8. -xpagesize_stack=n (SPARC) Set the page size in memory for the stack. n can be 8K, 64K, 512K, 4M, 32M, 256M, 2G, 16G, default. You must specify a valid page size for the Solaris operating environment on the target platform, as returned by getpagesize(3C). If you do not specify a valid page size, the request is silently ignored at run-time. You can use pmap(1) or meminfo(2) to determine page size at the target platform. If you specify -xpagesize_stack=default, the Solaris environment sets the page size. -xpagesize_stack without an argument is the equivalent to -xpagesize_stack=default. Compiling with this option has the same effect as set- ting the LD_PRELOAD environment variable to mpss.so.1 with the equivalent options, or running the Solaris 9 command ppgsz(1) with the equivalent options before running the program. See the Solaris 9 man pages for details. Note that this feature is not available on Solaris 7 and 8. A program compiled with this option will not link on Solaris 7 and 8.
Page 1 of 8
Next >