Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Apr 2002 16:32:37 -0400
From:      Larry Baird <lab@gta.com>
To:        freebsd-net@freebsd.org
Subject:   PPPoE performance difference
Message-ID:  <20020430163237.A71846@gta.com>

next in thread | raw e-mail | index | archive | help
I had a friend that was claiming that they were seeing poor PPPoE
performance from FreeBSD 4.4 as compared to Win2K.  Since he is in
Japan and I am in the US its a bit difficult to do hands on trouble
shooting.  So I decided to set up my on PPPoE server and see if I
could reduplicate any of his claims.  

I setup a 4.5-RELEASE box as my PPPoE server and a 4.5-STABLE box as
my PPPoE client.  Both hosts are using Intel Pro 10/100 (fxp) nics.  
The client is a relatively fast 999.72-MHz 686-class CPU.  The server
is a slow 133.27-MHz 586-class CPU.

I am seeing a performance difference that I can't explain.  Coping of
a large file (2.6MB) using scp to the server from the client takes
about 7 seconds.  Coping the same file from the server to the client
takes 14 seconds.  Any body have any idea why the two directions are
so different?

BTW, copying the file over ethernet (not PPPoE) takes 3 seconds in
both directions between the same hosts using the same nics.

The ppp.conf file for the server is:
default:
# set log Phase Chat LCP IPCP CCP tun command
 enable mssfixup
 set log error
 ident user-ppp VERSION (built COMPILATIONDATE)
 set dns 10.10.1.7 10.10.1.9
 accept dns
 allow users
 enable chap
 enable pap
 set timeout 0
 enable lqr
 accept lqr
 enable sroutes

gta3:
 allow mode direct
 set mru 1492
 set mtu 1492
 set speed sync
 set ifaddr 10.199.2.1 10.199.2.110-10.199.2.200 255.255.255.255

For the client I used the following ppp.conf
default:
 set socket none

PPP0:
 set redial 0 0
 set timeout 0
 set reconnect 20 50000
 set ifaddr 0.0.0.0/0 0.0.0.0/0
 accept chap
 disable pap
 set authname testuser3
 set authkey testpass
 set ctsrts off
 enable dns
 set dns 10.0.0.1 10.0.0.2
 resolv readonly
 enable lqr
 set lqrperiod 20
 accept lqr
 accept acfcomp
 accept protocomp
 accept pred1
 accept vjcomp
 set log error
 set openmode active
 enable mssfixup
 set device PPPoE:fxp0:gta3
 set speed sync
 set dial
 set cd 10
 set login
 set mru 1492
 set mtu 1492


Thanks for your time,
Larry


-- 
------------------------------------------------------------------------
Larry Baird                        | http://www.gnatbox.com
Global Technology Associates, Inc. | Orlando, FL
Email: lab@gta.com                 | TEL 407-380-0220, FAX 407-380-6080

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020430163237.A71846>