Operating System - HP-UX
1819837 Members
2594 Online
109607 Solutions
New Discussion юеВ

Re: need some information about psd_max_cores on 11.23

 
SOLVED
Go to solution
Praveen
Advisor

need some information about psd_max_cores on 11.23

Hi,

I need some help regarding psd_max_core which gives the maximum no of cores on the syste. We have two HPUX 11.23 systems, in /usr/include/sys/pstst/global_pstat_body.h file, one system doesnt have psd_max_cores and the other system has it. How do I find out when psd_max_cores was introduced on 11.23?? What patch level is needed to get the max number of core ( psd_max_cores API ) in the system?

B.11.23 U 9000/800 3706626100 ---> has psd_max_cores

B.11.23 U 9000/800 1816940680 ---> Does NOT have psd_max_cores

Please help
9 REPLIES 9
Steven E. Protter
Exalted Contributor

Re: need some information about psd_max_cores on 11.23

Shalom,

http://h71028.www7.hp.com/ERC/downloads/4AA0-7695ENW.pdf

This appears to be related to a software library which is probably not installed on the second machine.

11.23 and 11.31 do not have kernel parameters by this name.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven E. Protter
Exalted Contributor

Re: need some information about psd_max_cores on 11.23

Shalom,

Is one of these machines a virtual machine?

http://docs.hp.com/en/9450/vse_tips_for_application_developers.pdf

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Praveen
Advisor

Re: need some information about psd_max_cores on 11.23

No none of them are virtual systems..

Thanks and Regards

Praveen...
Don Morris_1
Honored Contributor
Solution

Re: need some information about psd_max_cores on 11.23

This isn't a kernel parameter he's talking about, it is a field in the pstat_getdynamic() information structure [struct pst_dynamic].

PHKL_34912 introduced it, that is superseded by PHKL_36853. So either will provide it.

Note that these are intended to be used with MemFS and/or LEBM (hence they're defined out of the structure definition for other application builds).
Dennis Handly
Acclaimed Contributor

Re: need some information about psd_max_cores on 11.23

>How do I find out when psd_max_cores was introduced on 11.23?? What patch level is needed to get the max number of core (psd_max_cores API) in the system?

Don has told you the solution. You can also figure this out for yourself by using:
swlist -l file | grep pstst/global_pstat_body.h

It should find an entry in the base OS. And another in whatever patch changed it.
Praveen
Advisor

Re: need some information about psd_max_cores on 11.23

Thank you all for your help. Particularly Don and Dennis... you resolved my problem
Praveen
Advisor

Re: need some information about psd_max_cores on 11.23

pstat_getdynamic() information structure [struct pst_dynamic] was introduced in PHKL_34912 patch, that is superseded by PHKL_36853. So either will provide it.
Praveen
Advisor

Re: need some information about psd_max_cores on 11.23

Hi Don/Dennis

Is there any equivalent patch for 11.11??? Please let me know.I searched but couldnt get any info.
Dennis Handly
Acclaimed Contributor

Re: need some information about psd_max_cores on 11.23

>Is there any equivalent patch for 11.11?

I doubt enhancements of this nature would be made to 11.11.