From owner-freebsd-stable@FreeBSD.ORG Mon Dec 11 08:05:46 2006 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 C35C816A50C for ; Mon, 11 Dec 2006 08:05:46 +0000 (UTC) (envelope-from craig@feniz.gank.org) Received: from ion.gank.org (ion.gank.org [69.55.238.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9616E43CBD for ; Mon, 11 Dec 2006 08:04:25 +0000 (GMT) (envelope-from craig@feniz.gank.org) Received: by ion.gank.org (Postfix, from userid 1001) id 2D20310F24; Mon, 11 Dec 2006 02:05:40 -0600 (CST) Date: Mon, 11 Dec 2006 02:05:39 -0600 From: Craig Boston To: David Gilbert Message-ID: <20061211080539.GA47265@nowhere> References: <17774.32960.176956.52924@canoe.dclg.ca> <20061203171221.GB2369@roadrunner.q.local> <20061211024353.GA1220@nowhere> <17789.3357.574773.690262@canoe.dclg.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17789.3357.574773.690262@canoe.dclg.ca> User-Agent: Mutt/1.4.2.1i Cc: freebsd-stable@freebsd.org, Ulrich Spoerlein Subject: Re: ggate still broken on 6.2-RC1 for amd64. 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, 11 Dec 2006 08:05:46 -0000 On Mon, Dec 11, 2006 at 02:47:41AM -0500, David Gilbert wrote: > That doesn't square with my experience. Although bigger buffers could > be involved in a performance problem, what we're dealing with here is > a _zero_ traffic situation. It seems that it works enough for tasting > to be successful, but any significant load wedges it hard. The problem I observed was also a zero traffic situation. A quick way to test is to do something like this (assuming you don't care about the contents of the device!) dd if=/dev/zero of=/dev/ggateX bs=1m and watch the network traffic to see what happens. When I ran into it, small block sizes worked fine, but anything bigger than the send buffer size would cause the entire ggate device to wedge with zero traffic. The ggatec logs in my mail archive say 128k, which itself is a little odd because I thought GEOM broke big transfers into 64k chunks. In any case, ggatec got stuck in a loop getting EAGAIN from send(), so the packets never made it out to the wire. However checking my mail archive also indicates that was a year ago so chances are this is a different problem. The symptoms just sounded a little familiar. Craig