Re: user-ppp faster then pppd ?

2003-09-12 Thread Jerry McAllister
> 
> On Fri, Sep 12, 2003 at 01:37:59AM +0200, [EMAIL PROTECTED] wrote:
> > >The difference is too small to be meaningful.
> > 
> > when you have 56k modem and ~4.5KB throughput 0.5KB can make a big 
> > difference
> 
> I wonder if we're thinking of the same numbers. I've seen 56k modems 
> run at 14,000 bps on bad lines, but not often. 4,500 bps is pretty 
> slow.

I was guessing he was mixing bits and bytes and means ~4.5 Kbytes/second
which is pretty good on a 56k line.   But, I could be guessing wrong.

jerry
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: user-ppp faster then pppd ?

2003-09-11 Thread Bob Hall
On Fri, Sep 12, 2003 at 01:37:59AM +0200, [EMAIL PROTECTED] wrote:
> >The difference is too small to be meaningful.
> 
> when you have 56k modem and ~4.5KB throughput 0.5KB can make a big 
> difference

I wonder if we're thinking of the same numbers. I've seen 56k modems 
run at 14,000 bps on bad lines, but not often. 4,500 bps is pretty 
slow.
 
> >The change means that the second connection traveled over wires that were 
> >slightly noisier, or slightly busier, or one of a hundred other 
> >possibilities. The odds that there is a difference in connection speeds 
> >caused by a difference between ppp and pppd lie somewhere between zero and 
> >null.
> 
> I tried it several times and got the same results, therefore it must be 
> caused by the diffrence between ppp and pppd.

I've done repeated measurements on connections, gotten consistent results, 
and discovered a week later that I was getting different results. I would 
not trust results unless they were consistent over time. I don't 
know how many tests you did or over how long a period you did them, so 
you may be right. You didn't mention repeating your test in your first 
post, and I'll admit I assumed that you did it once. 

Running ppp in the kernal is supposed to be more efficient. In practice, 
I doubt it makes a lot of difference. Most of what controls transmission 
speed is in the modem, not the computer. Some things that affect speed 
can be negotiated between the computers, and that might make a difference, 
depending on how you're configured. Or I could be just plain 
wrong; user PPP might have been tweaked to the point where it works 
faster. 

I used pppd until a few months ago, and my recommendation is to go 
with user PPP, regardless of speed differences. Few people use pppd, so 
you won't get as much help if you have problems. Roughly 75% of the 
answers I got when I was asking for pppd help explained how to fix the 
problem if I were using user PPP. User ppp is much more flexible, and I 
did a lot of work solving problems on a couple of occasions that could 
have been solved quickly and easily if I had been using user PPP.

Bob Hall 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: user-ppp faster then pppd ?

2003-09-11 Thread Kris Kennaway
On Fri, Sep 12, 2003 at 01:37:59AM +0200, [EMAIL PROTECTED] wrote:
> >The difference is too small to be meaningful.
> 
> when you have 56k modem and ~4.5KB throughput 0.5KB can make a big 
> difference
> 
> >The change means that the second connection traveled over wires that were 
> >slightly noisier, or slightly busier, or one of a hundred other 
> >possibilities. The odds that there is a difference in connection speeds 
> >caused by a difference between ppp and pppd lie somewhere between zero and 
> >null.
> 
> I tried it several times and got the same results, therefore it must be 
> caused by the diffrence between ppp and pppd.

I don't know that there's much to it.  Since they're different
implementations, they may well perform differently.  For example, user
ppp has had a lot of work done on it over the years, whereas pppd has
essentially been an unmaintained orphan for the last 3-4 years.  Just
stick with whichever one works best for you.

Kris


pgp0.pgp
Description: PGP signature


user-ppp faster then pppd ?

2003-09-11 Thread [EMAIL PROTECTED]
The difference is too small to be meaningful.
when you have 56k modem and ~4.5KB throughput 0.5KB can make a big difference

The change means that the second connection traveled over wires that were slightly noisier, or 
slightly busier, or one of a hundred other possibilities. The odds that 
there is a difference in connection speeds caused by a difference between 
ppp and pppd lie somewhere between zero and null.
I tried it several times and got the same results, therefore it must be 
caused by the diffrence between ppp and pppd.

Thanks

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: user-ppp faster then pppd ?

2003-09-11 Thread Bob Hall
On Thu, Sep 11, 2003 at 09:23:31PM +0200, [EMAIL PROTECTED] wrote:
> Hi
> I recently tried to connect to the Internet using kernel ppp (pppd) instead
> off user ppp. I noticed that the connection was about 0.5 KB slower whith
> pppd when downloading the same file from the same server. I'm using a 56 K
> modem and have Release 5.1 installed,  I also appended my /etc/ppp/options,

The difference is too small to be meaningful. I've seen differences of 
20KB using the same hardware and software. The change means that the 
second connection traveled over wires that were slightly noisier, or 
slightly busier, or one of a hundred other possibilities. The odds that 
there is a difference in connection speeds caused by a difference between 
ppp and pppd lie somewhere between zero and null.

Bob Hall
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


user-ppp faster then pppd ?

2003-09-11 Thread [EMAIL PROTECTED]
Hi
I recently tried to connect to the Internet using kernel ppp (pppd) instead
off user ppp. I noticed that the connection was about 0.5 KB slower whith
pppd when downloading the same file from the same server. I'm using a 56 K
modem and have Release 5.1 installed,  I also appended my /etc/ppp/options,
ppp.conf files.
What could be the reason for the different throughputs?
ppp.conf---
#
# PPP  Sample Configuration File
# Originally written by Toshiharu OHNO
# Simplified 5/14/1999 by [EMAIL PROTECTED]
#
# See /usr/share/examples/ppp/ for some examples
#
# $FreeBSD: src/etc/ppp/ppp.conf,v 1.8 2001/06/21 15:42:26 brian Exp $
#
default:
set log Phase Chat LCP IPCP CCP tun command
ident user-ppp VERSION (built COMPILATIONDATE)
# Ensure that "device" references the correct serial port
# for your modem. (cuaa0 = COM1, cuaa1 = COM2)
#
set device /dev/cuaa1
set speed 115200
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
  \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
set timeout 180# 3 minute idle timer (the default)
enable dns # request DNS info (for resolv.conf)
freenet:
#
# edit the next three lines and replace the items in caps with
# the values which have been assigned by your ISP.
#
set phone 019231770
set authname USERNAME
set authkey PASSWORD
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR# Add a (sticky) default route
options-

# $FreeBSD: src/share/examples/pppd/options.sample,v 1.1 2002/01/29 
00:23:33
cjc Exp $
#
# Example for /etc/ppp/options file.
#

crtscts # enable hardware flow control
115200
modem   # modem control line
noipdefault # remote PPP server must supply your IP address.
passive # wait for LCP packets
defaultroute# put this if you want that PPP server will be your
   # default router
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"