Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DRBD: Users

Increase perfomance with external meta-disk driver...

 

 

DRBD users RSS feed   Index | Next | Previous | View Threaded


gilberto.nunes at selbetti

Oct 30, 2009, 4:03 AM

Post #1 of 3 (687 views)
Permalink
Increase perfomance with external meta-disk driver...

Hi

I am very newbie on DRBD...
But I am search with some tricks to improve performance.
I deploy a drbd resource and use this drbd.conf:

global { usage-count no; }
common {
syncer
{
rate 200M;
al-extents 3833;
}

disk {
no-disk-barrier;
no-disk-flushes;
no-md-flushes;
use-bmbv;
}
}
resource r0 {
protocol C;
startup {
wfc-timeout 15;
degr-wfc-timeout 60;
become-primary-on both;
}
net {
sndbuf-size 0;
rcvbuf-size 0;
max-buffers 16384;
unplug-watermark 16384;
max-epoch-size 16384;
cram-hmac-alg sha1;
shared-secret "drbd123";
allow-two-primaries;
after-sb-0pri discard-zero-changes;
after-sb-1pri discard-secondary;
after-sb-2pri disconnect;
}
on kvm-0 {
device /dev/drbd0;
disk /dev/sda3;
address 10.0.0.100:7788;
meta-disk internal;
}
on kvm-1 {
device /dev/drbd0;
disk /dev/sda3;
address 10.0.0.110:7788;
meta-disk internal;
}
}

The net adresses run on gigabyte network cards with crossover
pathcable....

Google's results show me some testimonial that an external meta-disk
can be used to improve some performance...

My question is: Is that true? If yes, how can I do to have external
driver to do meta-disk???

Thanks

Gilberto Nunes Ferreira
TI
Selbetti Gestão de Documentos
Telefone: +55 (47) 3441-6004
Celular: +55 (47) 8861-6672


Disse Jesus: Eu sou o Caminho, a Verdade e a Vida. Ninguém vem ao Pai a
não ser por Mim.
Jesus said: I am the Way, the Truth and the Life. Nobody goes to Father
without Me...
<><








_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user


muffaleta at gmail

Oct 30, 2009, 9:26 AM

Post #2 of 3 (633 views)
Permalink
Re: Increase perfomance with external meta-disk driver... [In reply to]

Gilberto: what is the underlying hardware setup?

--
Chris Chen <muffaleta [at] gmail>

On Oct 30, 2009, at 4:03, Gilberto Nunes Ferreira <gilberto.nunes [at] selbetti
> wrote:

> Hi
>
> I am very newbie on DRBD...
> But I am search with some tricks to improve performance.
> I deploy a drbd resource and use this drbd.conf:
>
> global { usage-count no; }
> common {
> syncer
> {
> rate 200M;
> al-extents 3833;
> }
>
> disk {
> no-disk-barrier;
> no-disk-flushes;
> no-md-flushes;
> use-bmbv;
> }
> }
> resource r0 {
> protocol C;
> startup {
> wfc-timeout 15;
> degr-wfc-timeout 60;
> become-primary-on both;
> }
> net {
> sndbuf-size 0;
> rcvbuf-size 0;
> max-buffers 16384;
> unplug-watermark 16384;
> max-epoch-size 16384;
> cram-hmac-alg sha1;
> shared-secret "drbd123";
> allow-two-primaries;
> after-sb-0pri discard-zero-changes;
> after-sb-1pri discard-secondary;
> after-sb-2pri disconnect;
> }
> on kvm-0 {
> device /dev/drbd0;
> disk /dev/sda3;
> address 10.0.0.100:7788;
> meta-disk internal;
> }
> on kvm-1 {
> device /dev/drbd0;
> disk /dev/sda3;
> address 10.0.0.110:7788;
> meta-disk internal;
> }
> }
>
> The net adresses run on gigabyte network cards with crossover
> pathcable....
>
> Google's results show me some testimonial that an external meta-
> disk
> can be used to improve some performance...
>
> My question is: Is that true? If yes, how can I do to have external
> driver to do meta-disk???
>
> Thanks
>
> Gilberto Nunes Ferreira
> TI
> Selbetti Gestão de Documentos
> Telefone: +55 (47) 3441-6004
> Celular: +55 (47) 8861-6672
>
>
> Disse Jesus: Eu sou o Caminho, a Verdade e a Vida. Ninguém vem ao Pa
> i a
> não ser por Mim.
> Jesus said: I am the Way, the Truth and the Life. Nobody goes to
> Father
> without Me...
> <><
>
>
>
>
>
>
>
>
> _______________________________________________
> drbd-user mailing list
> drbd-user [at] lists
> http://lists.linbit.com/mailman/listinfo/drbd-user
_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user


gilberto.nunes at selbetti

Oct 30, 2009, 9:33 AM

