From owner-freebsd-stable@FreeBSD.ORG Mon Oct 25 09:22:12 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 476591065695; Mon, 25 Oct 2010 09:22:12 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from constantine.ticketswitch.com (constantine.ticketswitch.com [IPv6:2002:57e0:1d4e:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id 0D5338FC0A; Mon, 25 Oct 2010 09:22:12 +0000 (UTC) Received: from dilbert.rattatosk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ticketswitch.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1PAJFh-0002gh-1o; Mon, 25 Oct 2010 10:22:01 +0100 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.72 (FreeBSD)) (envelope-from ) id 1PAJFh-000Bkx-0o; Mon, 25 Oct 2010 10:22:01 +0100 Date: Mon, 25 Oct 2010 10:22:01 +0100 Message-Id: To: oberman@es.net, to.my.trociny@gmail.com In-Reply-To: <20101022184551.B587D1CC3E@ptavv.es.net> From: Pete French Cc: pjd@freebsd.org, freebsd-stable@freebsd.org Subject: Re: hast vs ggate+gmirror sychrnoisation speed X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Oct 2010 09:22:12 -0000 > If you are 50ms RTT from the remote system, the default buffer size will > limit you to about 21 Mbps. Formula is Window-size(in bits/sec)/RTT(in > sec.) The result is the absolute maximum possible bandwidth in > bits/sec. Of course, you can replace window size with the bytes/sec and > the result will be in bytes. I've got a ping time of around 100us (ranges from 0.093ms to 0.109ms) So from your formula I should be able to saturate 1 gigabit ether. I was getting around 90 meg/sevond using ggate Am going to experiment now with the recompiled hastd using the buffesr sizes I was using with ggate and see what happens. thanks, -pete.