Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jan 1998 01:04:56 GMT
From:      jak@cetlink.net (John Kelly)
To:        Atipa <freebsd@atipa.com>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   PPPD terminal server on FreeBSD, NATD
Message-ID:  <34b02cb1.200036@mail.cetlink.net>
In-Reply-To: <Pine.BSF.3.91.980104144454.2651A-100000@dot.ishiboo.com>
References:  <Pine.BSF.3.91.980104144454.2651A-100000@dot.ishiboo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 4 Jan 1998 14:51:32 -0700 (MST), Atipa <freebsd@atipa.com>
wrote:

>> >> I'm doing some simple testing to see if FreeBSD is feasible as a
>> >> terminal server.  My first test of 2.2.5-stable, using only two ports
>> >> simultaneously, indicates there is considerable  efficiency loss due
>> >> to transmit underruns.

>> >What getty are you using?
>> 
>> None whatsoever.  This is a PPPD-only terminal server.  My ttys
>> entries look like this:
>> 
>>     ttyd3 "/usr/sbin/pppd +pap -detach 57600" unknown on secure
>
>I use both pppd and userland PPP (ijppp), and I have gotten a bit more
>consistent results with ijppp.

I ran a another test with 2.2.2-release, a different machine, and a
different multiport serial card.  Although I got the same result, I
learned something new.

The first port is connected to the Internet, ISDN 128k with 230k DTE
speed, and the second port is null modem to another local machine at
56k.

While downloading from the Internet to the test machine, and
simultaneously downloading from the test machine to another local
machine, I can saturate both serial ports at full speed, with no
apparent efficiency loss.  The ISDN port runs about 13kb/s, and the
null modem port runs about 5.4kb/s.

But when I try to download *through* the test box, the null modem port
drops to about 4.0kb/s.  Since I don't have static IP addresses for
this test setup, I'm using NATD to get connectivity to the outside
world, via the test box.

So NATD seems to be causing the efficiency loss.  Without NATD in the
mix, a FreeBSD terminal server might scale to 24 or 32 ports, since it
scaled to 2 ports with no apparent loss.  But more testing is needed
to know for sure.

John






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34b02cb1.200036>