Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2002 03:58:19 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        Larry Baird <lab@gta.com>
Cc:        freebsd-net@FreeBSD.ORG, brian@Awfulhak.org
Subject:   Re: PPPoE performance difference 
Message-ID:  <200205150258.g4F2wJ20008115@hak.lan.Awfulhak.org>
In-Reply-To: Message from Larry Baird <lab@gta.com>  of "Tue, 30 Apr 2002 16:32:37 EDT." <20020430163237.A71846@gta.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

The performance problem here is due to deflate compression being 
used.  Compression is quite expensive (more so than decompression) 
and the slow machine is losing out here.

If you ``disable deflate pred1 mppe'' and ``deny deflate pred1 mppe'' 
you should see better results.

> 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

-- 
Brian <brian@Awfulhak.org>                    <brian@freebsd-services.com>
      <http://www.Awfulhak.org>;                   <brian@[uk.]FreeBSD.org>
Don't _EVER_ lose your sense of humour !          <brian@[uk.]OpenBSD.org>



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?200205150258.g4F2wJ20008115>