[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hpux-cxx-dev
Subject:    RE: CXX-DEV: HPUX11.11 and Threads
From:       "MAUCCI,CYRILLE (HP-France,ex1)" <cyrille.maucci () hp ! com>
Date:       2004-03-29 12:44:32
Message-ID: CF35E3640542D411B8E600D0B747B166131E820F () camus ! grenoble ! hp ! com
[Download RAW message or body]

Waooo.... I am not sure this can be achieved on such old servers...


Sorry, you'll have to go through mpctl(2).
Or what you can try is to launch your program using mpsched(1) (see man 1
mpsched) as long as your program doesn't specifically re-binds the threads
via pthread_attr_setprocessor_np().


Regards
Cyrille


Lalit Seth wrote:
> bdhp4330 is a 9000/871/D370 + 1792MB RAM + 2*PA-RISC2.0 CPU (214.0 -
> 32/64bit) at 160MHz running HP-UX 11.11 (64-bit)
> 
> On Mon, 2004-03-29 at 17:50, MAUCCI,CYRILLE (HP-France,ex1) wrote:
>> Can you please run the attached script as root on your machine?
>> 
>> Regards
>> Cyrille
>> 
>> Lalit Seth wrote:
>>> uname -a returns:
>>> 
>>> HP-UX bdhp4330 B.11.11 U 9000/871 2000287789 unlimited-user license
>>> 
>>> On Mon, 2004-03-29 at 17:32, MAUCCI,CYRILLE (HP-France,ex1) wrote:
>>>> What is the HP hardware you are running on?
>>>> 
>>>> Lalit Seth wrote:
>>>>> How can i deactivate an CPU temporarily.
>>>>> 
>>>>> On Mon, 2004-03-29 at 13:16, MAUCCI,CYRILLE
> (HP-France,ex1) wrote:
>>>>>> What is the HP hardware you are running on?
>>>>>> 
>>>>>> You may also want to temporarily deactivate one of the CPU to
>>>>>> ease the tests. 
>>>>>> 
>>>>>> Regards
>>>>>> Cyrille
>>>>>> 
>>>>>> 
>>>>>> owner-cxx-dev@cxx.cup.hp.com wrote:
>>>>>>>> I am finding program synchronization problem on HPUX 11.11 as
>>>>>>>> the same program runs fine under RH8 and RH9 with single
>>>>>>>> processoer but fails on HPUX 11.11 which is multiprocessor. I
>>>>>>>> thought may be multiprocessor is a problem so i wanted to make
>>>>>>>> that run using single processoer on HPUX11.11 as see if it
>>>>>>>> works on not. 
>>>>>>> 
>>>>>>> Maybe mpctl(2) is what you're looking for.
>>>>>>> 
>>>>>>> Mario
>>>>>>> 
>>> _________________________________________________________________
>>>>>>>  To leave this mailing list, send mail to
>>>>>>>     majordomo@cxx.cup.hp.com with the message UNSUBSCRIBE
>>>>>>> cxx-dev 
>>>>>>> 
>>> _________________________________________________________________
>>>> 
> _________________________________________________________________
>>>>  To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
>>>>     with the message UNSUBSCRIBE cxx-dev
>>>> 
> _________________________________________________________________
 _________________________________________________________________
 To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
    with the message UNSUBSCRIBE cxx-dev
 _________________________________________________________________
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic