Packet compression benchmark

Darik Horn dajhorn at vanadac.com
Sun May 17 06:22:03 CEST 2015


On Mon, May 11, 2015 at 4:00 AM, Guus Sliepen <guus at tinc-vpn.org> wrote:
>
> It would indeed be very nice to see how the compression algorithms
> perform on an embedded device.

LZ4 performs similarly well on small systems.  My Buffalo Airstation
can run a VPN session through LZ4 over a 10 Mbps port without totally
pinning its 400 MHz CPU.

Two packages for OpenWRT 15.05 are available at http://1drv.ms/1FgIEDl
for review:

1. tinc_1.1~git.613c121cdceec0199dc4d056857be021ed1d21de-1_ar71xx.ipk

This vanilla build from the latest upstream branch depends on external
library packages. It does not fit into a 4 megabyte router.

2. tinc_1.1~lz4.a2d23357db727f55e5c487794c2b3ae73a375b3c-1_ar71xx.ipk

This lightweight build bundles lz4 as a built-in component and depends
only on the base system.  It can be wedged into a 4 megabyte router
through an image repack.

Corresponding `feeds.conf` lines for source builds are:

# src-git dajhorn https://github.com/dajhorn/openwrt-packages.git;tinc-1.1
# src-git dajhorn https://github.com/dajhorn/openwrt-packages.git;tinc-1.1-lz4

These are source compatible with the OpenWRT 14.07 buildroot.


More information about the tinc-devel mailing list