- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Using (Alpha) DECset PCA with a subprocess created...
Operating System - OpenVMS
1753907
Members
8855
Online
108810
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО07-13-2010 08:30 AM
тАО07-13-2010 08:30 AM
Using (Alpha) DECset PCA with a subprocess created with creprc
Hi there,
I'm investigating a performance problem with a system (running on an Alpha) that creates various sub process. These processes are created using $creprc command from the code. The program basically loops through a list of processes to create. I want to run PCA with some or all of these processes. Can you tell me how I'd go about that?
Each process is currently called as follows:
status := $creprc(pidadr := pid,
image := 'name_obj:' + image,
prcnam := name ,
mbxunt := mbx_unit_num::integer,
baspri := priority);
The image and name variables above would be 'AUTOSTAT' for instance? Would it be as easy as changing the name variable to 'PCA$AUTOSTAT'?
Do I need to specify a log file to the creprc command?
Does the processes that I'm monitoring need to be closed down in a particular manner for the collection process?
Any info a big help?
I'm investigating a performance problem with a system (running on an Alpha) that creates various sub process. These processes are created using $creprc command from the code. The program basically loops through a list of processes to create. I want to run PCA with some or all of these processes. Can you tell me how I'd go about that?
Each process is currently called as follows:
status := $creprc(pidadr := pid,
image := 'name_obj:' + image,
prcnam := name ,
mbxunt := mbx_unit_num::integer,
baspri := priority);
The image and name variables above would be 'AUTOSTAT' for instance? Would it be as easy as changing the name variable to 'PCA$AUTOSTAT'?
Do I need to specify a log file to the creprc command?
Does the processes that I'm monitoring need to be closed down in a particular manner for the collection process?
Any info a big help?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2010 02:32 PM
тАО07-13-2010 02:32 PM
Re: Using (Alpha) DECset PCA with a subprocess created with creprc
Sorry, I don't know much about PCA, but
your $CREPRC is missing the PQL (quota) parameter, which means it will be running with default/minimal quotas. See PQL_D* and PQL_M* SYSGEN parameters, which could easily result in performance issues. This is especially true if the same image(s) execute with adequate performance when run interactively.
Whenever you start a process directly with $CREPRC, you need to make sure it's given adequate quotas. Quotas are NOT inherited from then parent process (see documentation for $CREPRC for the convoluted and confusing way in which quotas are determined). Make sure you specify ALL quotas which are relevant to the process. I strongly advise against adjusting system wide PQL parameters to compensate.
Be very careful creating a PQL structure as it's an unaligned array of 5 byte entries (byte, long). Most languages will helpfully try to align it. Start with a test $CREPRC, running a process that just calls $HIBER and confirm that all the quotas you specify have been correctly propagated using F$GETJPI.
your $CREPRC is missing the PQL (quota) parameter, which means it will be running with default/minimal quotas. See PQL_D* and PQL_M* SYSGEN parameters, which could easily result in performance issues. This is especially true if the same image(s) execute with adequate performance when run interactively.
Whenever you start a process directly with $CREPRC, you need to make sure it's given adequate quotas. Quotas are NOT inherited from then parent process (see documentation for $CREPRC for the convoluted and confusing way in which quotas are determined). Make sure you specify ALL quotas which are relevant to the process. I strongly advise against adjusting system wide PQL parameters to compensate.
Be very careful creating a PQL structure as it's an unaligned array of 5 byte entries (byte, long). Most languages will helpfully try to align it. Start with a test $CREPRC, running a process that just calls $HIBER and confirm that all the quotas you specify have been correctly propagated using F$GETJPI.
A crucible of informative mistakes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2010 08:17 PM
тАО07-13-2010 08:17 PM
Re: Using (Alpha) DECset PCA with a subprocess created with creprc
Hi,
PCA helps to find the hotspots in user mode applications. You need debug versions of your application so that after running your application with PCA collector, PCA analyzer can show the hotspots in your application.
If you are suspecting that the performance of your subprocesses are not as expected you may need to run PCA for those subprocesses.
I think using PCS SDA extension is a good idea here to start with. PCS allows you to collect PCS samples for selected processes.
$ anal/syst
OpenVMS system analyzer
SDA> pcs
This should give you the various option with which you can collect PCS samples.
As far as answering your questions
>>The image and name variables above would >>be 'AUTOSTAT' for instance? Would it be as >>easy as changing the name variable >>to 'PCA$AUTOSTAT'?
>>Do I need to specify a log file to the >>creprc command?
>>Does the processes that I'm monitoring >>need to be closed down in a particular >>manner for the collection process?
I don't think these are necessary to analyze the performance of your appication.
-Pramod.
PCA helps to find the hotspots in user mode applications. You need debug versions of your application so that after running your application with PCA collector, PCA analyzer can show the hotspots in your application.
If you are suspecting that the performance of your subprocesses are not as expected you may need to run PCA for those subprocesses.
I think using PCS SDA extension is a good idea here to start with. PCS allows you to collect PCS samples for selected processes.
$ anal/syst
OpenVMS system analyzer
SDA> pcs
This should give you the various option with which you can collect PCS samples.
As far as answering your questions
>>The image and name variables above would >>be 'AUTOSTAT' for instance? Would it be as >>easy as changing the name variable >>to 'PCA$AUTOSTAT'?
>>Do I need to specify a log file to the >>creprc command?
>>Does the processes that I'm monitoring >>need to be closed down in a particular >>manner for the collection process?
I don't think these are necessary to analyze the performance of your appication.
-Pramod.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2010 12:20 AM
тАО07-14-2010 12:20 AM
Re: Using (Alpha) DECset PCA with a subprocess created with creprc
It would probably be best to create a process with DCL running a DCL procedure which ran the program with PCA.
However using PCS$SDA may well be easier.
It works in a similar way to SPL$SDA
see http://h71000.www7.hp.com/doc/84final/6549/6549pro_spl.html#spin_lock_tracing
However using PCS$SDA may well be easier.
It works in a similar way to SPL$SDA
see http://h71000.www7.hp.com/doc/84final/6549/6549pro_spl.html#spin_lock_tracing
____________________
Purely Personal Opinion
Purely Personal Opinion
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP