Re: Recommended riak configuration options for better performance

2014-06-13 Thread Naveen Tamanam
Hi Alex,

What precautions should I take when I do MR work with Erlang.


On Thu, Jun 5, 2014 at 7:14 PM, Alex Moore amo...@basho.com wrote:

 Hi Naveen,

 You are running out of MR workers, you’ll either have to:
 a) Increase the worker limits on the current
 nodes (particularly map_js_vm_count and reduce_js_vm_count)
 b) Add more nodes (and thereby more workers)
 c) Do less MR work.
 d) Implement your MapReduce functions in Erlang to avoid the JS VM
 altogether

 Bryan Fink has a nice writeup on how to estimate your MR worker needs
 here:

 http://riak-users.197444.n3.nabble.com/Follow-up-Riak-Map-Reduce-error-preflist-exhausted-tp4024330p4024380.html

 Thanks,
 Alex

 On Jun 4, 2014, at 7:58 AM, Naveen Tamanam naveen32in...@gmail.com
 wrote:

 Hi Guys,


 I have 5 nodes riak cluster in  use. Each machine is having 16GB ram.  All
 those 5 machines are
 ​dedicated for riak only. No other application is there to eat resources. ​
 ​I use to do a lot of work with
 map reduce queries. Having a may map reduce queries with both map and
 reduce phases.
 I have many cases with the  the following error and log messages, ​

 ​
   error:[preflist_exhausted]
  RiakError: 'could not get a response'
  All VMs are busy

 I know  above errors can be avoided with fine tuned riak configuration
 options. I am looking for recommended values
 Here  are  few riak configuration options currently I have on each node,

   { kernel, [
 {inet_dist_listen_min, 6000},
 {inet_dist_listen_max, 7999}
   ]},

{map_js_vm_count, 48 },
{reduce_js_vm_count, 26 },
{hook_js_vm_count, 12 },
 {js_max_vm_mem, 32},
  {js_thread_stack, 16}








 ​

 --
 Thanks  Regards,
 Naveen Tamanam
 ​​

  ___
 riak-users mailing list
 riak-users@lists.basho.com
 http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com





-- 
Thanks  Regards,
Naveen Tamanam
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


Re: Recommended riak configuration options for better performance

2014-06-05 Thread Alex Moore
Hi Naveen,

You are running out of MR workers, you’ll either have to:
a) Increase the worker limits on the current nodes (particularly 
map_js_vm_count and reduce_js_vm_count)
b) Add more nodes (and thereby more workers)
c) Do less MR work.
d) Implement your MapReduce functions in Erlang to avoid the JS VM altogether

Bryan Fink has a nice writeup on how to estimate your MR worker needs here: 
http://riak-users.197444.n3.nabble.com/Follow-up-Riak-Map-Reduce-error-preflist-exhausted-tp4024330p4024380.html

Thanks,
Alex

On Jun 4, 2014, at 7:58 AM, Naveen Tamanam naveen32in...@gmail.com wrote:

 Hi Guys, 
 
 
 I have 5 nodes riak cluster in  use. Each machine is having 16GB ram.  All 
 those 5 machines are 
 ​dedicated for riak only. No other application is there to eat resources. ​ 
 ​I use to do a lot of work with
 map reduce queries. Having a may map reduce queries with both map and reduce 
 phases. 
 I have many cases with the  the following error and log messages, ​
 ​  
   error:[preflist_exhausted]
  RiakError: 'could not get a response'   
  All VMs are busy
 
 I know  above errors can be avoided with fine tuned riak configuration 
 options. I am looking for recommended values
 Here  are  few riak configuration options currently I have on each node, 
 
   { kernel, [
 {inet_dist_listen_min, 6000},
 {inet_dist_listen_max, 7999}
   ]},
 
{map_js_vm_count, 48 },
{reduce_js_vm_count, 26 },
{hook_js_vm_count, 12 },
 {js_max_vm_mem, 32},
  {js_thread_stack, 16}

 
 
  
 
 
 
 
 
 ​
 -- 
 Thanks  Regards,
 Naveen Tamanam ​​
 ___
 riak-users mailing list
 riak-users@lists.basho.com
 http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


Recommended riak configuration options for better performance

2014-06-04 Thread Naveen Tamanam
Hi Guys,


I have 5 nodes riak cluster in  use. Each machine is having 16GB ram.  All
those 5 machines are
​dedicated for riak only. No other application is there to eat resources. ​
​I use to do a lot of work with
map reduce queries. Having a may map reduce queries with both map and
reduce phases.
I have many cases with the  the following error and log messages, ​

​
  error:[preflist_exhausted]
 RiakError: 'could not get a response'
 All VMs are busy

I know  above errors can be avoided with fine tuned riak configuration
options. I am looking for recommended values
Here  are  few riak configuration options currently I have on each node,

  { kernel, [
{inet_dist_listen_min, 6000},
{inet_dist_listen_max, 7999}
  ]},

   {map_js_vm_count, 48 },
   {reduce_js_vm_count, 26 },
   {hook_js_vm_count, 12 },
{js_max_vm_mem, 32},
 {js_thread_stack, 16}








​

-- 
Thanks  Regards,
Naveen Tamanam
​​
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com