1753524 Members
5600 Online
108795 Solutions
New Discussion юеВ

nproc recommended values

 
Huu-Quan
Occasional Contributor

nproc recommended values

The recommended nproc k parm is listed as: 1000 processes per processor.

If I have 2 CPUs should I set nproc to 2000 or 1000. ie does it do calculation itself!

Failsafe

256

Default

(20+8*maxusers) or 256

Allowed values

10 - 30000

This may be set higher, but more will not be used. Setting nproc below 110 will interfere with the systems ability to execute in multi-user mode.

Recommended values

1000 processes per processor.
10 REPLIES 10
Robert-Jan Goossens
Honored Contributor

Re: nproc recommended values

Hi Lam,

Nproc is a system wide parameter.

http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparam.Nproc.html

Regards,
Robert-Jan
Ravi_8
Honored Contributor

Re: nproc recommended values

Hi,

nproc is a system wide parameter,

we set it 4096 (as db2 specify this value, also suffice for orcale) irrespective of number of CPU's
never give up
Joseph Loo
Honored Contributor

Re: nproc recommended values

hi,

may i know what applications r u running on the server? i have never heard of recommended values based on per processor for nproc.

nproc is dependent on the workload of the application/s u may be running on the server. some guides quoted that for most systems, 1024 is enough for the maximum number of processes. then again, each application usually suggest some value to be set.

regards.
what you do not see does not mean you should not believe
Huu-Quan
Occasional Contributor

Re: nproc recommended values

Thanks for your feedback.

For your info, i found those infos with URL below:
http://docs.hp.com/cgi-bin/onlinedocs.py?mpn=TKP-90202&service=hpux&path=00/00/49&title=Tunable%20Kernel%20Parameters

This is customer's application uses sybase on a OpenCall SS7 HP-UX 11i

Thanks and regards,
Huu-Quan
Robert-Jan Goossens
Honored Contributor

Re: nproc recommended values

Hi Lam,

From your link,

---->

ProcessMgmt: Process
nproc
Defines the maximum number of processes that can be running simultaneously on the entire system, including remote execution processes initiated by other systems via remsh or other networking commands. See nproc(5).

So if you need a higher value, raise it to 2000.

Regards,
Robert-Jan
Hemanth Gurunath Basrur
Honored Contributor

Re: nproc recommended values

Hello Lam,

On HP-UX 11i v2 system, I see the foll. constraints for nproc kernel tunable from the kcweb tool:

constraints
-----------
nproc >= 100, nproc <= 30000, nproc >= maxuprc + 5, nproc <= nkthread - 100, nproc >= semmnu + 4

Regards,
Hemanth
Bill McNAMARA_1
Honored Contributor

Re: nproc recommended values

here's the nproc reference:
http://docs.hp.com/hpux/onlinedocs/TKP-90202/00/01/121-con.html

I'd set it to 1000 and wait and see!

Bill
It works for me (tm)
SAHA
Honored Contributor

Re: nproc recommended values

nproc is very much application specific and generally owner of the application/s are in a better position to tell how many open process it needs (sumultaneous).

Thanks,
You must PASS failure on way to success !!!
isaac_loven
Frequent Advisor

Re: nproc recommended values

On our new Big rp4440 ( 4x2way processors ) HPUX11.11
I set Maxusers = 1024, so
nproc now equals 10240 = (10*MAXUSERS)
Please assign points.