From owner-freebsd-net Wed May 1 2:59:21 2002 Delivered-To: freebsd-net@freebsd.org Received: from gta.com (mailgate.gta.com [199.120.225.4]) by hub.freebsd.org (Postfix) with SMTP id 6EFC137B416 for ; Wed, 1 May 2002 02:59:16 -0700 (PDT) Received: (qmail 77488 invoked by uid 1000); 30 Apr 2002 20:32:37 -0000 Date: Tue, 30 Apr 2002 16:32:37 -0400 From: Larry Baird To: freebsd-net@freebsd.org Subject: PPPoE performance difference Message-ID: <20020430163237.A71846@gta.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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