DRBD sync speed.

625 views
Skip to first unread message

Ivan Shevelenko

unread,
Dec 3, 2010, 11:03:28 AM12/3/10
to ganeti
Hi all.

Ganeti does have a parameter to setup drbd sync speed?

I Have a 1G interface, but sync rate:

speed: 95,136 (61,920) K/sec

Iustin Pop

unread,
Dec 3, 2010, 11:28:07 AM12/3/10
to gan...@googlegroups.com

That is pretty good, actually. 1G interface has a maximum speed of
~125MB/s, which is 122,070 K/sec.

Ganeti limits each DRBD connection to 60,000 K/sec, so as to not
overload the network. If you are sure you want to change it, then you
can modify the constants.py file. But unless you have a 10G network, I
don't think you'll gain too much (what IO system do you have)?

regards,
iustin

Ivan Shevelenko

unread,
Dec 3, 2010, 12:15:02 PM12/3/10
to gan...@googlegroups.com
>> Ganeti does have a parameter to setup drbd sync speed?
>>
>> I Have a 1G interface, but sync rate:
>>
>> speed: 95,136 (61,920) K/sec
>
> That is pretty good, actually. 1G interface has a maximum speed of
> ~125MB/s, which is 122,070 K/sec.
>
> Ganeti limits each DRBD connection to 60,000 K/sec, so as to not
> overload the network. If you are sure you want to change it, then you
> can modify the constants.py file. But unless you have a 10G network, I
> don't think you'll gain too much (what IO system do you have)?

I understand. Thanx.

ps. I have a dell perc raid 0 on sata2 disks.

Lance Albertson

unread,
Dec 3, 2010, 12:53:36 PM12/3/10
to gan...@googlegroups.com

Have you considered adding the ability to change that via gnt-cluster
modify? It might be beneficial to folks who have high enough
bandwidth/IO. I noticed this early on as well. Its not a big issue
though :)

--
Lance Albertson
Systems Administrator / Architect Open Source Lab
Network Services Oregon State University

signature.asc

Guido Trotter

unread,
Dec 4, 2010, 5:58:26 AM12/4/10
to gan...@googlegroups.com
On Fri, Dec 3, 2010 at 6:53 PM, Lance Albertson <la...@osuosl.org> wrote:
> On 12/03/2010 08:28 AM, Iustin Pop wrote:
>> On Fri, Dec 03, 2010 at 08:03:28AM -0800, Ivan Shevelenko wrote:
>>> Hi all.
>>>
>>> Ganeti does have a parameter to setup drbd sync speed?
>>>
>>> I Have a 1G interface, but sync rate:
>>>
>>> speed: 95,136 (61,920) K/sec
>>
>> That is pretty good, actually. 1G interface has a maximum speed of
>> ~125MB/s, which is 122,070 K/sec.
>>
>> Ganeti limits each DRBD connection to 60,000 K/sec, so as to not
>> overload the network. If you are sure you want to change it, then you
>> can modify the constants.py file. But unless you have a 10G network, I
>> don't think you'll gain too much (what IO system do you have)?
>
> Have you considered adding the ability to change that via gnt-cluster
> modify? It might be beneficial to folks who have high enough
> bandwidth/IO. I noticed this early on as well. Its not a big issue
> though :)
>

There is a design for "disk parameters" but unfortunately we never got
around to implement it, yet.
So yes, we considered it, but for now haven't written the code. :) Of
course an implementation would gladly be accepted.
(we can even think of having the parameters initially only at cluster
level, to simplify things, let's say for 2.4, and then to move them to
per-instance if/when needed later on)

Guido

Reply all
Reply to author
Forward
0 new messages