Post #3 of 3 (652 views)
Permalink
Re: Increase perfomance with external meta-disk driver... [In reply to]

Hi Crhistopher

I use a Dell PowerEdge T300 with 1 GB of RAM, HD's SATA II.
I use two giga ethernet card too...

Search on google, I found some tricks to solve my problem about
performance.
(http://www.drbd.org/users-guide/s-throughput-tuning.html)

So, now /etc/drbd.conf is here:

global { usage-count no; }
common {
syncer
{
rate 300M;
al-extents 3389;
}

disk {
no-disk-barrier;
no-disk-flushes;
}
}
resource r0 {
protocol C;
startup {
wfc-timeout 15;
degr-wfc-timeout 60;
become-primary-on both;
}
net {
sndbuf-size 0;
rcvbuf-size 0;
max-buffers 8000;
unplug-watermark 16;
max-epoch-size 8000;
cram-hmac-alg sha1;
shared-secret "drbd123";
allow-two-primaries;
after-sb-0pri discard-zero-changes;
after-sb-1pri discard-secondary;
after-sb-2pri disconnect;
}
on kvm-0 {
device /dev/drbd0;
disk /dev/sda3;
address 10.0.0.100:7788;
meta-disk /dev/sda4[0];
}
on kvm-1 {
device /dev/drbd0;
disk /dev/sda3;
address 10.0.0.110:7788;
meta-disk /dev/sda4[0];
}
}

I happy now! :)

If you have some other suggestions, will welcome!

Thanks a lot

Best Regards



Em Sex, 2009-10-30 às 09:26 -0700, Christopher Chen escreveu:
> Gilberto: what is the underlying hardware setup?
>
> --
> Chris Chen <muffaleta [at] gmail>
>
> On Oct 30, 2009, at 4:03, Gilberto Nunes Ferreira <gilberto.nunes [at] selbetti
> > wrote:
>
> > Hi
> >
> > I am very newbie on DRBD...
> > But I am search with some tricks to improve performance.
> > I deploy a drbd resource and use this drbd.conf:
> >
> > global { usage-count no; }
> > common {
> > syncer
> > {
> > rate 200M;
> > al-extents 3833;
> > }
> >
> > disk {
> > no-disk-barrier;
> > no-disk-flushes;
> > no-md-flushes;
> > use-bmbv;
> > }
> > }
> > resource r0 {
> > protocol C;
> > startup {
> > wfc-timeout 15;
> > degr-wfc-timeout 60;
> > become-primary-on both;
> > }
> > net {
> > sndbuf-size 0;
> > rcvbuf-size 0;
> > max-buffers 16384;
> > unplug-watermark 16384;
> > max-epoch-size 16384;
> > cram-hmac-alg sha1;
> > shared-secret "drbd123";
> > allow-two-primaries;
> > after-sb-0pri discard-zero-changes;
> > after-sb-1pri discard-secondary;
> > after-sb-2pri disconnect;
> > }
> > on kvm-0 {
> > device /dev/drbd0;
> > disk /dev/sda3;
> > address 10.0.0.100:7788;
> > meta-disk internal;
> > }
> > on kvm-1 {
> > device /dev/drbd0;
> > disk /dev/sda3;
> > address 10.0.0.110:7788;
> > meta-disk internal;
> > }
> > }
> >
> > The net adresses run on gigabyte network cards with crossover
> > pathcable....
> >
> > Google's results show me some testimonial that an external meta-
> > disk
> > can be used to improve some performance...
> >
> > My question is: Is that true? If yes, how can I do to have external
> > driver to do meta-disk???
> >
> > Thanks
> >
> > Gilberto Nunes Ferreira
> > TI
> > Selbetti Gestão de Documentos
> > Telefone: +55 (47) 3441-6004
> > Celular: +55 (47) 8861-6672
> >
> >
> > Disse Jesus: Eu sou o Caminho, a Verdade e a Vida. Ninguém vem ao Pa
> > i a
> > não ser por Mim.
> > Jesus said: I am the Way, the Truth and the Life. Nobody goes to
> > Father
> > without Me...
> > <><
> >
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > drbd-user mailing list
> > drbd-user [at] lists
> > http://lists.linbit.com/mailman/listinfo/drbd-user
Gilberto Nunes Ferreira
TI
Selbetti Gestão de Documentos
Telefone: +55 (47) 3441-6004
Celular: +55 (47) 8861-6672


Disse Jesus: Eu sou o Caminho, a Verdade e a Vida. Ninguém vem ao Pai a
não ser por Mim.
Jesus said: I am the Way, the Truth and the Life. Nobody goes to Father
without Me...
<><








_______________________________________________
drbd-user mailing list
drbd-user [at] lists
http://lists.linbit.com/mailman/listinfo/drbd-user

DRBD users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.