[DRBD-user] Is the rate setting in bits or bytes? and is it required?

Helmut Wollmersdorfer helmut.wollmersdorfer at gmx.at
Sat Apr 16 02:45:12 CEST 2005

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Edward Rudd wrote:
> I am create a DRBD setup and have a dedicated 10/100 NIC between the two
> boxes (crossover cable). Is the rate setting in the drbd resource in bytes
> or bits? (100Megabits or 100Megabytes) and is it an optional setting? 

man drbd.conf
rate rate
      To ensure smooth operation of the application on top of DRBD, it
      is  possible  to  limit the bandwidth which may be used by back‐
      ground synchronizations. The default is 250 KB/sec, the  default
      unit is KB/sec. Optional suffixes K, M, G are allowed.

> ie.
> if I leave it out, will it soak up all available bandwidth on the
> dedicated interface?

It will be the default of 250 KB/sec.
If you have a _dedicated_ interface you would want to use the full 
bandwith - or not? And it will work with e.g. 'rate 20M' on a 100 Mbit 
NIC - obviously only on the lower limit of the NIC.

Helmut Wollmersdorfer




More information about the drbd-user mailing list