Erlang/OTP Forums

Author Message

<  Erlang  ~  Single node, multi-core on windows, ping-pong app - 1 core?

qertoip
Posted: Sun Jun 01, 2008 9:48 am Reply with quote
Joined: 01 Jun 2008 Posts: 1
The ping pong application from the "Getting Started with Erlang" tutorial (p. 30), although spawns 2 processes (ping and pong) does _not_ use 2 cores.

Why?

What conditions must be met to take advantage of two cores withing a single Erlang node?

The Erlang version is R12B and the number of cores is properly recognized as 2:
Erlang (BEAM) emulator version 5.6.2 [smp:2] [async-threads:0]
View user's profile Send private message
francesco
Posted: Mon Jun 02, 2008 11:49 am Reply with quote
User Joined: 07 Jul 2006 Posts: 249 Location: London
An Erlang process will take microseconds to be spawned and start off with a very small memory footprint. Two processes are not enough to see the benefits of SMP. You need to have an application which spawns thousands of processes which all do something at the same time. I would suggest you install ejabberd and test it with tsung. You should see a 40% increase in performance on a dual core machine.

Hope this helps,
Francesco
--
http://www.erlang-consulting.com
View user's profile Send private message Visit poster's website
wuji
Posted: Sat Aug 18, 2012 7:30 am Reply with quote
User Joined: 10 Aug 2012 Posts: 654
For the next 11 years, doctors treated him with with replica designer *beep* with anti-retroviral therapy, to which he responded positively.In 2006, however,
health deteriorated. He was diagnosed with acute myeloid leukemia -- -- [h3]cheap Christian Louboutin[/h3] -- and underwent chemotherapy. While the first round of treatment
to work, it also made him more susceptible to infections. infections. cheap polo shirts infections. Brown developed pneumonia early on in his treatment, and
battled sepsis halfway through his third round of chemo. His His [h3]replica designer bags for sale[/h3] His doctors realized they would have to try a different
oncologist, Dr. Gero Hutter of the Charite Hospital in Berlin, Berlin, cheap replica *beep* Berlin, opted to give Brown a stem cell transplant to
his leukemia. But rather than choosing a matched donor, he he cheap louboutins he used the stem cells of a donor he found
had what is known as a CCR5 mutation -- a a discount designer *beep* a mutation that makes cells immune to the HIV.In
later published in the New England Journal of Medicine, Hutter Hutter [h1]cheap Ralph Lauren Polo[/h1] Hutter and his colleagues reported that the transplant not only
View user's profile Send private message
dongdongwu
Posted: Thu Sep 20, 2012 3:23 am Reply with quote
User Joined: 19 Sep 2012 Posts: 236
His good friend Diane said: "Christian Louboutin Men Shoes was a magician, he make shoes is immediately put his female people with legs and advantage. He understands women wanted to do and can make them into beautiful Cinderella." Madonna often in its concert wearing Christian louboutin high heels , and some famous superstar like Angelina jolie, mariah Carey, beyonce Knowles, the famous Japanese singer YaYouMei Hamasaki helps Christian Louboutin Men Shoes set up its powerful position. The youngest customers will count Tom cruise's daughter sully cruz. Louboutin made for only a pair of handmade Christian Louboutin high heel Shoes! Want to be more fashion? Put on Christian Louboutin Outlet !
Candy colors of the chalaza high-heeled shoes with lolita type allure, set full finely gem blue "neon shoes" is to need to use "sexy" to describe. Each pair are worth careful appreciation of lithe and graceful fairy ludaoli, what kind of most let you move?Christian Louboutin Men Shoes that one brush red is always cannot resist the temptation, Christian Louboutin men outlet continue to use the days of high 8cm above slender heel proclaim the sexy and luxuriant. The bowknot on black pointed high-heeled shoes with sharp rivet concomitant, wild python met enchanting color printing grain, It is that pairs of high-heeled shoes lets Carrie more feminine flavour. Like Christian Louboutin for men her word.
View user's profile Send private message

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