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: [EMAIL PROTECTED]                 | TEL 407-380-0220, FAX 407-380-6080

-- 
Brian <[EMAIL PROTECTED]>                    <[EMAIL PROTECTED]>
      <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 [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to