<div dir="ltr"><div><div><div><div><div><div><div>Hi, I&#39;m trying to test drbd performance using <br><a href="https://www.drbd.org/en/doc/users-guide-84/ch-benchmark#s-measure-throughput">https://www.drbd.org/en/doc/users-guide-84/ch-benchmark#s-measure-throughput</a>  for throughput and<br><a href="https://www.drbd.org/en/doc/users-guide-84/s-measure-latency">https://www.drbd.org/en/doc/users-guide-84/s-measure-latency</a> for latency<br><br></div>I have some questions:<br></div>I&#39;m using 2 vms for testing purposes. Measure latency and throughput using vms is a good idea? Should I expect valid results?<br><br></div>Actually when I try to use the script for throughput I have wrong values:<br></div>20MB/s when I try to write on /dev/drbd3 (obtained with drbdadm sh-dev &lt;resource&gt;)<br><br><br></div>2.0GB/s when I try to write on /dev/disk/by-id/ata-QEMU_HARDDISK_QM00011 (obtained with drbdadm sh-ll-dev &lt;resource&gt;)<br></div><div>Command is:<br>dd if=/dev/zero of=/dev/disk/by-id/ata-QEMU_HARDDISK_QM00011 bs=512M count=1 oflag=direct<br></div><div><br><br></div>Is there a way to do a valid test in my environment??<br><br></div><div>Furthermore, a test of this type should destroy metadata on the resource. Is this true? How can I check if metadata are ok? it seems that drbdadm down &lt;resource&gt; and drbdad up &lt;resource&gt; working well.... but I think this is not correct<br></div><div><br><br></div>Thank you<br><div><div><div><div><div><div><div><div>Marco<br></div></div></div></div></div></div></div></div></div>