Friday, May 2, 2008 - New servers are in! Click-in for more info!
VoyForums

VoyUser Login optional ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 1[2]34 ]
Subject: Re: FTP speed becomes slow with PPPoE & speed is fine without PPPoE


Author:
Agamenon
[ Next Thread | Previous Thread | Next Message | Previous Message ]
Date Posted: 13:46:58 2006-03-29 Wed
Author Host/IP: 62.48.131.101
In reply to: C Balaji 's message, "FTP speed becomes slow with PPPoE & speed is fine without PPPoE" on 03:13:41 2006-02-23 Thu

Try to lower the MTU setting to 1452 I think it's a fragmentation issue. Also see how much cpu is being used by the time you are doing the transfer and compare it to a normal transfer.

>Hello,
>
> The FTP becomes slow with PPPoE connection between
>a linux PC running rp-pppoe client and another linux
>pc running rp-pppoe server.
> With the same setup without PPPoE the speed is good.
>
>Scenario 1 : Direct connection, back-to-back LAN.
> 2MB files takes 0.03 seconds for FTP
> on 10Mbps ethernet link.
>
>============ LAN1 LAN1 ==========
> Linux PC |-------------------| Linux PC
> | |
>============ ==========
>
>Scenario 2 : PPPoE connection between PCs.
> 2MB files takes 10.7 seconds for FTP
> on 10Mbps ethernet link.
>
>============ LAN1 LAN1 ==========
> Linux PC |-------------------| Linux PC
>rp-pppoe client | |rp-pppoe server
>============ ==========
>
>Setup details :
> Usermode RP-PPPoE version 3.5
> pppd version 2.4.2
> linux version 2.4.22
> MSS = 1412 bytes (tried 1000 bytes)
> MTU = 1500 bytes (tried other values like 1000, 512)
>
>PPPoE is invoked as
>/usr/sbin/pppd pty "/usr/sbin/pppoe" \
> file "$PPPD_OPTIONS" \
> debug > /var/log/pppoe.log &
>
>and contents of PPPD_OPTIONS file is as follows
>#########################################
>nodetach
>plugin /nn/lib/gap_ppp_plugin.so
>refuse-chap
>refuse-mschap
>refuse-mschap-v2
>crtscts
>debug
>lock
>noipdefault
>ipcp-accept-local
>idle 120
>asyncmap 0
>bsdcomp 0
>mtu 1500
>mru 1500
>name nnadmin
>novj
>lcp-max-configure 10
>lcp-max-terminate 3
>lcp-max-failure 10
>lcp-echo-failure 2
>lcp-echo-interval 15
>nopersist
>#######################################################
>#####
>
>Please share your thoughts and experiences
>
>Thanks
>-c balaji

[ Next Thread | Previous Thread | Next Message | Previous Message ]

Replies:
Subject Author Date
Re: FTP speed becomes slow with PPPoE & speed is fine without PPPoEAtomic03:54:42 2006-05-17 Wed


[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 2.94, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2008 Voyager Info-Systems. All Rights Reserved.