delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/07/07/06:11:13

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=GEowKvQWudhGl/P4hOExLus9riFqD4dtb4VkGpiiarx9P1My2ZFUC
CqQUAP0rKthI6Zy+Ex95SG0gHpvsKjCKnEd6FkIVrTZeT01DcP/3Xipe0Du/1Ose
Zm1OdWlKwsmAFBToN91F211Slo7F6+r+OKisVOu+o5UbXE6nq3RcnI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=xl/9YoyM4xh+o7vdZhoQM+4xzqo=; b=s8lcLMFTIXM8aguCCxekN4bNIYkB
6XfIn1M/XBY/wAkJanb4WzxeJ48Tuo8pLKXxlI3rRs+Mr7hW6IILdNEbSJ495Z+A
bcjM6bQJCd6c0q9/4Bf5DZINoMXkt5oDYxHGI06yVLn+HtQ8v6xYYDph8c7SMaDC
bnZ1p3i5Q1rSejM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.2 required=5.0 tests=AWL,BAYES_05 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Mon, 7 Jul 2014 12:10:49 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Severe performance degradation of writev
Message-ID: <20140707101049.GI1803@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <lpciht$pc5$1 AT ger DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <lpciht$pc5$1@ger.gmane.org>
User-Agent: Mutt/1.5.23 (2014-03-12)

--qKojvbh47KHQqxue
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Jul  7 07:28, jojelino wrote:
> 2008-07-27  Corinna Vinschen  <corinna AT vinschen DOT de>
>=20
>        * fhandler_socket.cc (fhandler_socket::send_internal): Send never
> more
>        then 64K bytes at once.  For blocking sockets, loop until entire d=
ata
>        has been sent or an error occurs.
>        (fhandler_socket::sendto): Drop code which sends on 64K bytes.
>        (fhandler_socket::sendmsg): Ditto.
>=20
> This commit added workaround for KB823764. but it has brought another
> performance issue when writev sends <64k of data.

That's why the code contains that FIXME comment.  If you have a good
idea for simple code to split a message into the least number of pieces
to minimize the number of WsaSendTo calls...


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--qKojvbh47KHQqxue
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJTunIpAAoJEPU2Bp2uRE+gi6wQAIxvBw399ZjPongk17jpGUs2
kL98CBnD7G302zZAl1cZeIMWTQl8+9SR0skTWXRUNVE2jgkcb4/mJ4JCxxMkcOoU
5L6drBLWHWGCix71xFdAmVzm2vn7oBroP6UxVMnn++l91TwJ5DGzMRgFmxdewEiZ
lDlj9mCMgPaURA+Z8u+h+qPUW/zzxq2cUKlns0Z+9IwiC4xldnST939lnH2LhQGe
61B1RpJAgopfbebTA3qI969WTMEn4rpzAUEk63Sh2OiJzGRaSKZvz7FMeVlNwKmK
kyP64XrJI7MaR+D7Mz7Mk+su1oECNT+nE+uHaJ+5obNuhcKv0QuCxYX5aM9uyWqh
sT3FKnFWUkO0ciLFUmyexbkWy4GOFjOfpeC22HyaAJ/rRbNKeWpidS/U/BTk/4aS
ZP453OG0R1pqN++JVMSViLbETcdGlvIMWzA9vFGBfS0MHoXQlHSn07giUxTo+x9o
+fqMv8NPxXk6xQ0ssNZv87giAOe+bcRTORaRjKqdVyamvr4bzJsChKT6vdkoc6VL
BPX58LKy7/4NZEVw+1C5Us+PVqY2Q3ZJtuIFAAYt8r+yZP5TOWd+PkDkitPx0lYS
DpL08z0toc8OQH/f6erw3r/JY88NchYElWBPRTZ1D7wyJzKWFzbYfjS4reJcYkq3
P/HrzjpZQvifwHXHtR2Y
=cj+r
-----END PGP SIGNATURE-----

--qKojvbh47KHQqxue--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019