The 12MB/sec is the speed of 10Mbit with overhead.<br><br>I'd say that the data was going out the wrong interface or the speed configuration isn't in the right place in the config file.<br><br><br><br><div><span class="gmail_quote">
On 6/20/07, <b class="gmail_sendername">Marcello Lupo</b> <<a href="mailto:mlist@itspecialist.it">mlist@itspecialist.it</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>thanks for answers.<br>Comments inline<br><br>Siim Vahtre wrote:<br>> On Wed, 20 Jun 2007, Marcello Lupo wrote:<br>><br>>> If i force the sync of the partitions to drbd with invalidate_remote<br>>> it do not go over 12 Mb/sec.
<br>><br>> This doesn't seem normal.<br>><br>><br>> Some obligatory questions:<br>><br>> * Are you sure you actually have working fullduplex Gbit link? (check<br>> with ethtool)<br>><br>Yes.
<br>Settings for eth1:<br> Supported ports: [ MII ]<br> Supported link modes: 10baseT/Half 10baseT/Full<br> 100baseT/Half 100baseT/Full<br> 1000baseT/Half 1000baseT/Full
<br> Supports auto-negotiation: Yes<br> Advertised link modes: 10baseT/Half 10baseT/Full<br> 100baseT/Half 100baseT/Full<br> 1000baseT/Half 1000baseT/Full
<br> Advertised auto-negotiation: Yes<br> Speed: 1000Mb/s<br> Duplex: Full<br> Port: Twisted Pair<br> PHYAD: 1<br> Transceiver: internal<br> Auto-negotiation: on<br> Supports Wake-on: g
<br> Wake-on: d<br> Current message level: 0x000000ff (255)<br> Link detected: yes<br><br>> * Are you sure you actually can write to your disks faster than<br>> 12Mbytes/sec? (try with benchmarking tool that comes with drbd '
dm.c')<br>><br>I tried to copy with scp from one machine to the other a 4GB file and it<br>went at ~40Mb/s.<br><br>Tool you said dm.c the documentation says that is untouched from version<br>0.6 and not working currently with
0.7 version.<br>SOme times in cat /proc/drbd i see some peak of speed around 18/20<br>Mb/sec but it is very rare. the average is everytime around 14/15 Mb/sec.<br><br>Now i tried with bonnie++ and this is the result<br><br>
Version @version@ ------Sequential Output------ --Sequential<br>Input- --Random-<br> -Per Chr- --Block-- -Rewrite- -Per Chr- --Block--<br>--Seeks--<br>Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP
<br>/sec %CP<br>host0 4G 40987 99 85422 33 45074 11 53951 99 120726 15<br>1152.6 2<br>host0 4G 41007 99 88090 34 44630 11 53664 99 122682 16<br>1169.1 1<br> ------Sequential Create------ --------Random
<br>Create--------<br> -Create-- --Read--- -Delete-- -Create-- --Read---<br>-Delete--<br>files:max:min /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP<br>/sec %CP<br>host0 16 17641 99 +++++ +++ 16958 99 19706 100 +++++ +++
<br>16110 99<br>host0 16 15767 76 +++++ +++ 17099 99 19778 99 +++++ +++<br>16256 10<br><br>> * Are you sure nothing else is writing to disks at the same time?<br>><br>Yes the servers are not used at the moment. I'm just making all
<br>preinstall tests of speed and so on before install.<br><br>>> i tried with rate option to 50M,40M,30M and it is the same.<br>><br>> * Did you drbdadm adjust after changing config?<br>><br>I made drbd completely stop and start to be sure all the times i changed
<br>the config.<br><br>><br>> * Have you searched the mailing-list archives? I think I have seen<br>> several questions like yours, maybe someone has already solved problem<br>> like this.<br>><br>><br><br>
I searched for something but found nothing that was usefull to me.. May<br>be i didn't searched so well.<br><br>Thanks,<br>Bye,<br>Marcello<br><br>_______________________________________________<br>drbd-user mailing list
<br><a href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a><br><a href="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br></blockquote></div><br>