<?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: Protection Key Faults on PA-RISC System in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/protection-key-faults-on-pa-risc-system/m-p/5037630#M758540</link>
    <description>Perhaps the prospect tool &amp;lt;&amp;gt; knows how to show pidfaults?  ISTR the old PA "pi" program (&lt;A href="ftp://ftp.cup.hp.com/dist/networking/tools/)" target="_blank"&gt;ftp://ftp.cup.hp.com/dist/networking/tools/)&lt;/A&gt; might have known, but I don't beleive it works (or should even be run) on later PA-RISC CPUs (anything past the PA-8700 IIRC, perhaps even including it)</description>
    <pubDate>Mon, 02 Apr 2007 17:21:31 GMT</pubDate>
    <dc:creator>rick jones</dc:creator>
    <dc:date>2007-04-02T17:21:31Z</dc:date>
    <item>
      <title>Protection Key Faults on PA-RISC System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/protection-key-faults-on-pa-risc-system/m-p/5037626#M758536</link>
      <description>Please refer to &lt;A href="http://docs.huihoo.com/oracle/docs/B19306_01/server.102/b15658/appb_hpux.htm" target="_blank"&gt;http://docs.huihoo.com/oracle/docs/B19306_01/server.102/b15658/appb_hpux.htm&lt;/A&gt;&lt;BR /&gt;Under the title "B.1 HP-UX Shared Memory Segments for an Oracle Instance" one can find that PA-RISC architecture has 6 unique protection keys for its shared memory segments and if the number of shared segments crosses 6, HP-UX displays protection key faults. In my system `ipcs -m` shows 20+ shared segments and my DBA is concerned over the performance degradation. Given that shmmax can be increased, can someone tell me where exactly "protection key faults" are logged? I checked in `dmesg` and syslog, but it's not there.</description>
      <pubDate>Fri, 30 Mar 2007 16:32:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/protection-key-faults-on-pa-risc-system/m-p/5037626#M758536</guid>
      <dc:creator>Premgy Varghese</dc:creator>
      <dc:date>2007-03-30T16:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Protection Key Faults on PA-RISC System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/protection-key-faults-on-pa-risc-system/m-p/5037627#M758537</link>
      <description>Bear in mind that the total number of shared identifiers which is what ipcs -m displays is not of direct concern as that is the system-wide number of shmid's. What is of real concern to you, is the number of shmid's that are attached to one process. At the process level, we can refer to them as segments. You aren't going to see protection key faults in any log just as you aren't going to see page faults in any log. You might be able to use adb to extract them from a running kernel. The two are vaguely similar in nature and result from the finite resources that are built into the CPU and ancillary devices. Based upon the Oracle data, it appears that PA-RISC architecture will allow upto 6 segments to be quickly evaluated for safety and if your SGA will not fit into 6 segments then the same checks take a bit longer because they must be brought in from slower memory.&lt;BR /&gt;&lt;BR /&gt;The good news is that the fix is trivially simple; set shmmax so that your largest anticipated SGA will fit in one segment. Otherwise, when a large SGA is used (ie larger than shmmax) multiple shmgets are used to create the SGA which results in multiple segments being assigned to the SGA -- and according to your reference anything over 6 triggers the extra lookups --- so set shmmax large and then you can forget about this.&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Mar 2007 16:58:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/protection-key-faults-on-pa-risc-system/m-p/5037627#M758537</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-03-30T16:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Protection Key Faults on PA-RISC System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/protection-key-faults-on-pa-risc-system/m-p/5037628#M758538</link>
      <description>That was brilliant, thank you very much.</description>
      <pubDate>Fri, 30 Mar 2007 19:13:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/protection-key-faults-on-pa-risc-system/m-p/5037628#M758538</guid>
      <dc:creator>Premgy Varghese</dc:creator>
      <dc:date>2007-03-30T19:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Protection Key Faults on PA-RISC System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/protection-key-faults-on-pa-risc-system/m-p/5037629#M758539</link>
      <description>The response is quite descriptive and genuine. Thanks very much.</description>
      <pubDate>Sun, 01 Apr 2007 21:49:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/protection-key-faults-on-pa-risc-system/m-p/5037629#M758539</guid>
      <dc:creator>Premgy Varghese</dc:creator>
      <dc:date>2007-04-01T21:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Protection Key Faults on PA-RISC System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/protection-key-faults-on-pa-risc-system/m-p/5037630#M758540</link>
      <description>Perhaps the prospect tool &amp;lt;&amp;gt; knows how to show pidfaults?  ISTR the old PA "pi" program (&lt;A href="ftp://ftp.cup.hp.com/dist/networking/tools/)" target="_blank"&gt;ftp://ftp.cup.hp.com/dist/networking/tools/)&lt;/A&gt; might have known, but I don't beleive it works (or should even be run) on later PA-RISC CPUs (anything past the PA-8700 IIRC, perhaps even including it)</description>
      <pubDate>Mon, 02 Apr 2007 17:21:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/protection-key-faults-on-pa-risc-system/m-p/5037630#M758540</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2007-04-02T17:21:31Z</dc:date>
    </item>
  </channel>
</rss>

