From owner-freebsd-stable@FreeBSD.ORG Thu Apr 5 16:22:25 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 88A7716A404 for ; Thu, 5 Apr 2007 16:22:25 +0000 (UTC) (envelope-from dkirhlarov@mail.oilspace.com) Received: from office.oilspace.com (ns2.oilspace.com [194.129.65.230]) by mx1.freebsd.org (Postfix) with ESMTP id 4A5C113C465 for ; Thu, 5 Apr 2007 16:22:25 +0000 (UTC) (envelope-from dkirhlarov@mail.oilspace.com) Received: from localhost.mow.oilspace.com (office-lc.mow.oilspace.com [81.222.156.11]) by office.oilspace.com (Postfix) with ESMTP id E0820136E32 for ; Thu, 5 Apr 2007 16:03:14 +0000 (UTC) Received: from localhost.mow.oilspace.com (localhost.mow.oilspace.com [127.0.0.1]) by localhost.mow.oilspace.com (8.13.8/8.13.8) with ESMTP id l35G3EoT005231 for ; Thu, 5 Apr 2007 20:03:14 +0400 (MSD) (envelope-from dkirhlarov@localhost.mow.oilspace.com) Received: (from dkirhlarov@localhost) by localhost.mow.oilspace.com (8.13.8/8.13.8/Submit) id l35G3EST005230 for freebsd-stable@freebsd.org; Thu, 5 Apr 2007 20:03:14 +0400 (MSD) (envelope-from dkirhlarov) Date: Thu, 5 Apr 2007 20:03:14 +0400 From: Dmitriy Kirhlarov To: freebsd-stable@freebsd.org Message-ID: <20070405160313.GE1230@dkirhlarov.mow.oilspace.com> Mail-Followup-To: freebsd-stable@freebsd.org References: <1175785136.8280.10.camel@lanshark.dmv.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1175785136.8280.10.camel@lanshark.dmv.com> X-Mailer: Mutt-ng devel (2005-03-13) based on Mutt 1.5.9 X-Operating-System: FreeBSD 6.2-STABLE User-Agent: mutt-ng/devel-r804 (FreeBSD) Subject: Re: ggate + gmirror write performance woes 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: Thu, 05 Apr 2007 16:22:25 -0000 On Thu, Apr 05, 2007 at 10:58:56AM -0400, Sven Willenberger wrote: > I am trying to set up a HA type system involving two identical boxes and > have gone through the following to set up the systems: > > Slave server: > ggated -R 196608 -S 196608 > (exporting /dev/amrd1 ) > net.inet.tcp.sendspace: 65536 > net.inet.tcp.recvspace: 131072 Try net.local.stream.recvspace=65535 net.local.stream.sendspace=65535 Also, try increase this sysctls with net.inet.tcp.rfc1323=1 I use it on FreeBSD 5.x with: net.inet.tcp.sendspace=131072 net.inet.tcp.recvspace=131072 net.local.stream.recvspace=65535 net.local.stream.sendspace=65535 ggated -R 1048576 -S 1048576 ggatec -R 1048576 -S 1048576 WBR. Dmitriy