Skip to contentSkip to conversation

Compression in DRBD

Drbd-dev komal 2 participants 3 messages Mar 7, 2007 DRBD driver

lore
Share & tools
lore

komal

author
#0 lore raw

Hi all,
Bandwidth is an important issue in DRBD during replication of
data. If bandwidth is properly utilized then replication will be faster and speed is what everyone needs.
When bandwidth utilization comes into picture, compressing data
is what
is needed. Earlier discussions were going on to use vtun with a tcp tunnel with zlib compression factor 9 or so to achieve compression.
What about implementing compression in DRBD itself. Like using
zlib to
compress each packet and decompress it on receiver side in DRBD code itself rather than using vtun and all. Wont it solve the purpose?

Thanks and Regards,
Komal Nawandar.

maintainer
#1 lore raw

Am Mittwoch, 7. März 2007 11:16 schrieb komal:

Quoted 4 lines

Hi all,
Bandwidth is an important issue in DRBD during replication of
data. If bandwidth is properly utilized then replication will be faster and speed is what everyone needs.

Quoted 9 lines

When bandwidth utilization comes into picture, compressing data
is what
is needed. Earlier discussions were going on to use vtun with a tcp tunnel with zlib compression factor 9 or so to achieve compression.
What about implementing compression in DRBD itself. Like using
zlib to
compress each packet and decompress it on receiver side in DRBD code itself rather than using vtun and all. Wont it solve the purpose?

Hi,

DRBD is a really complex piece of software, and I really do not want to duplicate anything that can get achieved on other levels.

Compression on the network can for sure be achieved by other means (outside of DRBD).

-phil

Signature · 3 lines
: Dipl-Ing Philipp Reisner                      Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH          Fax +43-1-8178292-82 :
: Vivenotgasse 48, 1120 Vienna, Austria        http://www.linbit.com :
author
#2 lore raw
Quoted 17 lines · Philipp Reisner

Am Mittwoch, 7. März 2007 11:16 schrieb komal:

Quoted 4 lines

Hi all,
Bandwidth is an important issue in DRBD during replication of
data. If bandwidth is properly utilized then replication will be faster and speed is what everyone needs.

Quoted 9 lines

When bandwidth utilization comes into picture, compressing data
is what
is needed. Earlier discussions were going on to use vtun with a tcp tunnel with zlib compression factor 9 or so to achieve compression.
What about implementing compression in DRBD itself. Like using
zlib to
compress each packet and decompress it on receiver side in DRBD code itself rather than using vtun and all. Wont it solve the purpose?

Hi,

Quoted 7 lines

DRBD is a really complex piece of software, and I really do not want to duplicate anything that can get achieved on other levels.

Compression on the network can for sure be achieved by other means (outside of DRBD).

-phil

Hi,

But if we implement compression in DRBD itself we can have selective
compression.
By selective compression I mean is that we will compress only data
packets and not configuration packets (which reports status and configuration) which cannot be achieved with other compression techniques.

Thanks and Regards,
Komal