<?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: kernel params in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params/m-p/3097104#M146083</link>
    <description>Hi Paolo&lt;BR /&gt;&lt;BR /&gt;The output of kmtune is parameter_name, current value, static/dynamic (Y is dynamic), planned value.&lt;BR /&gt;&lt;BR /&gt;use SAM to change the parameter, &lt;BR /&gt;sam -&amp;gt; kernel configuration -&amp;gt;configurable parameters-&amp;gt; select the shmmax and change the value. &lt;BR /&gt;&lt;BR /&gt;Changing the shmmax needs the reboot of the machine, so plan accordingly.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Kiran</description>
    <pubDate>Mon, 20 Oct 2003 06:33:38 GMT</pubDate>
    <dc:creator>Kiran Kumar Aekabote</dc:creator>
    <dc:date>2003-10-20T06:33:38Z</dc:date>
    <item>
      <title>kernel params</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params/m-p/3097102#M146081</link>
      <description>Hi everyone,&lt;BR /&gt;I have to change the shared memory settings on a hp-ux 11i system because &lt;BR /&gt;of new oracle's settings.&lt;BR /&gt;&lt;BR /&gt;I investigated the actual params with sysdef, kmtune and ipcs. What I found out has&lt;BR /&gt;(apparently) no sense. &lt;BR /&gt;Does someone have some explanation?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ sysdef |grep shm                                                      &lt;BR /&gt;shmem                         0          -          0-1                  -&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ kmtune |grep shm                                                      &lt;BR /&gt;shmem                       1  -  1                          &lt;BR /&gt;shmmax            0x040000000  Y  0x040000000                &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ ipcs -b |more&lt;BR /&gt;Shared Memory:&lt;BR /&gt;m       0 0x411c05cc --rw-rw-rw-      root      root    348&lt;BR /&gt;m       1 0x4e0c0002 --rw-rw-rw-      root      root  61760&lt;BR /&gt;m       2 0x41200faf --rw-rw-rw-      root      root   8192&lt;BR /&gt;m       3 0x301c3e75 --rw-rw-rw-      root      root 1048576&lt;BR /&gt;m    3588 0x331442c9 --rw-------      root      root 1129624&lt;BR /&gt;m       5 0x6d141be7 --rw-rw-rw-      root      root  47120&lt;BR /&gt;m  485382 0x6e121f9c --rw-r-----       ias       dba 588443648&lt;BR /&gt;m    6151 0x22d7164c --rw-rw----    oracle  oinstall 538673152&lt;BR /&gt;m    7176 0x6a5f7ead --rw-------       ias       dba   3264&lt;BR /&gt;m    2057 0xaf70b428 --rw-rw----    oracle  oinstall 505118720&lt;BR /&gt;m    9738 0x00000000 D-rw-------       ias       dba 3948548&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Oct 2003 04:38:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params/m-p/3097102#M146081</guid>
      <dc:creator>Paolo Taraboi</dc:creator>
      <dc:date>2003-10-20T04:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: kernel params</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params/m-p/3097103#M146082</link>
      <description>kmtune -lq shmmax&lt;BR /&gt;&lt;BR /&gt;printf "%d\n"  0x040000000&lt;BR /&gt;&lt;BR /&gt;Will give value in decimals.</description>
      <pubDate>Mon, 20 Oct 2003 04:45:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params/m-p/3097103#M146082</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2003-10-20T04:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: kernel params</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params/m-p/3097104#M146083</link>
      <description>Hi Paolo&lt;BR /&gt;&lt;BR /&gt;The output of kmtune is parameter_name, current value, static/dynamic (Y is dynamic), planned value.&lt;BR /&gt;&lt;BR /&gt;use SAM to change the parameter, &lt;BR /&gt;sam -&amp;gt; kernel configuration -&amp;gt;configurable parameters-&amp;gt; select the shmmax and change the value. &lt;BR /&gt;&lt;BR /&gt;Changing the shmmax needs the reboot of the machine, so plan accordingly.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Kiran</description>
      <pubDate>Mon, 20 Oct 2003 06:33:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params/m-p/3097104#M146083</guid>
      <dc:creator>Kiran Kumar Aekabote</dc:creator>
      <dc:date>2003-10-20T06:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: kernel params</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params/m-p/3097105#M146084</link>
      <description>I'm not sure what the question is here... what isn't making sense?&lt;BR /&gt;&lt;BR /&gt;shmem is 1 - so SysV Shared Memory is enabled. This certainly fits with the ipcs output -- since you wouldn't have any segments in use if you didn't have it enabled. :) [I have to confess that I never use sysdef... so I don't know what that output is. kmtune is returning the correct value... by the way, did you not include shmmni and shmseg, or were they not included in the kmtune output?]&lt;BR /&gt;&lt;BR /&gt;shmmax is currently 0x40000000 or 1Gb. That's a reasonable setting...&lt;BR /&gt;&lt;BR /&gt;And by the way (since this was mentioned by a prior poster), shmmax is dynamic on 11i (v1.0 and higher) -- so you can change it as much as you want without rebooting.</description>
      <pubDate>Mon, 20 Oct 2003 12:42:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params/m-p/3097105#M146084</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2003-10-20T12:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: kernel params</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params/m-p/3097106#M146085</link>
      <description>the non-sense is that the sysdef reported settings is 0 and the kmtune one is 1 (obiouvsly this is the right one).&lt;BR /&gt;The other non-sense is that the setting is 1GB and accordingly to ipcs the allocated is 1,5 GB. If I'm not wrong the dynamicity is in the param setting, not in the phisycal aloocation of the memory (which shouldn't exceed the size definet in shmmax)&lt;BR /&gt;thanks&lt;BR /&gt;Paolo&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Oct 2003 04:57:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params/m-p/3097106#M146085</guid>
      <dc:creator>Paolo Taraboi</dc:creator>
      <dc:date>2003-10-21T04:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: kernel params</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params/m-p/3097107#M146086</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I don't think this is a real non-sense.&lt;BR /&gt;&lt;BR /&gt;A - sysdef is an old tool which is not really reliable. There is a warning in the man page&lt;BR /&gt;&lt;BR /&gt;B - shmmax defines the system-wide maximum allowable shared memory segment size in bytes. Any shmget() system call that requests a segment larger than this limit returns an error&lt;BR /&gt;&lt;BR /&gt;and I can't see any segment larger than 1Go.&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
      <pubDate>Tue, 21 Oct 2003 05:35:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params/m-p/3097107#M146086</guid>
      <dc:creator>Jean-Louis Phelix</dc:creator>
      <dc:date>2003-10-21T05:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: kernel params</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params/m-p/3097108#M146087</link>
      <description>Is there a param for a global setting or the natura limit is the physical memory size?&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Oct 2003 09:11:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params/m-p/3097108#M146087</guid>
      <dc:creator>Paolo Taraboi</dc:creator>
      <dc:date>2003-10-22T09:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: kernel params</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params/m-p/3097109#M146088</link>
      <description>There is no global limit on the amount of shared memory; shmmax is the only applicable limit and it applies to a process (or group of processes which attach a common shared memory segment). The limit is also not the amount of physical memory but rather the amount of virtual memory. Depending upon the code (32-bit or 64-bit, SHMEM_EXEC enabled or not) there are other limits that come into play but if you are running 64-bit code then essentially you can set shmmax very large. If you are running 32-bit code then you might find that you can't even allocate up to shmmax because there is not a large enough chunk of memory to grant the request.&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Oct 2003 09:33:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-params/m-p/3097109#M146088</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-10-22T09:33:22Z</dc:date>
    </item>
  </channel>
</rss>

