Disabling Mirror Throttling Using the CLI

By default, mirror throttling is enabled, which means that the server that sends mirror data, restricts itself to about 30% of the available bandwidth, as measured in MapR's internal environment, with the default settings of the following parameters. Mirror throttling is based on the number of outstanding requests on the network, and outstanding I/O requests on disk, and can be tuned using the parameters, mfs.disk.iothrottle.count, mfs.disk.resynciothrottle.factor, and mfs.network.resynciothrottle.factor, in the mfs.conf file. When other processes need more network bandwidth, the server throttles back to slow down the rate of data transfer.

By disabling throttling, the mirror operation completes faster. To disable mirror throttling from the command line, run the volume modify command on the source volume and set the -mirrorthrottle option to false, as shown in this example:

/opt/mapr/bin/maprcli volume modify -name volA -mirrorthrottle false

This command disables throttling for all mirror volumes whose source is volA. Note that the -mirrorthrottle option only applies to volumes that have mirrors.