public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
From: Paul Bohme <paul@bohme.org>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] Gentoo Embedded Linux on Linksys Blue Boxes
Date: Sun, 24 Apr 2005 04:11:56 -0400	[thread overview]
Message-ID: <426B54CC.5090404@bohme.org> (raw)
In-Reply-To: <1114325337.13448.15.camel@mpascual.qsr.com.ph>

Linux GNUbie wrote:

>On Sun, 2005-04-24 at 08:32 +0200, Daniel Armyr wrote:
>  
>
>>I am not too familiar with VPN, but as I understand it, it is pretty much only a convenient way to tunnel all traffic through an encrypted pipe. Would a benchmark using an ssh-tunnel give sufficiently relevant results?
>>    
>>
>
>I have friends that told me that the hardware specs of the Linksys
>BEFSR41 or WRT54G cannot support the VPN client service simply because
>of the encryption/decryption process that needs more processing power
>and physical memory.
>

The WRT54GS has 8MB of flash, btw, and (IIRC) 32MB of RAM (I have one on
the desk next to me, would have to check.)  The extra flash makes it a
bit roomier to hack on.  I'm (slowly) getting it set up to replace a
machine at work that we use to bridge a couple of networks.

I did some googling and came up with:

http://martybugs.net/wireless/openwrt/openvpn.cgi

    ----(snip)----
Performance Testing
Network Architecture
This WRT is connecting to an 802.11b Minitar MNWAPB access point, and
hence is restricted to 802.11b 11Mbps speeds.

The throughput was measured by using wget to retrieve a 3MB file over
the wireless link.

Initial tests were performed during setup, when the WRT was physically
located close to the Minitar access point, so the WRT was associated to
the Minitar with a link rate of 11Mbps. The tests were repeated once the
WRT was installed at the client site, with similar results.

Throughput Without VPN
Throughput over the wireless link between the WRT and the Minitar was
tested at approximately 600 kbytes/sec (ie, typical for an 802.11b
wireless link).

Throughput With VPN
Once the VPN tunnel was established, and all traffic routed through it,
the tests were repeated. Throughput dropped to approximately 300 kbytes/sec.

The major cause of this slow-down is the CPU in the WRT, as it needs to
encrypt and decrypt all the traffic that is passing through the VPN
tunnel. This can be observed by monitoring the CPU usage on the WRT
while transferring large amounts of traffic through the VPN tunnel - the
OpenVPN process consumes 99% of the CPU during this time.

The slow-down caused by the VPN tunnel is acceptable in the situation
I'm using the WRT. If this isn't the case, the throughput of the VPN
tunnel can be increased by moving the VPN termination from the WRT onto
a faster device (ie, a linux router) behind the WRT.
    ----(snip)----

So there's at least one test, but as usual YMMV.

  -P

-- 
gentoo-embedded@gentoo.org mailing list


  reply	other threads:[~2005-04-24  8:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-23 16:42 [gentoo-embedded] Gentoo Embedded Linux on Linksys Blue Boxes Linux GNUbie
2005-04-23 17:09 ` Samuel T. Cossette
2005-04-23 18:49 ` Ned Ludd
2005-04-24  3:02   ` Linux GNUbie
2005-04-24  6:32     ` Daniel Armyr
2005-04-24  6:48       ` Linux GNUbie
2005-04-24  8:11         ` Paul Bohme [this message]
2005-04-24  6:28   ` Daniel Armyr
2005-04-24 11:39     ` Ned Ludd
2005-04-25  5:06       ` Daniel Armyr
2005-04-23 18:57 ` Eero Lemmelä

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=426B54CC.5090404@bohme.org \
    --to=paul@bohme.org \
    --cc=gentoo-embedded@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox