<?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: Hard Page Faults... in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/hard-page-faults/m-p/3308946#M63218</link>
    <description>&amp;gt; This is fine but is there any way of &lt;BR /&gt;&amp;gt; finding out how many of these are hard page&lt;BR /&gt;&amp;gt; faults?&lt;BR /&gt;&lt;BR /&gt;SDA can do it for a given process. The location is at PHD + phd$l_pgfltio.&lt;BR /&gt;For example using a pid of 000003d3&lt;BR /&gt;&lt;BR /&gt;$ analaze/system&lt;BR /&gt;SDA&amp;gt; set process/index=3d3&lt;BR /&gt;SDA&amp;gt; sho proc&lt;BR /&gt;SDA&amp;gt; exa phd + phd$l_pgfltio&lt;BR /&gt;&lt;BR /&gt;Repeat the last SDA command and you'll see it increment if hard faults are occuring for a given process. Time the hard faults and you'll have a process's hard fault rate.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; what this process is doing when the hard &lt;BR /&gt;&amp;gt; faults are occuring?&lt;BR /&gt;&lt;BR /&gt;To what level of detail?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;For starters, setup two additional terminal sessions. &lt;BR /&gt;&lt;BR /&gt;For the second terminal sessions (keep the one above so the fault rate is easy to access), go into SDA and so the following:&lt;BR /&gt;$ analaze/system&lt;BR /&gt;SDA&amp;gt; set process/index=3d3&lt;BR /&gt;SDA&amp;gt; sho proc/chan&lt;BR /&gt;You'll see what files are open.&lt;BR /&gt;&lt;BR /&gt;In a third terminal session, do a show process.&lt;BR /&gt;$ show process/contin/id=3d3&lt;BR /&gt;&lt;BR /&gt;Between these three terminal sessions, you'll get some idea of what is going on. And if you can use the PC from the show process and you have the source code, you'll be able to draw some conclusions, well, hopefully anyway. :-)&lt;BR /&gt;&lt;BR /&gt;Keep in mind that when an image begins  execution, it has to pagefault which includes some number of hardfaults. These are what I call good hard faults; of course too many hard faults and they are bad ones.&lt;BR /&gt;&lt;BR /&gt;Figuring out what hard faults are good and when they become bad is whole 'nother  topic. ;-)&lt;BR /&gt;&lt;BR /&gt;enjoy,&lt;BR /&gt;john&lt;BR /&gt;</description>
    <pubDate>Fri, 18 Jun 2004 14:16:42 GMT</pubDate>
    <dc:creator>John Eerenberg</dc:creator>
    <dc:date>2004-06-18T14:16:42Z</dc:date>
    <item>
      <title>Hard Page Faults...</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/hard-page-faults/m-p/3308943#M63215</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;When i do a show system or if i do a show process this show's me the total number of page faults for this process.This is fine but is there any way of finding out how many of these are hard page faults and what this process is doing when the hard faults are occuring???&lt;BR /&gt;&lt;BR /&gt;Peter&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jun 2004 04:03:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/hard-page-faults/m-p/3308943#M63215</guid>
      <dc:creator>Peter Clarke</dc:creator>
      <dc:date>2004-06-18T04:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Hard Page Faults...</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/hard-page-faults/m-p/3308944#M63216</link>
      <description>To my knowledge :&lt;BR /&gt;. not with lexicals&lt;BR /&gt;. not with show commands&lt;BR /&gt;. not with sda show commands&lt;BR /&gt;&lt;BR /&gt;So leaves complicated sda (for the experts with a pointy hat) and performance advisor.&lt;BR /&gt;"Monitor page" can report you the hardfaults too (read I/O) and much more.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Fri, 18 Jun 2004 04:52:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/hard-page-faults/m-p/3308944#M63216</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-06-18T04:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hard Page Faults...</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/hard-page-faults/m-p/3308945#M63217</link>
      <description>I think you'll need MONITOR to distinguish between hard- and softfaults.&lt;BR /&gt;To find which process is involved most, you'll need to record and analyze afterwards, or have several (not too many) sessions running different MONITOR classes.&lt;BR /&gt;MONITOR SYSTEM shows a little bar in the MEMORY display, that gives the percentage of hard faults (left) en soft faults (right).&lt;BR /&gt;MONITOR PROCESSS/TOPFAULT will show you the top-faulting process - that includes hard AND soft faults.&lt;BR /&gt;MONITOR PAGE gives you the over-all view, with a distinction of hard and softfaults.&lt;BR /&gt;&lt;BR /&gt;I think you will not find a direct relation between a process and hard faults. The swapper process takes care of hard faults, not the process.&lt;BR /&gt;&lt;BR /&gt;Willem</description>
      <pubDate>Fri, 18 Jun 2004 05:13:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/hard-page-faults/m-p/3308945#M63217</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2004-06-18T05:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Hard Page Faults...</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/hard-page-faults/m-p/3308946#M63218</link>
      <description>&amp;gt; This is fine but is there any way of &lt;BR /&gt;&amp;gt; finding out how many of these are hard page&lt;BR /&gt;&amp;gt; faults?&lt;BR /&gt;&lt;BR /&gt;SDA can do it for a given process. The location is at PHD + phd$l_pgfltio.&lt;BR /&gt;For example using a pid of 000003d3&lt;BR /&gt;&lt;BR /&gt;$ analaze/system&lt;BR /&gt;SDA&amp;gt; set process/index=3d3&lt;BR /&gt;SDA&amp;gt; sho proc&lt;BR /&gt;SDA&amp;gt; exa phd + phd$l_pgfltio&lt;BR /&gt;&lt;BR /&gt;Repeat the last SDA command and you'll see it increment if hard faults are occuring for a given process. Time the hard faults and you'll have a process's hard fault rate.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; what this process is doing when the hard &lt;BR /&gt;&amp;gt; faults are occuring?&lt;BR /&gt;&lt;BR /&gt;To what level of detail?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;For starters, setup two additional terminal sessions. &lt;BR /&gt;&lt;BR /&gt;For the second terminal sessions (keep the one above so the fault rate is easy to access), go into SDA and so the following:&lt;BR /&gt;$ analaze/system&lt;BR /&gt;SDA&amp;gt; set process/index=3d3&lt;BR /&gt;SDA&amp;gt; sho proc/chan&lt;BR /&gt;You'll see what files are open.&lt;BR /&gt;&lt;BR /&gt;In a third terminal session, do a show process.&lt;BR /&gt;$ show process/contin/id=3d3&lt;BR /&gt;&lt;BR /&gt;Between these three terminal sessions, you'll get some idea of what is going on. And if you can use the PC from the show process and you have the source code, you'll be able to draw some conclusions, well, hopefully anyway. :-)&lt;BR /&gt;&lt;BR /&gt;Keep in mind that when an image begins  execution, it has to pagefault which includes some number of hardfaults. These are what I call good hard faults; of course too many hard faults and they are bad ones.&lt;BR /&gt;&lt;BR /&gt;Figuring out what hard faults are good and when they become bad is whole 'nother  topic. ;-)&lt;BR /&gt;&lt;BR /&gt;enjoy,&lt;BR /&gt;john&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jun 2004 14:16:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/hard-page-faults/m-p/3308946#M63218</guid>
      <dc:creator>John Eerenberg</dc:creator>
      <dc:date>2004-06-18T14:16:42Z</dc:date>
    </item>
  </channel>
</rss>

