From: Nivedita Singhvi <niv@us.ibm.com>
To: trog@wincom.net
Cc: linux-kernel@vger.kernel.org
Subject: Re: [MAY-BE-OT] Slow FTP Transfers between 2.4 machines
Date: Mon, 02 Dec 2002 10:56:47 -0800 [thread overview]
Message-ID: <3DEBACEE.200EF7A9@us.ibm.com> (raw)
> This _might_ be OT... certainly I'm not entirely ready to lay this at the feet
> of the kernel just yet. Any pointers to troubleshooting documents would be _greatly_
> appreciated.
linux-net@vger.kernel.org would be a more appropriate mailing list..
> FTP from either box to a decent server via the cable modem may go as high as
> 250-ish k/sec. FTP transfers from box to box start out at ~ 100k/sec and very
> quickly (3sec) drop to a stable 42 k/sec which persists for the rest of the
> transfer, independant of which box is server or client.
>
> Both boxes are using vsftpd behind xinetd, vsftpd manual was RTFMed and I'm
> pretty sure this isn't a userspace-daemon-throttling thing (although some form
> of verification that this is the case would be nice)
what are your sysctl settings, especially your buffer sizes? Increasing
your default tcp buffer size is the single most useful thing you can do
to improve performance if your app doesnt set buffer sizes using
setsockopt (and I dont believe it does). does it use TCP_NODELAY? are
you using ipsec?
are you sure you have path mtu turned on? is fragmentation occuring?
netstat -s would show you the snmp and tcp extended stats - that would
be the first place to look for problems..
> ifconfig/proc reports show no collisions or other errors to speak of. CPU remains
> near-idle on both boxes during transfers. The TX/RX lights on the hub are "leisurely"
> - the transfers don't look like a constrant stream, but rather more like regular
> bursts of activity.
>
> I can find no evidence of errors or of anything wrong anywhere, aside from the
> transfers being slow, and that telnet sessions from one box to the other get
> choppy and laggy during large transfers. Once the transfer is completed, responsiveness
> returns to normal.
>
> Pointers to trobleshooting documents would be greatly appreciated. I have had
> little luck finding anything on my own.
a tcpdump trace would be the next thing to look at - that should tell you
whats happening (although perhaps not why :))
thanks,
Nivedita
next reply other threads:[~2002-12-02 18:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-02 18:56 Nivedita Singhvi [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-12-03 5:20 [MAY-BE-OT] Slow FTP Transfers between 2.4 machines Steven A. DuChene
2002-12-02 16:22 Dennis Grant
2002-12-02 17:47 ` John Bradford
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3DEBACEE.200EF7A9@us.ibm.com \
--to=niv@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=trog@wincom.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.