<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: shmmax calculation in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shmmax-calculation/m-p/3031790#M802730</link>
    <description>This equates to 67108864 bytes (~ 64 Megs.) As the others have stated -- there are a million ways to convert this.&lt;BR /&gt;&lt;BR /&gt;A word about SHHMAX -- if you're running 32-bit Oracle or apps, set this to 4GB (or 0x100000000). For 64-bit Oracle - ask your DBA -- will there ever be a SGA size greater than 4GB? If there is then set it to whatever likely the biggest SGA or SHM reqs there could be. Ideally, Oracle SGA or apps SHM reqs. must FIT in one SHM segment for a server to perform optimally....&lt;BR /&gt;&lt;BR /&gt;HTH.&lt;BR /&gt;</description>
    <pubDate>Tue, 05 Aug 2003 20:03:51 GMT</pubDate>
    <dc:creator>Alzhy</dc:creator>
    <dc:date>2003-08-05T20:03:51Z</dc:date>
    <item>
      <title>shmmax calculation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shmmax-calculation/m-p/3031782#M802722</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;How big is my shmmax if the value is 0x4000000?&lt;BR /&gt;&lt;BR /&gt;How do I convert it to Mbytes?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 24 Jul 2003 00:03:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shmmax-calculation/m-p/3031782#M802722</guid>
      <dc:creator>Ridzuan Zakaria</dc:creator>
      <dc:date>2003-07-24T00:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: shmmax calculation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shmmax-calculation/m-p/3031783#M802723</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;One way is with 'bc':&lt;BR /&gt;&lt;BR /&gt;echo "ibase=16;4000000;obase=10"|bc&lt;BR /&gt;&lt;BR /&gt;This will convert base-16 input to base-10 output.&lt;BR /&gt;&lt;BR /&gt;BTW, a megabyte = (1024*1024) bytes.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 24 Jul 2003 00:10:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shmmax-calculation/m-p/3031783#M802723</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-07-24T00:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: shmmax calculation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shmmax-calculation/m-p/3031784#M802724</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;BTW, 0x4000000 is the maximum shared memory segment size (in bytes) for a 32-bit kernel.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 24 Jul 2003 00:13:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shmmax-calculation/m-p/3031784#M802724</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-07-24T00:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: shmmax calculation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shmmax-calculation/m-p/3031785#M802725</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Another way is with adb:&lt;BR /&gt;&lt;BR /&gt;# echo 0x4000000=D | adb&lt;BR /&gt;&lt;BR /&gt;This will give the answer in bytes. You will see it is 67108864, or ~64MB. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;James.&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jul 2003 00:15:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shmmax-calculation/m-p/3031785#M802725</guid>
      <dc:creator>James Murtagh</dc:creator>
      <dc:date>2003-07-24T00:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: shmmax calculation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shmmax-calculation/m-p/3031786#M802726</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;I also use the Windows calculator!!&lt;BR /&gt;Select View -&amp;gt; Scientific.&lt;BR /&gt;Select Hex, type in the hex number, then select decimal.&lt;BR /&gt;So for your shmmax this gives 67108864 bytes (64MB).&lt;BR /&gt;As JRF said this is the maximum shared memory segment size, so if you're installing Oracle you'll need to increase it!&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jul 2003 00:16:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shmmax-calculation/m-p/3031786#M802726</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2003-07-24T00:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: shmmax calculation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shmmax-calculation/m-p/3031787#M802727</link>
      <description>If you are changing this value, know this little rule.&lt;BR /&gt;&lt;BR /&gt;Your system will ignore any shmmax setting greater than 25% of available memory.&lt;BR /&gt;&lt;BR /&gt;Memory is defined as physical memory PLUS swap.&lt;BR /&gt;&lt;BR /&gt;swapinfo -tam&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 24 Jul 2003 00:37:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shmmax-calculation/m-p/3031787#M802727</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-07-24T00:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: shmmax calculation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shmmax-calculation/m-p/3031788#M802728</link>
      <description>I'm curious where you came up with the "little rule" that "...Your system will ignore any shmmax setting greater than 25% of available memory...."?&lt;BR /&gt;&lt;BR /&gt;     According to the HP documentation availble to me, &lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparam.ShMmax.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparam.ShMmax.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;"shmmax...The value used cannot exceed maximum available swap space..."&lt;BR /&gt;&lt;BR /&gt;and there is no mention that I can find about the system ignoring anything, however "...Any shmget() system call that requests a segment larger than this limit returns an error (see HP-UX Reference entry shmget(2))."&lt;BR /&gt;&lt;BR /&gt;     Is there some updated documentation we can refer to?&lt;BR /&gt;&lt;BR /&gt;     Thanks.&lt;BR /&gt;&lt;BR /&gt;Carl Muellner&lt;BR /&gt;cpm@capgroup.com</description>
      <pubDate>Tue, 05 Aug 2003 18:23:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shmmax-calculation/m-p/3031788#M802728</guid>
      <dc:creator>CG UNIX SysAdmin</dc:creator>
      <dc:date>2003-08-05T18:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: shmmax calculation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shmmax-calculation/m-p/3031789#M802729</link>
      <description>This equates to 67108864 bytes (~ 64 Megs.) As the other have stated -- there are a million ways to convert this.&lt;BR /&gt;&lt;BR /&gt;A word about SHHMAX -- if you're running 32-bit Oracle or apps, set this to 4GB (or 0x100000000). For 64-bit Oracle - ask your DBA -- will there ever be a SGA size greater than 4GB? If there is then set it to whatever likely the biggest SGA or SHM reqs there could be. Ideally, Oracle SGA or apps SHM reqs. must FIT in one SHM segment for a server to perform optimally....&lt;BR /&gt;&lt;BR /&gt;HTH.&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Aug 2003 20:03:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shmmax-calculation/m-p/3031789#M802729</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2003-08-05T20:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: shmmax calculation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shmmax-calculation/m-p/3031790#M802730</link>
      <description>This equates to 67108864 bytes (~ 64 Megs.) As the others have stated -- there are a million ways to convert this.&lt;BR /&gt;&lt;BR /&gt;A word about SHHMAX -- if you're running 32-bit Oracle or apps, set this to 4GB (or 0x100000000). For 64-bit Oracle - ask your DBA -- will there ever be a SGA size greater than 4GB? If there is then set it to whatever likely the biggest SGA or SHM reqs there could be. Ideally, Oracle SGA or apps SHM reqs. must FIT in one SHM segment for a server to perform optimally....&lt;BR /&gt;&lt;BR /&gt;HTH.&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Aug 2003 20:03:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shmmax-calculation/m-p/3031790#M802730</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2003-08-05T20:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: shmmax calculation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shmmax-calculation/m-p/3031791#M802731</link>
      <description>was just going thru the document from oracle for Ora Apps 11i {11.5.9] on HP UX 11i. They say that the param SHMMAX should be equal to available physical memory, large enough to hold the entire SGA in one shared memory segment. a lower value will result in spreading the SGA over several segments which will cause performance degradation.</description>
      <pubDate>Thu, 20 Nov 2003 04:48:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shmmax-calculation/m-p/3031791#M802731</guid>
      <dc:creator>patrick_119</dc:creator>
      <dc:date>2003-11-20T04:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: shmmax calculation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shmmax-calculation/m-p/3031792#M802732</link>
      <description>As all gurus have put, by now you must have learned how to convery hex value to decimal.&lt;BR /&gt;&lt;BR /&gt;Another command for that&lt;BR /&gt;&lt;BR /&gt;printf "%d\n" 0x4000000&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now to the oracle part. If your server is running only that, and you need not woorl abt anything else, I would try to max memory setting for shmmax. I will also try setting shmmax to that of oracle sga.&lt;BR /&gt;&lt;BR /&gt;Not e you have limitationm of 1.7 gb for 32 bit oracle.</description>
      <pubDate>Thu, 20 Nov 2003 04:58:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shmmax-calculation/m-p/3031792#M802732</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2003-11-20T04:58:03Z</dc:date>
    </item>
  </channel>
</rss>

