<?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: maxdsize_64_bit value? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/maxdsize-64-bit-value/m-p/3151175#M900786</link>
    <description>The others answered your question about the maxdsize_64. To expand a little this is the max data stack size (memory) for 64 bit applications. Most database softwares will require you to increase this (plus other) kernel value so the software can utilize a large chuck of your available memory. So if you have 4GB of RAM, and you would like to make 3GB available to shared memory, you would have to change the value to something higher than you currently have. Also just to note, if you use SAM to look/change your kernel values it will make the conversion to number in bytes. But again these changes are usually documented in your database (or other) applications install guide if you have a memory hungry application.&lt;BR /&gt;&lt;BR /&gt;Now as far as the dbc_max_pct value this is defaulted at 50. It seems the patch you loaded set it back to default. This is one of my biggest pet peeves about HP-UX. I learned in a performance tuning class that you can set the bufpages value and this will override your max/min_dbc_pct values to a static size. Off the top of my head the instructor stated that you really dont need more then 400-500MB for FS buffer cache. Obviously you would want to give this some thought if your system is mostly a fileserver. But if you run Sybase (or other RAW devices driven app) you may not need as much. But I feel that on most larger memory systems 50% is too much.&lt;BR /&gt;&lt;BR /&gt;Hope this helps a little...&lt;BR /&gt;&lt;BR /&gt;Alex</description>
    <pubDate>Mon, 22 Dec 2003 19:15:41 GMT</pubDate>
    <dc:creator>Alex Richardson</dc:creator>
    <dc:date>2003-12-22T19:15:41Z</dc:date>
    <item>
      <title>maxdsize_64_bit value?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxdsize-64-bit-value/m-p/3151171#M900782</link>
      <description>Our maxdsize_64_bit had a value of 0x0000000090000000 - what does this number equal in decimal value(in bytes)?&lt;BR /&gt;  Its current setting on an N4000 4-cpu 4GB ram system is 589824.&lt;BR /&gt;Was this an increase or decrease in its value?&lt;BR /&gt;&lt;BR /&gt;It seems that some of our kernel settings got changed when some patches were installed on ISS.  Is ISS known for doing this?  The patches for it seem to have changed our kernel drastically, eg. dbc_max_pct went from 5 to 50!&lt;BR /&gt;&lt;BR /&gt;Mott Given</description>
      <pubDate>Mon, 22 Dec 2003 14:40:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxdsize-64-bit-value/m-p/3151171#M900782</guid>
      <dc:creator>Mott Given</dc:creator>
      <dc:date>2003-12-22T14:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: maxdsize_64_bit value?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxdsize-64-bit-value/m-p/3151172#M900783</link>
      <description>That value = 2,415,919,104 bytes or 2.25 GB.&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Dec 2003 14:42:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxdsize-64-bit-value/m-p/3151172#M900783</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-12-22T14:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: maxdsize_64_bit value?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxdsize-64-bit-value/m-p/3151173#M900784</link>
      <description>printf "%d\n" 0x0000000090000000&lt;BR /&gt;&lt;BR /&gt;will give you value in decimal.</description>
      <pubDate>Mon, 22 Dec 2003 14:43:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxdsize-64-bit-value/m-p/3151173#M900784</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2003-12-22T14:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: maxdsize_64_bit value?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxdsize-64-bit-value/m-p/3151174#M900785</link>
      <description>Rather than answering directly, I'll let you do it using bc.&lt;BR /&gt;&lt;BR /&gt;bc&lt;BR /&gt;ibase=16&lt;BR /&gt;90000000&lt;BR /&gt;&lt;BR /&gt;That will then output the decimal (default output base or obase) with the input base (ibase) set to 16.&lt;BR /&gt;&lt;BR /&gt;When finished, enter "quit".&lt;BR /&gt;&lt;BR /&gt;Man bc for details.&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Dec 2003 14:44:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxdsize-64-bit-value/m-p/3151174#M900785</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-12-22T14:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: maxdsize_64_bit value?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxdsize-64-bit-value/m-p/3151175#M900786</link>
      <description>The others answered your question about the maxdsize_64. To expand a little this is the max data stack size (memory) for 64 bit applications. Most database softwares will require you to increase this (plus other) kernel value so the software can utilize a large chuck of your available memory. So if you have 4GB of RAM, and you would like to make 3GB available to shared memory, you would have to change the value to something higher than you currently have. Also just to note, if you use SAM to look/change your kernel values it will make the conversion to number in bytes. But again these changes are usually documented in your database (or other) applications install guide if you have a memory hungry application.&lt;BR /&gt;&lt;BR /&gt;Now as far as the dbc_max_pct value this is defaulted at 50. It seems the patch you loaded set it back to default. This is one of my biggest pet peeves about HP-UX. I learned in a performance tuning class that you can set the bufpages value and this will override your max/min_dbc_pct values to a static size. Off the top of my head the instructor stated that you really dont need more then 400-500MB for FS buffer cache. Obviously you would want to give this some thought if your system is mostly a fileserver. But if you run Sybase (or other RAW devices driven app) you may not need as much. But I feel that on most larger memory systems 50% is too much.&lt;BR /&gt;&lt;BR /&gt;Hope this helps a little...&lt;BR /&gt;&lt;BR /&gt;Alex</description>
      <pubDate>Mon, 22 Dec 2003 19:15:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxdsize-64-bit-value/m-p/3151175#M900786</guid>
      <dc:creator>Alex Richardson</dc:creator>
      <dc:date>2003-12-22T19:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: maxdsize_64_bit value?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxdsize-64-bit-value/m-p/3151176#M900787</link>
      <description>for maxdsiz_64bit here is where you should start:&lt;BR /&gt;&lt;A href="http://docs.hp.com/cgi-bin/otsearch/getfile?id=/hpux/onlinedocs/939/KCParms/KCparam.MaxDsiz.html&amp;amp;searchterms=maxdsiz_64bit&amp;amp;queryid=20031222-195839" target="_blank"&gt;http://docs.hp.com/cgi-bin/otsearch/getfile?id=/hpux/onlinedocs/939/KCParms/KCparam.MaxDsiz.html&amp;amp;searchterms=maxdsiz_64bit&amp;amp;queryid=20031222-195839&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;DESCRIPTION &lt;BR /&gt;User programs on HP-UX systems are composed of five discrete segments of virtual memory: text (or code), data, stack, shared, and I/O. Each segment occupies an architecturally defined range of the virtual address space that sets the upper limit to their size, but text, data and stack segments may have smaller maxima enforced by the maxtsiz, maxdsiz, and maxssiz tunables.&lt;BR /&gt;This tunable defines the maximum size of the static data storage segment for 32-bit and 64-bit processes. The data storage segment contains fixed data storage such as globals, arrays, static variables, local variables in main(), strings, and space allocated using sbrk() and malloc(). In addition, any files memory mapped as private and shared library per-invocation data also resides in the data segment.&lt;BR /&gt;When Should the Value of This Tunable Be Raised? &lt;BR /&gt;This tunable should be raised if user processes are receiving the ENOMEM error message: &lt;BR /&gt;&lt;BR /&gt;exec(2): data exceeds maxdsiz &lt;BR /&gt;exec(2): data exceeds maxdsiz_64bit.&lt;BR /&gt;&lt;BR /&gt;This may or may not cause a process failure depending on the program code.&lt;BR /&gt;&lt;BR /&gt;What Are the Side Effects of Raising the Value? &lt;BR /&gt;&lt;BR /&gt;Raising this tunable by definition allows larger data segments for every process. The maxdsiz and maxssiz tunables limit the amount of swap space that can be reserved or used by each process, but using more virtual address space does not translate directly into using more physical address space because virtual pages can be swapped out.&lt;BR /&gt;&lt;BR /&gt;Note that if swap space on the machine is near capacity, raising this tunable increases the amount of reservable swap per process. This could exhaust the swap space on the system by allowing a process with a memory leak or a malicious program that uses huge amounts of memory to reserve too much swap space... &lt;BR /&gt;Please take the time to review some could technical docs on &lt;A href="http://docs.hp.com/" target="_blank"&gt;http://docs.hp.com/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;for the dbc_max_pct, the best metrix is to run :&lt;BR /&gt;# sar -b 5 100 &lt;BR /&gt;ideally you should see that %wcache is 95% or greater that means system is set in an optimal fashion. if the system shows consistently average(s) of 75% or lower you may consider lowering dbc_max_pct, check it out: &lt;A href="http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparam.DBCmaxPct.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparam.DBCmaxPct.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;T+</description>
      <pubDate>Mon, 22 Dec 2003 22:09:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxdsize-64-bit-value/m-p/3151176#M900787</guid>
      <dc:creator>T. M. Louah</dc:creator>
      <dc:date>2003-12-22T22:09:08Z</dc:date>
    </item>
  </channel>
</rss>

