Erlang Mailing Lists

Author Message

<  Erlang  ~  concurrency

keymone
Posted: Wed Sep 19, 2007 6:07 am Reply with quote
User Joined: 17 Sep 2007 Posts: 11 Location: Lviv, Ukraine
hi!

any ideas why erlang does not using both cores of my Pentium D processor under windows XP? tried "erl +S 2" - does not working.

same problem in linux (kUbuntu Feisty) when i'm using "erl" but "erl -smp +S 2" working ok
View user's profile Send private message MSN Messenger ICQ Number
michal
Posted: Wed Sep 19, 2007 9:29 am Reply with quote
User Joined: 20 Jul 2006 Posts: 44 Location: London
ERTS (Erlang Runtime System) included in R11B dose not support SMP on Windows. Windows will be supported in a future release. You can find more detailed info here: http://www.erlang.org/doc/apps/erts/notes.html#1.13

Michal

_________________
http://www.erlang-consulting.com
View user's profile Send private message
keymone
Posted: Wed Sep 19, 2007 10:23 am Reply with quote
User Joined: 17 Sep 2007 Posts: 11 Location: Lviv, Ukraine
thanks for answer but still - why erlang does not using both cores on linux platform by default?
View user's profile Send private message MSN Messenger ICQ Number
michal
Posted: Wed Sep 19, 2007 1:20 pm Reply with quote
User Joined: 20 Jul 2006 Posts: 44 Location: London
Start Erlang with -smp auto flag. This starts the Erlang runtime system with SMP support enabled if it is available and more than one logical processor are detected.
This will probably be the default behavior some time in the future.

If you want some "automatic" way of enabling smp read this post: http://www.erlang.org/pipermail/erlang-questions/2007-July/027881.html

Michal

_________________
http://www.erlang-consulting.com
View user's profile Send private message
keymone
Posted: Wed Sep 19, 2007 1:48 pm Reply with quote
User Joined: 17 Sep 2007 Posts: 11 Location: Lviv, Ukraine
yeah.. but.. hm.... it is just strange to disable the most valuable Erlang's feature by default
View user's profile Send private message MSN Messenger ICQ Number

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum