Bring 2 GB Large Pages to Solaris 10

Posted by Giri Mandalika on Oracle Blogs See other posts from Oracle Blogs or by Giri Mandalika
Published on Fri, 5 Oct 2012 01:06:14 +0000 Indexed on 2012/10/05 3:45 UTC
Read the original article Hit count: 249

Filed under:

Few facts:

  • 8 KB is the default page size on Oracle Solaris 10 and 11 as of this writing
  • Both hardware and software must have support for 2 GB large pages
  • SPARC T4 processors are capable of supporting 2 GB pages
  • Oracle Solaris 11 kernel has in-built support for 2 GB pages
  • Oracle Solaris 10 has no default support for 2 GB pages
  • Memory intensive 64-bit applications may benefit the most from using 2 GB pages

Prerequisites:

Steps to enable 2 GB large pages on Oracle Solaris 10:

  1. Install the latest kernel patch or ensure that 147440-04 or later was installed

  2. Add the following line to /etc/system and reboot
    • set max_uheap_lpsize=0x80000000

  3. Finally check the output of the following command when the system is back online
    • pagesize -a

    eg.,
    % pagesize -a
    8192		<-- 8K
    65536		<-- 64K
    4194304		<-- 4M
    268435456	<-- 256M
    2147483648	<-- 2G
    
    % uname -a
    SunOS jar-jar 5.10 Generic_147440-21 sun4v sparc sun4v
    

Also See:

© Oracle Blogs or respective owner

Related posts about /Solaris