<?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: LINK/SECTION &amp;amp; INSTALL /RES - feature for ? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/link-section-amp-install-res-feature-for/m-p/5098944#M88947</link>
    <description>I've not seen a granularity hints (GH) calculator tool around, but there's always the brute-force approach...  &lt;BR /&gt;&lt;BR /&gt;If you're working with sections arising from an installed image, install it and see how many 8KB pages it needs, and use this value to size how many (from 8 KB and potentially up to 4 GB) pages the section needs.   You can then re-size the GH region for the next reboot, and off you go...&lt;BR /&gt;&lt;BR /&gt;Here's some background (what little there is), and some of which you've probably already found...&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/wizard/wiz_1112.html" target="_blank"&gt;http://h71000.www7.hp.com/wizard/wiz_1112.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/openvms/journal/v3/oracle_rdb.html" target="_blank"&gt;http://h71000.www7.hp.com/openvms/journal/v3/oracle_rdb.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/82final/6676/6676pro_install.html#increase" target="_blank"&gt;http://h71000.www7.hp.com/doc/82final/6676/6676pro_install.html#increase&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you're working with a run-time section, you probably already know the size of the section.  Which makes the calculation easier.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 20 Mar 2008 13:47:16 GMT</pubDate>
    <dc:creator>Hoff</dc:creator>
    <dc:date>2008-03-20T13:47:16Z</dc:date>
    <item>
      <title>LINK/SECTION &amp; INSTALL /RES - feature for ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/link-section-amp-install-res-feature-for/m-p/5098941#M88944</link>
      <description>Hello!&lt;BR /&gt;&lt;BR /&gt;Is there someone who can provide a method of calculation of the GH SYSGEN's parameters for a simple progs like "Hello World!!!" or for arbitrary .EXE ?</description>
      <pubDate>Thu, 20 Mar 2008 11:38:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/link-section-amp-install-res-feature-for/m-p/5098941#M88944</guid>
      <dc:creator>Ruslan R. Laishev</dc:creator>
      <dc:date>2008-03-20T11:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: LINK/SECTION &amp; INSTALL /RES - feature for ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/link-section-amp-install-res-feature-for/m-p/5098942#M88945</link>
      <description>You are talking Alpha, you are talking main image, or?&lt;BR /&gt;&lt;BR /&gt;$ install add/share=addr sys$disk:[]hello&lt;BR /&gt;$ install list/res sys$disk:[]hello&lt;BR /&gt;=&amp;gt; look for Type Code, get the length, that's it.&lt;BR /&gt;&lt;BR /&gt;Take into account that the GH region has slices, slice size is 0x2000.&lt;BR /&gt;&lt;BR /&gt;Or are you asking why you get an %INSTALL-I-NONRES followed by an -INSTALL-E-NOGHREG?&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Mar 2008 13:07:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/link-section-amp-install-res-feature-for/m-p/5098942#M88945</guid>
      <dc:creator>x2084</dc:creator>
      <dc:date>2008-03-20T13:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: LINK/SECTION &amp; INSTALL /RES - feature for ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/link-section-amp-install-res-feature-for/m-p/5098943#M88946</link>
      <description>"NSTALL-E-NOGHREG" - Yes.</description>
      <pubDate>Thu, 20 Mar 2008 13:13:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/link-section-amp-install-res-feature-for/m-p/5098943#M88946</guid>
      <dc:creator>Ruslan R. Laishev</dc:creator>
      <dc:date>2008-03-20T13:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: LINK/SECTION &amp; INSTALL /RES - feature for ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/link-section-amp-install-res-feature-for/m-p/5098944#M88947</link>
      <description>I've not seen a granularity hints (GH) calculator tool around, but there's always the brute-force approach...  &lt;BR /&gt;&lt;BR /&gt;If you're working with sections arising from an installed image, install it and see how many 8KB pages it needs, and use this value to size how many (from 8 KB and potentially up to 4 GB) pages the section needs.   You can then re-size the GH region for the next reboot, and off you go...&lt;BR /&gt;&lt;BR /&gt;Here's some background (what little there is), and some of which you've probably already found...&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/wizard/wiz_1112.html" target="_blank"&gt;http://h71000.www7.hp.com/wizard/wiz_1112.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/openvms/journal/v3/oracle_rdb.html" target="_blank"&gt;http://h71000.www7.hp.com/openvms/journal/v3/oracle_rdb.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/82final/6676/6676pro_install.html#increase" target="_blank"&gt;http://h71000.www7.hp.com/doc/82final/6676/6676pro_install.html#increase&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you're working with a run-time section, you probably already know the size of the section.  Which makes the calculation easier.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Mar 2008 13:47:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/link-section-amp-install-res-feature-for/m-p/5098944#M88947</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2008-03-20T13:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: LINK/SECTION &amp; INSTALL /RES - feature for ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/link-section-amp-install-res-feature-for/m-p/5098945#M88948</link>
      <description>So, is there a way by using some information from an image's header to get a estimated value  of GH pages?</description>
      <pubDate>Thu, 20 Mar 2008 13:53:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/link-section-amp-install-res-feature-for/m-p/5098945#M88948</guid>
      <dc:creator>Ruslan R. Laishev</dc:creator>
      <dc:date>2008-03-20T13:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: LINK/SECTION &amp; INSTALL /RES - feature for ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/link-section-amp-install-res-feature-for/m-p/5098946#M88949</link>
      <description>Did you try HELP/MESSAGE NOGHREG and checked  GH_RES_CODE and GH_RSRVPGCNT?&lt;BR /&gt;&lt;BR /&gt;You say LINK/SECTION which is a LINK/SECTION=CODE and you say INSTALL/RES  which is a INSTALL ADD/RESIDENT=CODE. That is you need to determine the size of the code section[s] of your image[s]. ANALYZE/IMAGE shows this information.</description>
      <pubDate>Thu, 20 Mar 2008 14:25:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/link-section-amp-install-res-feature-for/m-p/5098946#M88949</guid>
      <dc:creator>x2084</dc:creator>
      <dc:date>2008-03-20T14:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: LINK/SECTION &amp; INSTALL /RES - feature for ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/link-section-amp-install-res-feature-for/m-p/5098947#M88950</link>
      <description>"ANALYZE/IMAGE shows this information"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please point me to piece of the ANA/IMA output.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Thu, 20 Mar 2008 14:46:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/link-section-amp-install-res-feature-for/m-p/5098947#M88950</guid>
      <dc:creator>Ruslan R. Laishev</dc:creator>
      <dc:date>2008-03-20T14:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: LINK/SECTION &amp; INSTALL /RES - feature for ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/link-section-amp-install-res-feature-for/m-p/5098948#M88951</link>
      <description>&lt;!--!*#--&gt;Look for the image section descriptors and the EXE flag:&lt;BR /&gt;&lt;BR /&gt;$ anal/image hello/inter&lt;BR /&gt;This is an OpenVMS Alpha image file&lt;BR /&gt;&lt;BR /&gt;IMAGE HEADER&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;Image Section Descriptors (ISD)&lt;BR /&gt;...&lt;BR /&gt;2)  image section descriptor (36 bytes)&lt;BR /&gt; =&amp;gt;     byte count: 512&lt;BR /&gt;        base virtual address: %X'00020000' (P0 space)&lt;BR /&gt;        page fault cluster size: default&lt;BR /&gt;        ISD flags:&lt;BR /&gt;                (0)  EISD$V_GBL           0&lt;BR /&gt;                (1)  EISD$V_CRF           0&lt;BR /&gt;                (2)  EISD$V_DZRO          0&lt;BR /&gt;                (3)  EISD$V_WRT           0&lt;BR /&gt;                (4)  EISD$V_INITALCODE    0&lt;BR /&gt;                (5)  EISD$V_BASED         0&lt;BR /&gt;                (6)  EISD$V_FIXUPVEC      0&lt;BR /&gt;                (7)  EISD$V_RESIDENT      0&lt;BR /&gt;                (8)  EISD$V_VECTOR        0&lt;BR /&gt;                (9)  EISD$V_PROTECT       0&lt;BR /&gt;                (10) EISD$V_LASTCLU       1&lt;BR /&gt; =&amp;gt;             (11) EISD$V_EXE           1&lt;BR /&gt;                (12) EISD$V_NONSHRADR     0&lt;BR /&gt;        section type: EISD$K_NORMAL&lt;BR /&gt;        base VBN: 4&lt;BR /&gt;&lt;BR /&gt;I clicked the [Retain format...] and just hope you can read it.</description>
      <pubDate>Thu, 20 Mar 2008 15:57:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/link-section-amp-install-res-feature-for/m-p/5098948#M88951</guid>
      <dc:creator>x2084</dc:creator>
      <dc:date>2008-03-20T15:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: LINK/SECTION &amp; INSTALL /RES - feature for ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/link-section-amp-install-res-feature-for/m-p/5098949#M88952</link>
      <description>Ruslan,&lt;BR /&gt;&lt;BR /&gt;  Hartmut has posted the ANALYZE/IMAGE output that gives you the size of one image section descriptor. Make sure you check them all and add in any with EISD$V_EXE set.&lt;BR /&gt;&lt;BR /&gt;  That said, I think it's a mistake to assume you can allocate the minimum amount for GH SYSGEN parameters. During development and debugging, I'd recommend at allocating least three times your expected usage to allow for fragmentation, code expansion while developing, and allow INSTALL/REPLACE (for various reasons you don't always deallocate the space before attempting to reinstall). Memory is cheap. Reboots to increase allocations are expensive. &lt;BR /&gt;&lt;BR /&gt;  Once your code is stable, you can determine the consumption directly from SHOW MEMORY/GH_REGIONS. &lt;BR /&gt;&lt;BR /&gt;  When determining ADD_GH_* MODPARAMS statements for a particular program, I'd still recommend adding some headroom.&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Mar 2008 23:01:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/link-section-amp-install-res-feature-for/m-p/5098949#M88952</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2008-03-24T23:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: LINK/SECTION &amp; INSTALL /RES - feature for ?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/link-section-amp-install-res-feature-for/m-p/5098950#M88953</link>
      <description>Thanks to All!</description>
      <pubDate>Tue, 25 Mar 2008 14:05:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/link-section-amp-install-res-feature-for/m-p/5098950#M88953</guid>
      <dc:creator>Ruslan R. Laishev</dc:creator>
      <dc:date>2008-03-25T14:05:58Z</dc:date>
    </item>
  </channel>
</rss>

