From owner-freebsd-performance@FreeBSD.ORG Mon Jun 26 21:26:19 2006 Return-Path: X-Original-To: performance@freebsd.org Delivered-To: freebsd-performance@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A622916A402; Mon, 26 Jun 2006 21:26:19 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from mail.localelinks.com (web.localelinks.com [64.39.75.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74E6143D79; Mon, 26 Jun 2006 21:26:11 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: from draco.over-yonder.net (adsl-072-148-013-213.sip.jan.bellsouth.net [72.148.13.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.localelinks.com (Postfix) with ESMTP id 8DBD13E6; Mon, 26 Jun 2006 15:26:49 -0500 (CDT) Received: by draco.over-yonder.net (Postfix, from userid 100) id 8BB1E61C2B; Mon, 26 Jun 2006 14:32:26 -0500 (CDT) Date: Mon, 26 Jun 2006 14:32:26 -0500 From: "Matthew D. Fuller" To: Michael Vince Message-ID: <20060626193226.GF74292@over-yonder.net> References: <449F8736.3080508@thebeastie.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <449F8736.3080508@thebeastie.org> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.11-fullermd.3 Cc: freebsd-stable@freebsd.org, performance@freebsd.org, Nikolas Britton , Sean Bryant Subject: Re: Gigabit ethernet very slow. X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 21:26:19 -0000 On Mon, Jun 26, 2006 at 05:05:26PM +1000 I heard the voice of Michael Vince, and lo! it spake thus: > > According to pftop (with modulate state rules) I am able to get > about 85megs/sec when I don't have dd running. dd does indeed eats a > fair amount of cpu (40%) on the AMD64 6-stable machine. dd does ridiculously small (512 byte?) read/writes, so it's gotta do a LOT of system calls and a lot of context switching when you don't give it a bigger blocksize. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.