[DRBD-user] write performance for DRBD devices seems to be slow

Lars Ellenberg Lars.Ellenberg at linbit.com
Thu Jul 7 23:17:31 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.

/ 2005-07-07 20:18:06 +0800
\ Warren Beldad:
> Hi all!
> I have are a simple results of the performance of my drbd test machines.
> Using the dd command, first I get the performance value of my
> harddisk. That would be formatting the /dev/sda with XFS and then
> mount it and then write a 1GB file (which is twice the size of my RAM)
> into that disk with dd command on different block sizes and then read
> back that file into the black hole.
> time dd if=/dev/zero of=testfile.txt bs=512k count=2000
> time dd if=testfile.txt of=/dev/null bs=512k

your benchmark is broken.
man close
man fsync
no, dd does not do fsync.

: Lars Ellenberg                                  Tel +43-1-8178292-0  :
: LINBIT Information Technologies GmbH            Fax +43-1-8178292-82 :
: Schoenbrunner Str. 244, A-1120 Vienna/Europe   http://www.linbit.com :
please use the "List-Reply" function of your email client.

More information about the drbd-user mailing list