From owner-svn-src-head@FreeBSD.ORG Sat Jun 4 16:33:14 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3917B1065755; Sat, 4 Jun 2011 16:33:13 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:130:3ffc::401:25]) by mx1.freebsd.org (Postfix) with ESMTP id D8CF08FC13; Sat, 4 Jun 2011 16:33:12 +0000 (UTC) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id D5B6925D3899; Sat, 4 Jun 2011 16:33:11 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 3E5FE15A1028; Sat, 4 Jun 2011 16:33:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id PXM2V6cE+UMU; Sat, 4 Jun 2011 16:33:10 +0000 (UTC) Received: from orange-en1.sbone.de (orange-en1.sbone.de [IPv6:fde9:577b:c1a9:31:cabc:c8ff:fecf:e8e3]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 39E4215A1026; Sat, 4 Jun 2011 16:33:10 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: "Bjoern A. Zeeb" In-Reply-To: <201106041601.p54G1Ut7016697@svn.freebsd.org> Date: Sat, 4 Jun 2011 16:33:08 +0000 Content-Transfer-Encoding: 7bit Message-Id: References: <201106041601.p54G1Ut7016697@svn.freebsd.org> To: Maxim Sobolev X-Mailer: Apple Mail (2.1084) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r222688 - head/sbin/hastd X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jun 2011 16:33:14 -0000 On Jun 4, 2011, at 4:01 PM, Maxim Sobolev wrote: > Author: sobomax > Date: Sat Jun 4 16:01:30 2011 > New Revision: 222688 > URL: http://svn.freebsd.org/changeset/base/222688 > > Log: > Read from the socket using the same max buffer size as we use while > sending. What happens otherwise is that the sender splits all the > traffic into 32k chunks, while the receiver is waiting for the whole > packet. Then for a certain packet sizes, particularly 66607 bytes in > my case, the communication stucks to secondary is expecting to > read one chunk of 66607 bytes, while primary is sending two chunks > of 32768 bytes and third chunk of 1071. Probably due to TCP windowing > and buffering the final chunk gets stuck somewhere, so neither server > not client can make any progress. I don't know about the hast internal protocol but the above reads kind of wrong to me. -- Bjoern A. Zeeb You have to have visions! Stop bit received. Insert coin for new address family.