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
+swt very_low doesn't seem to avoid schedulers getting "stuck"
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
  1 message - 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
 
Scott Lystig Fritchie  
View profile  
 More options Oct 5 2012, 12:02 am
From: Scott Lystig Fritchie <fritc...@snookles.com>
Date: Thu, 04 Oct 2012 23:01:54 -0500
Local: Fri, Oct 5 2012 12:01 am
Subject: [erlang-questions] +swt very_low doesn't seem to avoid schedulers getting "stuck"
Hi, all.  According to my private mailing list archive, there hasn't
been much mention of erl's "+swt" flag since about April 2012.

I just witnessed a case of where using "+swt very_low" with Riak
1.2.1rc2, using Erlang/OTP R15B01, get "stuck" where CPU consumption was
only 200% on an 8 core AWS instance.  The other nodes in that Riak
cluster were running at over 600% CPU utilization (on average).

When I ran this:

    {io:format("before..."), erlang:system_flag(schedulers_online, 1),
     timer:sleep(1000), erlang:system_flag(schedulers_online, 8),
     io:format("after\n")}.

... then average CPU utilization on that node immediately shot up from
200% to about 760%.

I'd heard a rumor that "+swt very_low" was supposed to avoid whatever
weird scheduler problem/bug that caused some schedulers to appear as if
they weren't active.  But I was on site today and witnessed this
first-hand and verified that the "+swt very_low" flag was indeed being
used.

I'm not certain what exact Linux distribution and kernel was used.  I'll
ask the customer to send me that info so I can forward it to the list.

Has anyone else seen this behavior?  Unlike Knut Nesheim's report on
this list back in February 2012, Riak does not use the halfword
emulator.  We are using some NIFs, but this customer isn't using the
most evil one, the Riak eleveldb NIF library.  Instead, they're using
the Bitcask backend (which has a NIF component but isn't as evil as
eleveldb's NIF) and the merge_index backend (which is pure Erlang).

-Scott
_______________________________________________
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 »