[erlang-questions] Did Windows SMP support ever get added?

pan+eq <>
Thu Apr 30 11:54:53 CEST 2009


Hi,

If you run "erl.exe" on windows, you get the "oldshell", which does not 
inform about processors and stuff. The same behaviour as erl -oldshell on 
linux. If you however run werl.exe, you should see a slogan saying 
something like:
Erlang R13B (erts-5.7.1) [64-bit] [smp:2:2] [rq:4] [async-threads:0]

Where smp:2:2 means two logical processors and two schedulers.

In the oldshell, you can do a erlang:system_info(schedulers). or 
erlang:system_info(logical_processors).

/Patrik, OTP


On Wed, 29 Apr 2009, Carl McDade wrote:

> I guess what I am looking for is a simple  way to confirm that Erlang is
> seeing the other processor. Since since Erlang does not show this info at
> start up the way it does on Linux.
>
> On Wed, Apr 29, 2009 at 12:59 PM, Kenneth Lundin
> <>wrote:
>
>> Hi,
>>
>> The SMP support on Windows was introduced in Erlang/OTP R12B which has
>> been available for more than a year now.
>>
>>
>> On Wed, Apr 29, 2009 at 12:49 PM, Carl McDade <>
>> wrote:
>>> Hi,
>>>
>>> I am asking this because it is not clear in the docs. I recently went
>> from
>>> Windows 2003 server over to Windows XP Pro on a Dual processor PC.
>> Windows
>>> XP did not pick up both processors so I had to force it a bit. But now
>>> Windows sees both processors but Erlang does not. Is it because
>>>
>>> a. I need to reinstall Erlang
>> No
>>> b. change a configuration file somewhere
>> No, at least not any Erlang specific file
>>> c. forget about it. Erlang does not support SMP in Windows yet.
>> SMP support for Windows since R12B
>>
>> I am not aware of any specific problems on Windows XP.
>>
>> /Kenneth , Erlang/OTP , Ericsson
>>>
>>> Thanks for any advice
>>>
>>> --
>>> Carl McDade
>>> www.hiveminds.co.uk
>>> ________________________
>>>
>>> _______________________________________________
>>> erlang-questions mailing list
>>> 
>>> http://www.erlang.org/mailman/listinfo/erlang-questions
>>>
>>
>
>
>
> -- 
> Carl McDade
> www.hiveminds.co.uk
> ________________________
>



More information about the erlang-questions mailing list