- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: P0 address space
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
тАО02-23-2009 02:21 AM
тАО02-23-2009 02:21 AM
I find a process for which it's at %X38ae2000.
Thus almost the limit of 1 GB.
It's a Sybase db server on 7.3.
What does it exactly means in "VMS for dummies" words ?
Can it increase or is it static ?
Can it be almost 1 GB when a program starts ?
Wim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2009 04:09 AM
тАО02-23-2009 04:09 AM
Re: P0 address space
the per-process P0 address space ranges from virtual addresses %x00000000 to %x3FFFFFFF. The value returned for F$GETJPI(
$ ANAL/SYS
SDA> SET PROC/IND=
SDA> SHOW PROC/PHD ! shows this as...
...
First free P0 VA 00000000.00332000
...
SDA> SHOW PROC/PAGE 332000
will show a 'null page'
The FREP0VA value can increase, if the image running in this process expands it's P0 address space. If the image tries to expand P0 space beyond the architectural limit of 1 GB, it will get: VASFULL, virtual address space is full.
Depending on the size and attributes of the image and the number and size of shareable images activated, sections mapped etc. this value could be near 1 GB after image startup, but that is unlikely. Look for image virtual address space layout with SDA> SHOW PROC/IMAGE.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2009 04:30 AM
тАО02-23-2009 04:30 AM
Re: P0 address space
It stays on the same value. But other processes running the same exe with the same user name on the same node have lower values (but still 0.5 GB). Only their quotas are different. Is the db cache mapped in P0 ?
Show proc/ima says 1017 pages allocated for 14 images.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2009 04:48 AM
тАО02-23-2009 04:48 AM
SolutionI'm not running Sybase, so I can't check. There was some ITRC discussion 3 years ago about the 1 GB limit in Sybase:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1082602
Maybe the DB is mapped via global sections ?
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2009 04:52 AM
тАО02-23-2009 04:52 AM
Re: P0 address space
Is there an actual problem, or just curious and cautious after the recent VASFUL topic here in teh forum ( http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1316112 )
I do not know Sybase, but I suspect Sybase mapped some global section into high memory to share with absolute addressing instead of proper relative addressing. That was a common technique folks use back in OpenVMS V4, V5 days.
Oracle used to do that as well.
INSTALL may be able to see the sections.
ANAL/SYSTE ... SET PROC
Then , as Volker indicates, use SHOW PROC/IMAGE to get a lay of the land, and SHOW PROC/PAGE and SHOW PROC/PROCESS_SECTION to drill down on details.
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2009 04:59 AM
тАО02-23-2009 04:59 AM
Re: P0 address space
I will exclude dataserver from the monitoring.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2009 04:59 AM
тАО02-23-2009 04:59 AM
Re: P0 address space
You may want to check the SYBASE scripts for INSTALL, STARTUP or LINK for variables/logical like "_BASE" or "_ADDRESS".
If that does not give something 'obvious', then look for strings in the images.
Please find attached a little MACRO tool that can be used to hunt through binary data files like oobject or images to look for 'words'. It is much similar to the Unix tool 'strings', but I'd like to think it does a better job at avoiding false positives.
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2009 05:06 AM
тАО02-23-2009 05:06 AM
Re: P0 address space
Dataserver is never relinked. It's not even installed. No successwith the search.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2009 03:58 PM
тАО02-23-2009 03:58 PM
Re: P0 address space
> Can it increase or is it static ?
FREP0VA can increase or (in rare cases) decrease over time. P0 expands with $EXPREG and (may) contract with $DELTVA, but only if the VA being deleted is at the end of the region. In practice contraction is rare. Most of the time FREP0VA will be monotonic increasing, and hopefully asymptotic to a reasonable maximum.
>Can it be almost 1 GB when a program starts ?
Certainly. It can be any value up to the maximum PHD$Q_P0_REGION_SIZE (architecturally set at %X40000000). For example, a process with a large static allocation could start with a large initial value.
In practice, most observed expansions are probably allocations from heap memory, malloc or LIB$GET_VM. If malloc cannot satisfy the request from its local cache, it will call LIB$VM_MALLOC or LIB$GET_VM, which may need to call LIB$GET_VM_PAGE to expand the heap, which may need to call $EXPREG to expand the region in which the heap is defined (by default P0). If $EXPREG fails, it will return SS$_VASFULL.
There is no simple way I know of to move the default heap out of P0 space. You need to explicitly code 64 bit pointers and allocations from P2 space.
In your case %X38AE2000 is rather too close to the limit for my liking, but if FREP0VA isn't increasing over time, it's not a problem. If it were code under your direct control, I'd be recommending moving some of the data structures into P2 space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2009 06:04 AM
тАО02-24-2009 06:04 AM
Re: P0 address space
On th efailign memory... for grins:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1082602
Just for curiosity, what is the 'total memory' setting for the server running close to 1GB?
If you have the time, you may want to try to bring up a sybase instance with say 10MB for the "total memory" parameter with sp_configure, one with 100MB. Observe the FREP0VA for each, and the current one, and put in a little table.
Thanks,
Hein.