Message-ID: From: "Janne Johansson" Subject: Re: [Openvpn-devel] using other compression algorithms with OPENVPN -- HELP In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_11937_21992919.1141997486013" References: Sender: openvpn-devel-admin@lists.sourceforge.net Errors-To: openvpn-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri Mar 10 05:32:02 2006 To: Anne Mindika Silva Cc: openvpn-devel@lists.sourceforge.net ------=_Part_11937_21992919.1141997486013 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 2006/3/9, Anne Mindika Silva : > > hi, > > We are trying to biuld a network compression tool which will compress the > data that is transfered between two machines. While lzo, performs very > well > for text-based data, we thought it would be nice to use different > compression algorithms for different types of data. > > Since OPENVPN supports lzo compression we are using that for the initial > version. We also noticed that the compression is done at the packet > level. > Is there any way that we can specify an additional compression algorithm > to be used ? > > If we have for e.g., basically two types to data that is sent over the > network, lets say one type that compresses well with lzo, and another > type > that is better when compressed with another algorithm (or that is better > off > uncompressed), does that mean we'll have to run two instances of > OPENVPN? I think that 99% of all compressors will be good at the same kind of data that lzo is good at, though they might be a couple of percents better than lzo at the expense of many more cpu cycles. It would probably be very hard to find a compressor that would give you real speedups due to smaller packets without being too heavy on the cpu and slow down traffic that way. Try to replace lzo with something else and make benchmarks for your setup first, and worry about having multiple instances later, I'd say. -- Some mornings, it's just not worth gnawing through the straps... ------=_Part_11937_21992919.1141997486013 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

2006/3/9, Anne Mindika Silva <<= a href=3D"mailto:anne_mindika@...160...">anne_mindika@...160...>:
hi,

We are trying to biuld a network compression tool which will com= press the
data that is transfered between two machines.  While= lzo, performs very well
for text-based data, we thought it would be nic= e to use different
compression algorithms for different types of data.

Since OPENVP= N supports lzo compression we are using that for the initial
version.&nb= sp; We also noticed that the compression is done at the packet level.<= br>  Is there any way that we can specify an additional compressi= on algorithm
to be used ?

If we have for e.g.,  basically two types= to data that is sent over the
network,  lets say one type&nbs= p; that compresses well with lzo, and another type
that is better w= hen compressed with another algorithm (or that is better off
uncompressed),   does that mean we'll have to run two instanc= es of OPENVPN?


I think that 99% of all compressors= will be good at the same kind of data that
lzo is good at, though they = might be a couple of percents better than lzo at
the expense of many more cpu cycles. It would probably be very hard to = find
a compressor that would give you real speedups due to smaller packe= ts without
being too heavy on the cpu and slow down traffic that way.

Try to replace lzo with something else and make benchmarks fo= r your setup first,
and worry about having multiple instances later, I'd= say.

--
Some mornings, it's just not worth gnawing throug= h the straps...
------=_Part_11937_21992919.1141997486013--