Re: Does setstreamthroughput also throttle the network traffic caused by nodetool repair?

2013-01-28 Thread aaron morton
  Will that throttle the network traffic caused by nodetool repair?
yes. 


 Should I call it to all the nodes on the cluster?
Or set it in the yaml file.

Cheers

-
Aaron Morton
Freelance Cassandra Developer
New Zealand

@aaronmorton
http://www.thelastpickle.com

On 25/01/2013, at 2:31 PM, Wei Zhu wz1...@yahoo.com wrote:

 In the yaml, it has the following setting
 
 # Throttles all outbound streaming file transfers on this node to the
 # given total throughput in Mbps. This is necessary because Cassandra does
 # mostly sequential IO when streaming data during bootstrap or repair, which
 # can lead to saturating the network connection and degrading rpc performance.
 # When unset, the default is 400 Mbps or 50 MB/s.
 # stream_throughput_outbound_megabits_per_sec: 400
 
 Is this the same value as if I call
 
 Nodetool setstreamthroughput 
 
 Should I call it to all the nodes on the cluster? Will that throttle the 
 network traffic caused by nodetool repair?
 
 Thanks.
 -Wei



Does setstreamthroughput also throttle the network traffic caused by nodetool repair?

2013-01-24 Thread Wei Zhu
In the yaml, it has the following setting

# Throttles all outbound streaming file transfers on this node to the
# given total throughput in Mbps. This is necessary because Cassandra does
# mostly sequential IO when streaming data during bootstrap or repair, which
# can lead to saturating the network connection and degrading rpc performance.
# When unset, the default is 400 Mbps or 50 MB/s.
# stream_throughput_outbound_megabits_per_sec: 400

Is this the same value as if I call

Nodetool setstreamthroughput 

Should I call it to all the nodes on the cluster? Will that throttle the 
network traffic caused by nodetool repair?

Thanks.
-Wei