Operating System - HP-UX
1753905 Members
10343 Online
108810 Solutions
New Discussion юеВ

Re: What is difference about multithread between 11.0 and 11.i?

 
Lee Joon Moon
Occasional Advisor

What is difference about multithread between 11.0 and 11.i?

Hello everyone.

I'm testing GIS solutions(ERSI) on HPUX.
When I tested it on HPUX11.i, the soulutions used all CPU(4 CPUs).
But I tested it on HPUX 11.0, the soultions
seemed to use only one CPU.
So, I don't know why this result happened.
Is there any difference about multithread between 11.0 and 11.i?

Thanks you!
2 REPLIES 2
James Murtagh
Honored Contributor

Re: What is difference about multithread between 11.0 and 11.i?

Hi,

There is no difference in the thread model between 11.00 and 11.11 (11i or 11i V1.0), both implement the 1 x 1 model through the posix (pthreads - which I assume the app is running??) api. Note that from 11i (11.22) onwards the M x N model is implemented, although I'm sure you are talking about 11.11. I can't think offhand why there would be any difference. How exectly did you determine which threads were using which cpu....pstat or glance? Just make sure 11.00 is patched as well as it can be I suppose, check for any warnings against your current patches, especially pthreads, scheduling.

Cheers,

James.
rick jones
Honored Contributor

Re: What is difference about multithread between 11.0 and 11.i?

IIRC, on 11.0 it was still possible to compile for a threading model like that of 10.20 - that is to say Mx1 ("user space" or "green" ?) threads).

Perhaps the 11.0 testing was using a version compiled that way, or perhaps the bits you were running on 11.0 were really compiled on 10.20.
there is no rest for the wicked yet the virtuous have no pillows