X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <481728A0.7020604@cwilson.fastmail.fm>
Date: Tue, 29 Apr 2008 09:54:40 -0400
From: Charles Wilson <cygwin@cwilson.fastmail.fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: inetutils 1.5 / ftpd problem: 426 Data connection: No buffer  space available.
References: <3ee066b40804282136v140bdf31v4b21082663c55021@mail.gmail.com>
In-Reply-To: <3ee066b40804282136v140bdf31v4b21082663c55021@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

antony baxter wrote:
> Better, in the sense that I can now retrieve the file; however
> ftpd.exe's memory usage (monitored via Task Manager) now grows
> continously during the transfer until eventually the server machine
> grinds to a halt, paging furiously. Once the transfer does finally
> finish ftpd.exe's memory usage drops back to normal (2,400K).

Hmm. A little more research shows winsock's internal behavior -- 
transfers, waitiong for ack, allocating internal buffers -- is very 
sensitive to the size of so_sndbuf (winsock default 8192) and the packet 
size (ethernet default 1560). See if one of these options gives better 
performance:

http://cygwin.cwilson.fastmail.fm/ITP/ftpd-1k.exe.bz2
http://cygwin.cwilson.fastmail.fm/ITP/ftpd-4k.exe.bz2
http://cygwin.cwilson.fastmail.fm/ITP/ftpd-8k.exe.bz2
http://cygwin.cwilson.fastmail.fm/ITP/ftpd-32k.exe.bz2 (same as prev)

Also, what is the value of
HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\TcpWindowSize

--
Chuck

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

