From owner-freebsd-questions@FreeBSD.ORG Fri Jun 16 19:27:36 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C2DE316A474 for ; Fri, 16 Jun 2006 19:27:36 +0000 (UTC) (envelope-from dwc@stilyagin.com) Received: from puffy.asicommunications.com (puffy.asicommunications.com [216.9.200.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55B7043D49 for ; Fri, 16 Jun 2006 19:27:36 +0000 (GMT) (envelope-from dwc@stilyagin.com) Received: from jeeves.stilyagin.local (reserved-216-9-200-69.asicommunications.com [216.9.200.69] (may be forged)) by puffy.asicommunications.com (8.13.4/8.13.3) with ESMTP id k5GJRaJl013860 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Fri, 16 Jun 2006 12:27:36 -0700 (MST) Received: (from dwc@localhost) by jeeves.stilyagin.local (8.13.4/8.13.4/Submit) id k5GJRZJ7024662; Fri, 16 Jun 2006 12:27:35 -0700 (MST) Date: Fri, 16 Jun 2006 12:27:35 -0700 From: Darrin Chandler To: "J.D. Bronson" Message-ID: <20060616192734.GC9804@jeeves.stilyagin.local> References: <7.0.1.0.2.20060616135513.00e743b0@sixcompanies.com> <20060616191028.GB9804@jeeves.stilyagin.local> <7.0.1.0.2.20060616141226.00e743b0@sixcompanies.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7.0.1.0.2.20060616141226.00e743b0@sixcompanies.com> User-Agent: Mutt/1.4.2i Cc: freebsd-questions@freebsd.org Subject: Re: pf + ftp throughput X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2006 19:27:36 -0000 On Fri, Jun 16, 2006 at 02:13:00PM -0500, J.D. Bronson wrote: > At 02:10 PM 6/16/2006, Darrin Chandler wrote: > >On Fri, Jun 16, 2006 at 01:59:01PM -0500, J.D. Bronson wrote: > >> For example...moving a 50MB file: > >> > >> 'keep state' = 11-12MB/sec over 100MB-FDX > >> 'modulate state = 6-7MB/sec over 100MB-FDX > >> > >> ..it took me a while to determine the culprit here - but I am curious > >> as to why this is the case? > > > >Since modulate state substitues its own high quality random sequence for > >the TCP stream in both directions, a wimpy CPU or similar problem could > >easily cause this, I think. Still, I'm surprised to see a 50% hit from > >using modulate state. > > Yes. I am too! > This is a P4-3.06 with 1GB ram...under almost no load...so I cant > fault the CPU this time.... The only two things that come to mind are 1) pf is using a really complex and slow random source, or 2) something is going haywire with the connection. Have your tried tcpdump on either interface (not pflog) to see if anything strange is going on (ACK storms, etc)? Just fishing at this point... -- Darrin Chandler | Phoenix BSD Users Group dwchandler@stilyagin.com | http://bsd.phoenix.az.us/ http://www.stilyagin.com/ |