- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: LINK/SECTION & INSTALL /RES - feature for ?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2008 04:38 AM
тАО03-20-2008 04:38 AM
LINK/SECTION & INSTALL /RES - feature for ?
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 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2008 06:07 AM
тАО03-20-2008 06:07 AM
Re: LINK/SECTION & INSTALL /RES - feature for ?
$ install add/share=addr sys$disk:[]hello
$ install list/res sys$disk:[]hello
=> look for Type Code, get the length, that's it.
Take into account that the GH region has slices, slice size is 0x2000.
Or are you asking why you get an %INSTALL-I-NONRES followed by an -INSTALL-E-NOGHREG?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2008 06:13 AM
тАО03-20-2008 06:13 AM
Re: LINK/SECTION & INSTALL /RES - feature for ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2008 06:47 AM
тАО03-20-2008 06:47 AM
Re: LINK/SECTION & INSTALL /RES - feature for ?
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...
Here's some background (what little there is), and some of which you've probably already found...
http://h71000.www7.hp.com/wizard/wiz_1112.html
http://h71000.www7.hp.com/openvms/journal/v3/oracle_rdb.html
http://h71000.www7.hp.com/doc/82final/6676/6676pro_install.html#increase
If you're working with a run-time section, you probably already know the size of the section. Which makes the calculation easier.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2008 06:53 AM
тАО03-20-2008 06:53 AM
Re: LINK/SECTION & INSTALL /RES - feature for ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2008 07:25 AM
тАО03-20-2008 07:25 AM
Re: LINK/SECTION & INSTALL /RES - feature for ?
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2008 07:46 AM
тАО03-20-2008 07:46 AM
Re: LINK/SECTION & INSTALL /RES - feature for ?
Please point me to piece of the ANA/IMA output.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2008 08:57 AM
тАО03-20-2008 08:57 AM
Re: LINK/SECTION & INSTALL /RES - feature for ?
$ anal/image hello/inter
This is an OpenVMS Alpha image file
IMAGE HEADER
...
Image Section Descriptors (ISD)
...
2) image section descriptor (36 bytes)
=> byte count: 512
base virtual address: %X'00020000' (P0 space)
page fault cluster size: default
ISD flags:
(0) EISD$V_GBL 0
(1) EISD$V_CRF 0
(2) EISD$V_DZRO 0
(3) EISD$V_WRT 0
(4) EISD$V_INITALCODE 0
(5) EISD$V_BASED 0
(6) EISD$V_FIXUPVEC 0
(7) EISD$V_RESIDENT 0
(8) EISD$V_VECTOR 0
(9) EISD$V_PROTECT 0
(10) EISD$V_LASTCLU 1
=> (11) EISD$V_EXE 1
(12) EISD$V_NONSHRADR 0
section type: EISD$K_NORMAL
base VBN: 4
I clicked the [Retain format...] and just hope you can read it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2008 04:01 PM
тАО03-24-2008 04:01 PM
Re: LINK/SECTION & INSTALL /RES - feature for ?
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.
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.
Once your code is stable, you can determine the consumption directly from SHOW MEMORY/GH_REGIONS.
When determining ADD_GH_* MODPARAMS statements for a particular program, I'd still recommend adding some headroom.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-25-2008 07:05 AM
тАО03-25-2008 07:05 AM