Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Test the system bottlenecks
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Solomon  
View profile  
 More options Sep 17 2012, 6:38 am
From: Solomon <solomon....@gmail.com>
Date: Mon, 17 Sep 2012 18:38:13 +0800
Local: Mon, Sep 17 2012 6:38 am
Subject: [erlang-questions] Test the system bottlenecks

I test a web server run on a 24-core server. When server get a message, it
would read/write mnesia and return a message to client. All of the mnesia
tables are ram_copies and disc_copies.
I do a stress test and found that the heighest value of cpu load is only
900%, I get I/O load by iostat and it is idle, so I guess the system
bottleneck is mnesia, but I found the reductions counter of mnesia's
process are low.
Is my guess right?

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gleb Peregud  
View profile  
 More options Sep 17 2012, 10:11 am
From: Gleb Peregud <glebe...@gmail.com>
Date: Mon, 17 Sep 2012 16:11:14 +0200
Local: Mon, Sep 17 2012 10:11 am
Subject: Re: [erlang-questions] Test the system bottlenecks
It is hard to answer with so little information. Few notes:
- Mnesia is a very complex piece of software - there is very many
processes and ETS tables. Both of them might be a serial bottleneck.
And some serializing process/ets can be short lived.
- If you use transactions for reads and writes, you are doing
serialization of all operations, hence low CPU usage is an obvious
result of this
- If you are doing dirty operations, there might be some other locks
which are being contented. Try recompiling erlang with lock counter
enabled and taking a look at results.

On Mon, Sep 17, 2012 at 12:38 PM, Solomon <solomon....@gmail.com> wrote:
> I test a web server run on a 24-core server. When server get a message, it
> would read/write mnesia and return a message to client. All of the mnesia
> tables are ram_copies and disc_copies.
> I do a stress test and found that the heighest value of cpu load is only
> 900%, I get I/O load by iostat and it is idle, so I guess the system
> bottleneck is mnesia, but I found the reductions counter of mnesia's process
> are low.
> Is my guess right?

> _______________________________________________
> erlang-questions mailing list
> erlang-questi...@erlang.org
> http://erlang.org/mailman/listinfo/erlang-questions

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »