[DRBD-user] drbd Performance

Stefan Novak stefan.novak at bnet.at
Thu Jul 10 14:46:43 CEST 2008

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


Hello!
 
I test the I/O Performance using dm and bonnie. I am confused that the
drbd Performance is only the half than directly on the /dev/sda device.
For testing purposes I've only one single node because i want to test
the I/O of the SCSI Controller, not of DRBD.
 
633#po-b:/root/dm -a 0 -o /srv/ha/drbd0/test.bin -y -p -s 3000M
49.45 MB/sec (3145728000 B / 01:00.673287)
634#po-b:/root/dm -a 0 -o /tmp/test.bin -y -p -s 3000M
89.42 MB/sec (3145728000 B / 00:33.549299)

DRBD Partition:
Version  1.03       ------Sequential Output------ --Sequential Input-
--Random-
                    -Per Chr- --Block-- -Rewrite- -Per Chr- --Block--
--Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP
/sec %CP
po-b            16G 41103  83 50722  17 27017   7 32580  58 51254   5
660.8   1
                    ------Sequential Create------ --------Random
Create--------
                    -Create-- --Read--- -Delete-- -Create-- --Read---
-Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
/sec %CP
                 16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++
+++++ +++
test,16G,41103,83,50722,17,27017,7,32580,58,51254,5,660.8,1,16,+++++,+++
+++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++

Normal Partition:
Version 1.03b       ------Sequential Output------ --Sequential Input-
--Random-
                    -Per Chr- --Block-- -Rewrite- -Per Chr- --Block--
--Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP
/sec %CP
ubuntu           6G 43931  98 100033  37 41393   9 47964  94 80047   8
1064   4
                    ------Sequential Create------ --------Random
Create--------
                    -Create-- --Read--- -Delete-- -Create-- --Read---
-Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
/sec %CP
                 16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++
+++++ +++
ubuntu,6G,43931,98,100033,37,41393,9,47964,94,80047,8,1064.4,4,16,+++++,
+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++
 
 

635#test:cat /proc/drbd
version: 0.7.16 (api:77/proto:74)
SVN Revision: 2066 build by root at po-b, 2006-05-04 19:43:22
 0: cs:WFConnection st:Primary/Unknown ld:Consistent
    ns:0 nr:0 dw:78907684 dr:50645498 al:23293 bm:23550 lo:0 pe:0 ua:0
ap:0

mfg S.Novak



More information about the drbd-user mailing list