<DIV>
<P><FONT face=Arial size=2>Hello list</FONT></P>
<P><FONT face=Arial size=2>I´m using drbd in a Gigabit network (crossover cable) and when I synchronize data (sequential read/write) the tranfer hit to 30~40 Mb/s, but when I make inserts into database (random read/write) that access drbd device via raw, the transfer rate hit only 5~6 Mb/s. Exists some way to improve this performance?</FONT></P>
<P><FONT face=Arial size=2>I increased the sndbuf-size to 256K, but no such effect. I increase interface MTU to 9000 and no such effect too.</FONT></P>
<P><FONT face=Arial size=2>One database process that run in 4 min. without replication, run in 30 min. with replication.</FONT></P>
<P><FONT face=Arial size=2>Now I´m trying using filesystem jfs instead raw to view if the performance will be improved.</FONT></P>
<P><FONT face=Arial size=2>Maybe sync-nice can help us?</FONT></P>
<P><FONT face=Arial size=2>There is my drbd.conf </FONT></P>
<P><FONT face=Arial size=2> [root@SRVSYB02 nagios]# cat /etc/drbd.conf<BR># Sybase Master<BR> resource drbd0 {<BR> protocol=C<BR> fsckcmd=/bin/true<BR> #skip-wait<BR> load-only<BR> inittimeout=30</FONT></P>
<P><FONT face=Arial size=2> disk {<BR> do-panic<BR> disk-size = 63461<BR> }</FONT></P>
<P><FONT face=Arial size=2> net {<BR> skip-sync<BR> sync-min = 599999<BR> sync-max = 600000 # maximal average syncer bandwidth<BR> tl-size = 5000 # transfer log size, ensures strict write ordering<BR> timeout = 60 # 0.1 seconds<BR> connect-int = 10 # seconds<BR> ping-int = 10 # seconds<BR> sndbuf-size = 262144 #<BR> }</FONT></P>
<P><FONT face=Arial size=2> on SRVSYB01 {<BR> device=/dev/nb0<BR> disk=/dev/vg01/syb.master<BR> address=172.22.2.4<BR> port=7789<BR> }</FONT></P>
<P><FONT face=Arial size=2> on SRVSYB02 {<BR> device=/dev/nb0<BR> disk=/dev/vg01/syb.master<BR> address=172.22.2.5<BR> port=7789<BR> }<BR> }</FONT></P>
<P><FONT face=Arial size=2># Sybase Sybsystemprocs<BR> resource drbd1 {<BR> protocol=C<BR> fsckcmd=/bin/true<BR> #skip-wait<BR> load-only<BR> inittimeout=30</FONT></P>
<P><FONT face=Arial size=2> disk {<BR> do-panic<BR> disk-size = 206269<BR> }</FONT></P>
<P><FONT face=Arial size=2> net {<BR> skip-sync<BR> sync-min = 599999<BR> sync-max = 600000 # maximal average syncer bandwidth<BR> tl-size = 5000 # transfer log size, ensures strict write ordering<BR> timeout = 60 # 0.1 seconds<BR> connect-int = 10 # seconds<BR> ping-int = 10 # seconds<BR> sndbuf-size = 262144 #<BR> }</FONT></P>
<P><FONT face=Arial size=2> on SRVSYB01 {<BR> device=/dev/nb1<BR> disk=/dev/vg01/syb.sybprocs<BR> address=172.22.2.4<BR> port=7790<BR> }</FONT></P>
<P><FONT face=Arial size=2> on SRVSYB02 {<BR> device=/dev/nb1<BR> disk=/dev/vg01/syb.sybprocs<BR> address=172.22.2.5<BR> port=7790<BR> }<BR> }</FONT></P>
<P><FONT face=Arial size=2># Sybase Banco01<BR> resource drbd2 {<BR> protocol=C<BR> fsckcmd=/bin/true<BR> #skip-wait<BR> load-only<BR> inittimeout=30</FONT></P>
<P><FONT face=Arial size=2> disk {<BR> do-panic<BR> disk-size = 33555244<BR> }</FONT></P>
<P><FONT face=Arial size=2> net {<BR> skip-sync<BR> sync-min = 599999<BR> sync-max = 600000 # maximal average syncer bandwidth<BR> tl-size = 5000 # transfer log size, ensures strict write ordering<BR> timeout = 60 # 0.1 seconds<BR> connect-int = 10 # seconds<BR> ping-int = 10 # seconds<BR> sndbuf-size = 262144 #<BR> }</FONT></P>
<P><FONT face=Arial size=2> on SRVSYB01 {<BR> device=/dev/nb2<BR> disk=/dev/vg01/syb.bco01<BR> address=172.22.2.4<BR> port=7791<BR> }</FONT></P>
<P><FONT face=Arial size=2> on SRVSYB02 {<BR> device=/dev/nb2<BR> disk=/dev/vg01/syb.bco01<BR> address=172.22.2.5<BR> port=7791<BR> }<BR> }</FONT></P>
<P><FONT face=Arial size=2># Sybase Log01<BR> resource drbd3 {<BR> protocol=C<BR> fsckcmd=/bin/true<BR> #skip-wait<BR> load-only<BR> inittimeout=30</FONT></P>
<P><FONT face=Arial size=2> disk {<BR> do-panic<BR> disk-size = 8389856<BR> }</FONT></P>
<P><FONT face=Arial size=2> net {<BR> skip-sync<BR> sync-min = 599999<BR> sync-max = 600000 # maximal average syncer bandwidth<BR> tl-size = 5000 # transfer log size, ensures strict write ordering<BR> timeout = 60 # 0.1 seconds<BR> connect-int = 10 # seconds<BR> ping-int = 10 # seconds<BR> sndbuf-size = 262144 #<BR> }</FONT></P>
<P><FONT face=Arial size=2> on SRVSYB01 {<BR> device=/dev/nb3<BR> disk=/dev/vg01/syb.log01<BR> address=172.22.2.4<BR> port=7792<BR> }</FONT></P>
<P><FONT face="Times New Roman" size=3><FONT face=Arial size=2> on SRVSYB02 {<BR> device=/dev/nb3<BR> disk=/dev/vg01/syb.log01<BR> address=172.22.2.5<BR> port=7792<BR> }<BR> }<BR></FONT></FONT></P>
<P><FONT face="Times New Roman" size=3><FONT face=Arial size=2>Grateful</FONT></FONT></P>
<P><FONT face="Times New Roman" size=3><FONT face=Arial size=2>Cristiano da Costa</FONT></FONT><FONT face="Times New Roman" size=3><FONT face=Arial size=2></P></FONT></FONT></DIV>