hmm, I got a 12/1mbit cable line in germany (there's also a 25/1,5mbit rate), and in most case i'm able to download with maxspeed about 1,4-1,5MB/s, so I don't think the router is the bottleneck so far. in addition to this, I'm able to download from other hosts in my lan with a speed of about 5MB/s.
Ok here are my results (DD-WRT v23 SP2 (09/15/06) vpn on an WRT54GL v1.1) connected to an ADSL2+ 20000 Connection synced at ~16800Kbit/s with all VPN-Services and QoS disabled:
LAN directly connected to Modem using PPPoE
~2000KBbyte/s
PPPoE -> LAN
~1600KByte/s
LAN -> WPA-PSK TKIP
~2500KByte/s
PPPoE -> WPA-PSK TKIP
~800KByte/s (WTF?!?)
WTF because I still have spare-bandwidth while downloading for copying files from another computer and then reach ~2500KByte/s (800KByte/s Download from PPPoE and rest from other PC on LAN)
This leads to a question: WTF²? So it CAN' T be a hardware limitation of the router. There MUST be something wrong how the router handles WAN -> WLAN speed.
BTW: It made NO DIFFERENCE when PPPoE was NOT used! I used my modem as some kind of "pre-router" and set DD-WRT as DMZ-Host and configured its WAN as DHCP-Client. SAME RESULTS! So it' s not the PPPoE implementation.
BTW2: I get same speeds with Linksys original firmware...
EDIT: NOW WE ARE TALKING!!!
LOL, following:
PPPoE -> WPA-PSK TKIP (on Windows Client)
~800KByte/s (Nothing new)
but
PPPoE -> WPA-PSK TKIP (on Linux Client using wpa_supplicant)
~1600KByte/s
SO WHAT! That damn wlan in the router does not play well with Windows...
Posted: Sun Oct 08, 2006 7:57 Post subject: rp-pppoe and synchronous PPP
Quote:
RP-PPPoE + NAT:
≈ 6 Mbit/s (GL)
I confirm that. My speed test shows the same limitations. And when the donwloads are torrent downloads (lots of connections), the GL is put on its knees.
But what about this:
Quote:
# Do you want to use synchronous PPP? "yes" or "no". "yes" is much
# easier on CPU usage, but may not work for you. It is safer to use
# "no", but you may want to experiment with "yes". "yes" is generally
# safe on Linux machines with the n_hdlc line discipline; unsafe on others.
SYNCHRONOUS=yes
The quote is taken from the Slackware's rp-ppp config file. After enabling synchronous PPP on my PC based router, I've lowered the CPU usage twice. Have you thought about enabling this on GL?
Regarding the rp ppoe module...
DD-wrt use PPPoE Version 3.5, Copyright (C) 2001-2006 Roaring Penguin Software Inc.
rp pppoe 3.5 is very very old... (It was released Almost 2 years ago)
3.8 is the newest version:
changes
Quote:
# LIC: GPL
Changes from Version 3.7 to 3.8: (2 April 2006)
- Adjusted code and made it possible to disable debugging code to shrink
size of pppoe executable.
- Fixed bug in MD5 code that caused pppoe-server to segfault on 64-bit
machines.
- Made various functions and variables static that didn't need to be visible
outside their source files.
Changes from Version 3.6 to 3.7:
- Fixed typo in the firewall-standalone sample firewall script.
Fix courtesy of Robert Vogelgesang <vogel@users.sourceforge.net>
- Added -O option to pppoe-server to let you specify a different default
options file for pppd instead of /etc/ppp/pppoe-server-options
Feature courtesy of Robert Vogelgesang <vogel@users.sourceforge.net>
- Fixed some silliness and incorrectness in configure.in.
Feature courtesy of Robert Vogelgesang <vogel@users.sourceforge.net>
- Fixed a typo in pppoe-connect.in that made it fail if used with the
kernel-mode plugin.
- Make pppoe-server prepend "nic-" to interface name if used with
kernel-mode plugin. This lets you use interfaces that don't start
with "eth" more easily.
Changes from Version 3.5 to 3.6:
- Changed the names of commands from adsl-* to pppoe-* to more logically
name the scripts. NOTE INCOMPATIBILITY:
OLD NAME NEW NAME
adsl-start pppoe-start
adsl-stop pppoe-stop
adsl-status pppoe-status
adsl-connect pppoe-connect
adsl-setup pppoe-setup
- Changed sample firewall scripts to use iptables instead of the old ipchains
command.
- Updated KERNEL-MODE-PPPOE instructions to reflect more modern pppd that
is commonly distributed.
- Make the userland pppoe daemon run as "nobody" if possible, once session
has started.
- Make userland pppoe program somewhat safe if it is installed SUID or
SGID. Note that I still do *NOT* recommend a SUID/SGID pppoe.
- Fix long-standing bug in pppoe-server that passed arguments to pppd in the
wrong order.
- Fix kernel-mode plugin. It was broken by changes to pppd. The pppd
maintainers fixed their version of the plugin, but neglected to inform me.
Thanks a lot, guys!
- Make plugin accept argument of the form "nix-XXXX" to force it to use
device "XXXX" as the Ethernet interface. This allows the use of devices
whose names do not start with "eth"
Joined: 16 Oct 2006 Posts: 112 Location: Blagoevgrad, Bulgaria
Posted: Sat Oct 28, 2006 20:01 Post subject:
VPN-User wrote:
LAN -> WPA-PSK TKIP
~2500KByte/s
Ме (WRT54GL):
LAN -> WLAN(WPA-PSK AES)
2500KByte/s (20Mbit) _________________ The morning after the night before.
Little application that generates scripts for traffic shaping
WRT54SG
Linksys WRT54GL v1.1: Tomato 1.11
Buffalo WHR-HP-G54: DD-WRT v23 SP2
Just a thought, not sure if it works this way: If your router has to split packages, it uses CPU power, thus decreasing the power for NATting packages=loss in speed? _________________ EA6900 DD-WRT v3.0-r48305 std
EA6900 FreshTomato 2022.1
DIR825 B1 DD-WRT v3.0-r30949 std
retired:
WRT54GL v1.1 DD-WRT v24-SP2 vpn - build 10550
WRT610N v1 DD-WRT v24-preSP2 - build 14929 mega
I have wrt54gl router and I use it like switch (ADSL WAN--->server(gateway)--->router(LAN port)--->notebook and other 3 PCs). I have problems with local transfers since I got this router.
LAN to LAN ftp: ~ 815 kB/s
Firmware: DD-WRT v23 SP2
I had same problem with original firmware (4.30.7).
Are you positive you have all your NIC's set to Auto speed and duplex? have you replaced your cables to be sure it's not something that simple? Also test your LAN to LAN performance in both directions. If it turns out to be OK in one direction, and slow in the other, thats often a sign of a single point duplex mismatch.