Good day, I found the following to work well for fast downloads on a 8000/1000 ADSL service.
pppoe: set device "!/usr/sbin/pppoe -i de0" set mtu 1400 set mtu max 1400 #set mru max 1472 set speed sync disable acfcomp protocomp deny acfcomp set authname *********** set authkey ************ enable lqr accept lqr set lqrperiod 50 set cd 5 set dial set login set timeout 0 add default HISADDR enable dns enable mssfixup FWIW, Vijay Vijay Sankar, M.Eng., P.Eng. ForeTell Technologies Limited 59 Flamingo Avenue, Winnipeg, MB, Canada, R3J 0X6 Phone: +1 (204) 885 9535, E-Mail: [EMAIL PROTECTED] > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Mick > Sent: May 29, 2005 1:35 PM > To: misc@openbsd.org > Subject: Slow Downloads with Userpace PPPoE and High Speed ADSL link > > Hello. > > I seem to be seeing somewhat odd behaviour with regards to the > userpace PPPoE program and my high speed ADSL link. By "high speed" I > mean 8Mbps down and 1Mbps up. Initially, I was on a 512/128 plan > before I upgraded to a 1500/256 plan and then finally to a 8000/1000 > plan. Now, with the > 512/128 and 1500/256 plans, download (as well as upload) speeds were > fine as I could usually saturate my connection - especially with a > 'test' file that was hosted on my ISP's FTP site (this test file was > placed there by my ISP in order for their ADSL clients to test their > connections). However, after I upgraded to the 8000/1000 plan, while > upload speeds were still fine (they now typically average at 800Kbps > to FTP servers that I have write permissions to), download speeds > average at around 256kbps (after a brief initial download spike of > several million bps) - even from my ISP's FTP site. > > Now, the above is the case when I have configured the modem to run in > Bridge mode and use OpenBSD's userpace PPPoE client. However, if I > instead configure the modem into what the modem manufacturer (D-Link) > call "Bimap" mode so that it sets up the PPPoE connection, > authenticates, passes all traffic etc and so simply use the OpenBSD > box for NAT, Redirection and Firewalling, then download speeds can > easily reach over 6.4Mbps. What I also discovered was that with > OpenBSD 3.5 and when using its PPPoE client, once I had started a > download, PPPoE on 3.5 used over 92% of the CPU (the machine that > OpenBSD is installed on is a Pentium Classic 133 with 80MB RAM). So > when OpenBSD 3.6 was released, I upgraded my 3.5 installation to 3.6 > and while I now found that when downloading, CPU usage was only around > 6% - with PPPoE now consuming < 1% and PPP consuming around 5% - the > download speeds were still pitifully slow (and upon reconfiguring the > modem to be in Bridge mode etc, download speeds from those same sites > increased enormously). I also tried setting up AltQ as described here: > > http://www.benzedrine.cx/ackpri.html > > but that didnt help in the slightest. Here by the way is my > /etc/ppp/ppp.conf: > > default: > set log Phase Chat IPCP CCP tun command set redial 15 0 > set reconnect 15 100000 > > adsl: > set device "!/usr/sbin/pppoe -i de0" > disable acfcomp protocomp > deny acfcomp > set mtu max 1492 > set speed sync > enable lqr > set lqrperiod 5 > set cd 5 > set dial > set login > set timeout 0 > set authname ****** > set authkey ***** > enable mssfixup > > > So at this point, I am toying with the idea of perhaps using the > Roaring Penguin PPPoE client as I need to run the modem in "Bimap" > mode because when running in Bridge mode, the modem chokes up really > badly when UDP packets greater than 100 bytes in size are passed > through it and the modem manufacturer's tech support have no idea as > to why this would be happening. Any ideas or suggestions would be > most appreciated. Thanks.