DRBD in Windows - very slowly

docent

Renowned Member
Jul 23, 2009
96
1
73
Hi, everybody!

I have two 500GB HDD on cluster node. One HDD is used for DRBD+LVM and other HDD is used for LVM only. On Windows 2008 I attach two disks: one from DRBD and other from second HDD.
When I copy big file from DRBD to second disk, the speed is about 52MB/s, but when I copy file from second disk to DRBD the speed id about 19MB/s.
Both disks attached as VIRTIO.
It should be that?
 
Hi, everybody!

I have two 500GB HDD on cluster node. One HDD is used for DRBD+LVM and other HDD is used for LVM only. On Windows 2008 I attach two disks: one from DRBD and other from second HDD.
When I copy big file from DRBD to second disk, the speed is about 52MB/s, but when I copy file from second disk to DRBD the speed id about 19MB/s.
Both disks attached as VIRTIO.
It should be that?

depends on your hardware setup and the network speed for DRBD.

pls describe your DRBD setup and we can see where the bottleneck is.
 
I did exactly so as is described here http://pve.proxmox.com/wiki/DRBD
My drbd.conf is
Code:
global { usage-count no; }
common { syncer { rate 50M; } }
resource r0 {
        protocol C;
        startup {
                wfc-timeout  15;
                degr-wfc-timeout 60;
                become-primary-on both;
        }
        net {
                cram-hmac-alg sha1;
                shared-secret "mooru4Ch";
                allow-two-primaries;
                after-sb-0pri discard-zero-changes;
                after-sb-1pri discard-secondary;
                after-sb-2pri disconnect;
        }
        on cl8 {
                device /dev/drbd0;
                disk /dev/sda3;
                address 10.1.16.248:7788;
                meta-disk internal;
        }
        on cl9 {
                device /dev/drbd0;
                disk /dev/sda3;
                address 10.1.16.249:7788;
                meta-disk internal;
        }
}
Read speed from DRBD disk in Windows is about 62 Mb/s, from LVM disk - 72 Mb/s.

On the cluster node:
Code:
dd bs=1G if=/dev/system/vm-102-disk-1 of=/dev/null
Read speed is about 78 Mb/s

Code:
dd bs=1G if=/dev/drbdvg/vm-102-disk-1 of=/dev/null
Read speed is about 110 Mb/s

Code:
dd bs=1G if=/dev/zero of=/dev/drbdvg/vm-101-disk-2
Write spead is about 37 Mb/s

Code:
dd bs=1G if=/dev/zero of=/dev/system/vm-101-disk-2
Write spead is about 59 Mb/s

Net speed between the both nodes is about 55 Mb/s
 
pls describe your storage hardware? raid, which config? network link for DRBD?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!