Josh Paetzel | 28 Nov 14:39 2001
Picon

Re: FreeBSD performing worse than Linux?

On Wed, Nov 28, 2001 at 06:35:48PM +0000, John Vinters wrote:
> 
> I've (reasonably) recently installed 4.3-Release on a system running
> Samba and a few light telnet apps, and noticed similar performance
> problems.
> 
> The SMB sessions would randomly change speed, and telnet sessions would
> suffer from occasional  "hesitation" (this is on a Dual PIII-700 MHz
> machine with 1 Gb of RAM, which is currently very lightly loaded).
> 
> I managed to track the problem down to the duplex settings on both the
> Ethernet cards (AT-2500 TX, Realtek 8139 based, AFAIK) and the 10/100
> Switch.  Forcing both the cards and the switch to particular settings
> cured the problem, and lead to a massive performance increase.
> 
> FTP seems to be particularly badly affected by the constant collisions
> (causing backoff).  The problem can be tricky to find as the switch
> wasn't perceptably showing collisions on the collision LED, but viewing
> the switch stats showed a different story!
> 
> I've noticed similar problems with Linux and certain cards (it was a
> while ago).
> 
> 
> John Vinters
> <johnv <at> jbg.co.uk>
> 

Well, I am seeing dismal ftp performance on my 4.x boxes.  I have a 
network of 4 machines, three of which are running -STABLE from Nov 
(Continue reading)

Josh Paetzel | 29 Nov 18:46 2001
Picon

Re: FreeBSD performing worse than Linux?

On Thu, Nov 29, 2001 at 10:09:58AM -0700, Nate Williams wrote:
> > I started noticing some TCP weirdness when I moved my bandwidth
> > stats site from my office to my colo facility last week.  The colo
> > is five miles away by road and 1200 miles away by network.  Netscape
> > would stop for seconds at a time while loading the graph images but
> > there was no consistency.  Worked properly sometimes and sometimes
> > not.
> 
> Thanks for the much more detailed bug report vs. mine.  Can you try
> disabling delayed acks to see if that helps, per another poster's
> response to this thread?
> 
> sysctl net.inet.tcp.delayed_ack=0
> 

I tried this out and it made no difference whatsoever.  I also tried 
out moving the same file via NFS and get transfer times that are 
within 5 seconds of the FTP times.  I am beginning to suspect that I 
have a hardware issue here. 

Josh

To Unsubscribe: send mail to majordomo <at> FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message

Josh Paetzel | 29 Nov 19:44 2001
Picon

Re: FreeBSD performing worse than Linux?

On Fri, Nov 30, 2001 at 01:03:54AM +0100, Pierre Beyssac wrote:
> On Thu, Nov 29, 2001 at 12:42:34AM -0500, John Capo wrote:
> > sent.  find / -print | dd obs=1 will screw up within a few seconds
> > and stay that way.  Netstat in another ssh session shows data ready
> > to go:
> 
> Hmm, some ssh versions tend to hang randomly on lossy links (in the
> protocol perhaps, but I haven't ever tried to investigate this).
> 
> Could you try the same in a telnet or rsh connection? I bet it will
> work.
> 
> Pierre

This gives me the same 1.5megs/sec I am getting with ftp.  Doesn't 
matter whether I use ssh or telnet. 

Josh

To Unsubscribe: send mail to majordomo <at> FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message

Ralph Huntington | 26 Nov 14:44 2001
Picon

Re: Strange FTPD behavior

Is the user's shell listed in /etc/shells?  It must be there for ftpd to
let them in.

On Mon, 26 Nov 2001, Vladimir Terziev wrote:

>
> 	I run FreeBSD 4.3-STABLE machine. I use ftpd for ftp server daemon. It has
> very strange behavior with one of user accounts on my machine. Every one user
> account on my machine can access it via ftp, exept this account, let call it
> ttt. The ttt is not in /etc/ftpusers file and it can access the machine via
> ssh and telnet, but with ftp it can't! The ftpd says "530 User ttt access
> denied", as a replay of command "user ttt". I saw in the rfc, that 530 replay
> code means "Not logged in", but the ftpd doesn't allow on ttt to supply its
> credentials.
> 	My ftpd is not chroot -ed, if this is important!
>
> 	Any ideas?
>
> 		Vladimir
>
>
>
> To Unsubscribe: send mail to majordomo <at> FreeBSD.org
> with "unsubscribe freebsd-security" in the body of the message
>

To Unsubscribe: send mail to majordomo <at> FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message

_______________________________________________
(Continue reading)


Gmane