<?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: Memory tunables in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-tunables/m-p/2533917#M25622</link>
    <description>According to Don Morris you can edit that file to make your changes....but I 'believe' you are also asking why your getting the error since your parms are set within the min/max values.  Well I found this document and basically it gives the calc for each of these values based on system,memory.  Possibly even though your parm values are within min/max, they are off based on your server memory...&lt;BR /&gt;Doc ID#: A5598980&lt;BR /&gt;...."How are desfree, lotsfree, and minfree calculated?&lt;BR /&gt; Operating System - HP-UX&lt;BR /&gt; Version - 10.20&lt;BR /&gt; Hardware System - HP 9000&lt;BR /&gt; Series - E35&lt;BR /&gt;      Solution&lt;BR /&gt;&lt;BR /&gt; The following information details the significance of desfree, lotsfree, and minfree:&lt;BR /&gt; desfree:  Amount of memory desired free, specified in pages.  When the number of free pages falls below desfree, the swapper begins looking for entire processes to swap out of memory.  On small-memory systems,&lt;BR /&gt;desfree is set to 1/16 of non-kernel memory, not to exceed 60 pages (240 KB).&lt;BR /&gt;&lt;BR /&gt;minfree: Minimal amount of free memory which is tolerable, specified in pages.  When the number of free pages falls below minfree, the swapper recognizes that the system is desperate for memory and attempts to swap out a process whether it is running/runnable or not&lt;BR /&gt;(referred to as hard swap).  On small-memory systems, &lt;BR /&gt;minfree is set to 1/2 of desfree, not to exceed 25 pages (100 KB).&lt;BR /&gt;&lt;BR /&gt;lotsfree: Plenty of free memory, specified in pages.  When the number of free pages falls below lotsfree, vhand() tunes its parameters each time it is awakened.  On systems with 32 MB of free memory or less after kernel initialization (referred to here as small-memory&lt;BR /&gt;systems), lotsfree is set to 1/8 of non-kernel memory, not to exceed 256 pages (1 MB).&lt;BR /&gt;&lt;BR /&gt;Not sure if this is the answer your looking for...but it's a thought,&lt;BR /&gt;/rcw</description>
    <pubDate>Tue, 29 May 2001 17:56:59 GMT</pubDate>
    <dc:creator>Rita C Workman</dc:creator>
    <dc:date>2001-05-29T17:56:59Z</dc:date>
    <item>
      <title>Memory tunables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-tunables/m-p/2533914#M25619</link>
      <description>Below is a synopsis of a recent post.  To reply, I receive the following errors when trying to adjust the "configurable parameters" in SAM:&lt;BR /&gt;&lt;BR /&gt;"One or more tunable parameters violates an interdependency rule.  SAMS expects the following statements to be true:&lt;BR /&gt;&lt;BR /&gt;desfree&lt;LOTSFREE&gt;&lt;/LOTSFREE&gt;minfree&lt;DESFREE&gt;&lt;/DESFREE&gt;vmebpn_sockets&amp;lt;=1&lt;BR /&gt;vmebpn_tcp_ip&amp;lt;=1&lt;BR /&gt;vmebpn_totaljobs&amp;lt;=8092&lt;BR /&gt;vmebpn_public_pages&amp;lt;=30&lt;BR /&gt;&lt;BR /&gt;The first 2 entries no longer appear thanks to a new kernel installation (These entries are set to zero in core-hpux).  The last four are found in SAM and are already true.  I am running a 725/100.  Any suggestions?  Thanks.&lt;BR /&gt;&lt;BR /&gt;Don Curtis&lt;BR /&gt;I have read a couple of posts concerning memory management and the "variables" LOTSFREE, DESFREE, etc. I am loading 11.0 and get an error during "configurable parameters" that include errors with these settings. My question is, how do you access/change these settings? &lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;  &lt;BR /&gt;Don Morris &lt;BR /&gt;&lt;BR /&gt; May 24, 2001 19:22 PM GMT   [ unassigned ]   &lt;BR /&gt;&lt;BR /&gt;--------------------------------------------------------------------------------&lt;BR /&gt;LOTSFREE, DESFREE and MINFREE are tunables, so you should be able to change them with kmtune - that should be there on 11.0. Barring that, look in /usr/conf/master.d for them (should be in core-hpux), edit the file to change them and run config or mk_kernel). &lt;BR /&gt;&lt;BR /&gt;Frankly, they _should_ be 0 -- that tells the kernel to just figure out good values based on available physical memory at boot. &lt;BR /&gt;&lt;BR /&gt;What errors are you seeing, by the way? Something like lotsfree greater than freemem? (In other words someone just set it way too high?) &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 29 May 2001 16:11:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-tunables/m-p/2533914#M25619</guid>
      <dc:creator>Don Curtis_1</dc:creator>
      <dc:date>2001-05-29T16:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Memory tunables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-tunables/m-p/2533915#M25620</link>
      <description>Hi Don for info of kernel parameters you can see &lt;A href="http://docs.hp.com/hpux/onlinedocs/os/KCparams.OverviewAll.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/os/KCparams.OverviewAll.html&lt;/A&gt;</description>
      <pubDate>Tue, 29 May 2001 16:41:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-tunables/m-p/2533915#M25620</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-05-29T16:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Memory tunables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-tunables/m-p/2533916#M25621</link>
      <description>That document is really only a description with min/max/default values for the parms mentioned.  The parm settings I have are at the default or within the min/max.  What I don't understand is why SAM reports them as an error when they obviously are not in error.</description>
      <pubDate>Tue, 29 May 2001 16:49:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-tunables/m-p/2533916#M25621</guid>
      <dc:creator>Don Curtis_1</dc:creator>
      <dc:date>2001-05-29T16:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Memory tunables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-tunables/m-p/2533917#M25622</link>
      <description>According to Don Morris you can edit that file to make your changes....but I 'believe' you are also asking why your getting the error since your parms are set within the min/max values.  Well I found this document and basically it gives the calc for each of these values based on system,memory.  Possibly even though your parm values are within min/max, they are off based on your server memory...&lt;BR /&gt;Doc ID#: A5598980&lt;BR /&gt;...."How are desfree, lotsfree, and minfree calculated?&lt;BR /&gt; Operating System - HP-UX&lt;BR /&gt; Version - 10.20&lt;BR /&gt; Hardware System - HP 9000&lt;BR /&gt; Series - E35&lt;BR /&gt;      Solution&lt;BR /&gt;&lt;BR /&gt; The following information details the significance of desfree, lotsfree, and minfree:&lt;BR /&gt; desfree:  Amount of memory desired free, specified in pages.  When the number of free pages falls below desfree, the swapper begins looking for entire processes to swap out of memory.  On small-memory systems,&lt;BR /&gt;desfree is set to 1/16 of non-kernel memory, not to exceed 60 pages (240 KB).&lt;BR /&gt;&lt;BR /&gt;minfree: Minimal amount of free memory which is tolerable, specified in pages.  When the number of free pages falls below minfree, the swapper recognizes that the system is desperate for memory and attempts to swap out a process whether it is running/runnable or not&lt;BR /&gt;(referred to as hard swap).  On small-memory systems, &lt;BR /&gt;minfree is set to 1/2 of desfree, not to exceed 25 pages (100 KB).&lt;BR /&gt;&lt;BR /&gt;lotsfree: Plenty of free memory, specified in pages.  When the number of free pages falls below lotsfree, vhand() tunes its parameters each time it is awakened.  On systems with 32 MB of free memory or less after kernel initialization (referred to here as small-memory&lt;BR /&gt;systems), lotsfree is set to 1/8 of non-kernel memory, not to exceed 256 pages (1 MB).&lt;BR /&gt;&lt;BR /&gt;Not sure if this is the answer your looking for...but it's a thought,&lt;BR /&gt;/rcw</description>
      <pubDate>Tue, 29 May 2001 17:56:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-tunables/m-p/2533917#M25622</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2001-05-29T17:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Memory tunables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-tunables/m-p/2533918#M25623</link>
      <description>The DESFREE, LOTSFREE and MINFREE are "fixed", but the VME errors continue.  You are right, my main question is why SAM reports the error when the values of the error items are within what SAM reports as acceptable.  &lt;BR /&gt;&lt;BR /&gt;For example, SAM reports, via an error message at kernel "build-time", the setting "vmebpn_sockets &amp;lt;= 1" must be true.  This setting, shown on the same screen and during the same process that generates the error, is already set to 1, the default setting according to everything I've read.  I'm not very familiar with VME.  I'm not even sure I HAVE it.  There are no VME or VME2 drivers loaded.&lt;BR /&gt;&lt;BR /&gt;The bottom line is, I can't build a kernel.</description>
      <pubDate>Tue, 29 May 2001 18:25:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-tunables/m-p/2533918#M25623</guid>
      <dc:creator>Don Curtis_1</dc:creator>
      <dc:date>2001-05-29T18:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Memory tunables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-tunables/m-p/2533919#M25624</link>
      <description>Can't comment on those parms more than what I cut/pasted from looking at documentation. I'm not familiar with them myself.  BUT...&lt;BR /&gt;&lt;BR /&gt;Before we say you "can't" build a kernel, let me ask if you have tried to build the kernel manually.  Often times SAM gets particular and will not form the kernel, but when you run through the manual steps it will build ok.&lt;BR /&gt;Have you tried doing it manually??&lt;BR /&gt;&lt;BR /&gt;Rita&lt;BR /&gt;</description>
      <pubDate>Tue, 29 May 2001 19:04:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-tunables/m-p/2533919#M25624</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2001-05-29T19:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Memory tunables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-tunables/m-p/2533920#M25625</link>
      <description>Unfortunately I don't know about VME tunables at all. One thought I do have, though, is to grep for the vme tunables in /usr/conf/master.d -- I know SAM gets the ranges it uses from there, so perhaps those ranges are messed up but for some odd reason SAM is getting the error messages from hard coded strings? (I know, it's a long shot -- but it's all I can think of that might help).&lt;BR /&gt;&lt;BR /&gt;Best of luck....&lt;BR /&gt;</description>
      <pubDate>Tue, 29 May 2001 19:43:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-tunables/m-p/2533920#M25625</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2001-05-29T19:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Memory tunables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-tunables/m-p/2533921#M25626</link>
      <description>Just realized that could have been more clear...&lt;BR /&gt;&lt;BR /&gt;What you're looking for in this case is a line&lt;BR /&gt;like:&lt;BR /&gt;&lt;BR /&gt;*range vmebpn_sockets&amp;lt;=1&lt;BR /&gt;&lt;BR /&gt;in some file in that directory. In your case, since you mentioned that it _is_ 1 and SAM doesn't like it, I'd expect the range value to be &amp;lt;1 or something messed up like that.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;</description>
      <pubDate>Tue, 29 May 2001 19:45:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-tunables/m-p/2533921#M25626</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2001-05-29T19:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Memory tunables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-tunables/m-p/2533922#M25627</link>
      <description>I checked the range values mentioned and they appear OK.  I did a manual kernel build and got the following:&lt;BR /&gt;&lt;BR /&gt;Loading the kernel...&lt;BR /&gt;/usr/ccs/bin/ld:  unsatified symbols:&lt;BR /&gt;   dfsc_link (code)&lt;BR /&gt;***  Error exit code 1&lt;BR /&gt;&lt;BR /&gt;stop.&lt;BR /&gt;&lt;BR /&gt;config:  make did an exit(1)&lt;BR /&gt;     config failure&lt;BR /&gt;&lt;BR /&gt;This make any sense?</description>
      <pubDate>Wed, 30 May 2001 12:38:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-tunables/m-p/2533922#M25627</guid>
      <dc:creator>Don Curtis_1</dc:creator>
      <dc:date>2001-05-30T12:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Memory tunables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-tunables/m-p/2533923#M25628</link>
      <description>Unfortunately dfsc_link doesn't ring a bell with me. Anyone else out there heard of this one?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 30 May 2001 16:27:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-tunables/m-p/2533923#M25628</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2001-05-30T16:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Memory tunables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-tunables/m-p/2533924#M25629</link>
      <description>Well after most of the day, and a LOT of help from fellow ITRC-ites, I got the latest SAM patch loaded.  No joy.  Anyone have any suggestions before a start another fresh load?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Don</description>
      <pubDate>Thu, 31 May 2001 19:12:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-tunables/m-p/2533924#M25629</guid>
      <dc:creator>Don Curtis_1</dc:creator>
      <dc:date>2001-05-31T19:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Memory tunables</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-tunables/m-p/2533925#M25630</link>
      <description>Hello Don,&lt;BR /&gt;&lt;BR /&gt;here is some info on how to regen a kernel:&lt;BR /&gt;&lt;BR /&gt;check if you have a file called dfs in /usr/conf/master.d which is a leftover from 10.20 and doesn't belong on a 11.0 system.&lt;BR /&gt;Remove that file and then run the mk_kernel command one more time and see if you are successful then&lt;BR /&gt;&lt;BR /&gt;Take care,&lt;BR /&gt;&lt;BR /&gt;Steffi Jones&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Jun 2001 15:12:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-tunables/m-p/2533925#M25630</guid>
      <dc:creator>Steffi Jones_1</dc:creator>
      <dc:date>2001-06-06T15:12:39Z</dc:date>
    </item>
  </channel>
</rss>

