X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.2 required=5.0	tests=AWL,BAYES_50,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
Subject: Re: socket performance
References: <95814509-4E08-44C6-8E59-026225EC0FF5@playsafesa.com>	<4F04613B.6050505@gmail.com>	<B6F87B4D-C088-49BF-B52C-3D0168EAC78D@playsafesa.com>	<20120109134311.GH15470@calimero.vinschen.de>
From: ht@inf.ed.ac.uk (Henry S. Thompson)
Date: Tue, 10 Jan 2012 07:22:39 +0000
In-Reply-To: <20120109134311.GH15470@calimero.vinschen.de> (Corinna Vinschen's message of "Mon, 9 Jan 2012 14:43:11 +0100")
Message-ID: <f5bobucggxs.fsf@calexico.inf.ed.ac.uk>
User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.21 (linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Edinburgh-Scanned: at nougat.ucs.ed.ac.uk    with MIMEDefang 2.60, Sophie, Sophos Anti-Virus, Clam AntiVirus
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

Corinna Vinschen writes:

> it's nice to know that you could increase the performance by increasing
> the buffer sizes.  However, I'm reluctant to implement this as a generic
> option.  As far as I know the socket buffers are taken from nonpaged pool,
> so generically using 2 Meg buffers will take a lot of precious resources.

And contribute to bufferbloat problems [1] [2] elsewhere!

ht

[1] http://queue.acm.org/detail.cfm?id=2076798
[2] http://queue.acm.org/detail.cfm?id=2071893
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]

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

