Operating System - HP-UX
1834530 Members
3308 Online
110068 Solutions
New Discussion

Should there be 2 smpsched procs per cpu running?

 
Kirk Dahl
Regular Advisor

Should there be 2 smpsched procs per cpu running?

Reading the doc on the kernel parm: nstrsched, it denotes that there would be 4 for 16+ cpu machines. I have an rx8640 that has 1, dual-cores so 22 cpus and there are 44 smpsched processes, is this normal?

http://docs.hp.com/en/939/KCParms/KCparam.NstrSched.html
2 REPLIES 2
Jaime Bolanos Rojas.
Honored Contributor

Re: Should there be 2 smpsched procs per cpu running?

Kirk,

I think that documentation was written when there was not dual-cores on the market.
I do not have a system to verify the behavior,
but I found this guy with npars, each running 1 dual core, and he got two smpsched process running for dual-core, so I would image you would have 44 smpshed processes:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1225980929347+28353475&threadId=1236427

Regards,

Jaime.
Work hard when the need comes out.
Jaime Bolanos Rojas.
Honored Contributor

Re: Should there be 2 smpsched procs per cpu running?

Kirk,

Why don´t you increase the value to other than 0 to see if the number or smpsched deamons goes down:

Determines the number of streams scheduler daemons (smpsched) running on a MP system. The default value is 0, which indicates that Streams will determine the number of daemons based on the number of processors in the system. The number of MP streams schedulers created is as follows:


# of processors # of smpscheds created--------------- --------------------- 2-4 1 5-8 2 8-16 3 16+ 4


If a tunable value > 0 is specified, then that value is used to determine the number of MP schedulers (smpsched) created on a MP system. The minimum value for this tunable is 0 and the maximum is 32.


Regards,

Jaime.
Work hard when the need comes out.