Subject: terrible ftp performance
To: None <port-i386@NetBSD.ORG>
From: Bartholomew Niswonger <bniswong@midway.uchicago.edu>
List: port-i386
Date: 11/19/1995 19:37:21
Hello, I wrote a little while back about not being able to use my
serial ports, and you all responded very nicely with good advice, but
it still didnt work.  I finally gave up and bought an internal modem,
which works like a charm, so I guess it was the serial card, arrghh.
But thanks very much for the help

Anyway, I got a ppp link up, and telneted around, works great, fast
(its a 28.8) and whatnot, but FTP has major trouble.  I get around 
270 bytes/sec rather than the 2.7-3.5 Kb/sec I should get (as seen on
friend's box, and my amiga at times...)  I was wondering if there is a
fix for this, or if I am doing something wrong.  It seems the biggest
problem is that FTP waits for 5-10 seconds after each error, and I
get basically an error/Kb.

Here is what I am doing currently to get the link up:

monty# cu -l/dev/tty01 -57600
[blah blah, dial, login, start remote ppp]
~z
suspended
monty# pppd
[blah blah, stuff about local IP, remote IP, etc]
monty#

in my /etc/ppp/options file I have:
/dev/tty01
57600
modem
crtscts
defaultroute
noipdefault

and in /etc/ttys for tty01 I have:
rtscts local softcar


Does any one else get such terrible performance?  Is there something I
am missing?  Is there a more appropriate place to ask?  I have tried
it at 38400 but saw no gain in performance.

This is all on a 386DX40 with 4 meg ram, netbsd 1.0 and a brand new
Hayes Accura 28.8 internal (2F8, irq 4) 


Thanks in advance for any help!

Bart Niswonger

==============================================================================
   Bartholomew Niswonger
   bniswong@midway.uchicago.edu               Voice:..........312.955.2746

   CS Student...............University of Chicago
   Programmer...............Biological Sciences Division/Academic Computing
   Projects.................CGI/HTML & Databases
   OS of choice.............NetBSD {Amiga, hp300, i386}