Performance

Of course DRBD's write performance depends on the performance of the network and the performance of the contributing disks. Due to Linuxs Buffer-Cache the read-performance is hard to measure. The ratio of DRBD's read-performance to the disk's read-performance is probably about the same as the ratio of DRBD uncon. to disk write.

It is quite easy to get such performance values from your setup, just run ~drbd/benchmark/run.sh. If you do so, please consider contributing your results to this page. Especially interesting would be benchmarks from a setup with a high network bandwidth and high/long latency.

The values in the columns Disk write, DRBD uncon., Prot. A, B and C are for sequential writing. The amount used for the write tests and the network test is given in the set size field.


Network bandwidthNetwork latency (min/avg/max)Set SizeDrbd rev.
0.95 MB/s0.5/0.5/0.8 ms 10M0.5.3
OSRev.Arch BogoMipsDisk writeDrbd uncon. Prot. AProt. B Prot. C
Node1Linux2.2.13alpha528.484.49 MB/s4.68 MB/s0.70 MB/s0.73 MB/s0.65 MB/s
Node2Linux2.2.13i58647.822.09 MB/s2.11 MB/s0.95 MB/s0.94 MB/s0.91 MB/s
Network bandwidthNetwork latency (min/avg/max)Set SizeDrbd rev.
1.04 MB/s0.5/0.5/0.7 ms 55M0.5.3
OSRev.Arch BogoMipsDisk writeDrbd uncon. Prot. AProt. B Prot. C
Node1Linux2.2.13alpha528.484.94 MB/s4.81 MB/s0.74 MB/s0.74 MB/s0.73 MB/s
Node2Linux2.2.13i58647.822.05 MB/s1.16 MB/s0.95 MB/s0.94 MB/s0.93 MB/s

These are benchmarks from my machines, on which I am developing DRBD.


Network bandwidthNetwork latency (min/avg/max)Set SizeDrbd rev.
4.33 MB/s0.1/0.8/36.4 ms 10M0.5.3
OSRev.Arch BogoMipsDisk writeDrbd uncon. Prot. AProt. B Prot. C
Node1Linux2.2.12-20i686265.422.27 MB/s1.99 MB/s1.30 MB/s1.29 MB/s1.51 MB/s
Node2Linux2.2.12-20i686265.422.23 MB/s2.04 MB/s1.30 MB/s1.31 MB/s1.59 MB/s
Network bandwidthNetwork latency (min/avg/max)Set SizeDrbd rev.
9.70 MB/s0.1/0.8/34.3 ms 100M0.5.3
OSRev.Arch BogoMipsDisk writeDrbd uncon. Prot. AProt. B Prot. C
Node1Linux2.2.12-20i686265.422.26 MB/s1.96 MB/s1.34 MB/s1.34 MB/s1.48 MB/s
Node2Linux2.2.12-20i686265.422.25 MB/s1.99 MB/s1.31 MB/s1.30 MB/s1.49 MB/s

Thanks, Joe, for these values.


Network bandwidthNetwork latency (min/avg/max)Set SizeDrbd rev.
8.60 MB/s0.0/0.0/0.3 ms 100M0.5.3
OSRev.Arch BogoMipsDisk writeDrbd uncon. Prot. AProt. B Prot. C
Node1Linux2.2.14-9cli586897.8411.17 MB/s10.21 MB/s3.67 MB/s3.59 MB/s3.56 MB/s
Node2Linux2.2.14-14cli586799.548.66 MB/s7.80 MB/s3.80 MB/s3.69 MB/s3.99 MB/s
Network bandwidthNetwork latency (min/avg/max)Set SizeDrbd rev.
8.70 MB/s0.0/0.0/0.2 ms 100M0.5.3
OSRev.Arch BogoMipsDisk writeDrbd uncon. Prot. AProt. B Prot. C
Node1Linux2.2.14-9cli586897.8414.88 MB/s12.90 MB/s4.94 MB/s4.68 MB/s4.57 MB/s
Node2Linux2.2.14-14cli586799.5410.97 MB/s9.11 MB/s5.35 MB/s5.30 MB/s5.20 MB/s
Network bandwidthNetwork latency (min/avg/max)Set SizeDrbd rev.
0.94 MB/s0.3/0.3/0.5 ms 100M0.5.3
OSRev.Arch BogoMipsDisk writeDrbd uncon. Prot. AProt. B Prot. C
Node1Linux2.2.14-9cli586897.8415.79 MB/s14.18 MB/s1.06 MB/s1.04 MB/s1.01 MB/s
Node2Linux2.2.14-14cli586799.5411.34 MB/s9.83 MB/s0.87 MB/s0.92 MB/s0.87 MB/s

Fábio sent these. Thanks.


Network bandwidthNetwork latency (min/avg/max)Set SizeDrbd rev.
11.10 MB/s0.0/0.0/0.2 ms 100M0.5.3
OSRev.Arch BogoMipsDisk writeDrbd uncon. Prot. AProt. B Prot. C
Node1Linux2.2.14i686498.0711.23 MB/s10.40 MB/s6.63 MB/s6.28 MB/s5.63 MB/s
Node2Linux2.2.14i586466.946.76 MB/s6.06 MB/s6.26 MB/s6.46 MB/s5.40 MB/s
Network bandwidthNetwork latency (min/avg/max)Set SizeDrbd rev.
11.10 MB/s0.0/0.0/0.2 ms 100M0.5.3
OSRev.Arch BogoMipsDisk writeDrbd uncon. Prot. AProt. B Prot. C
Node1Linux2.2.14i686498.0711.30 MB/s9.65 MB/s6.14 MB/s6.18 MB/s5.29 MB/s
Node2Linux2.2.14i586466.946.62 MB/s6.34 MB/s6.27 MB/s6.27 MB/s6.08 MB/s

Thanks to Clemens, who provided his machines for these benchmark runs.

back
Philipp Reisner
Last modified: Thu Mar 28 15:29:09 CET 2000