From owner-freebsd-performance@FreeBSD.ORG Wed Aug 11 06:33:23 2004 Return-Path: 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 80F9416A4CE for ; Wed, 11 Aug 2004 06:33:23 +0000 (GMT) Received: from mail03.syd.optusnet.com.au (mail03.syd.optusnet.com.au [211.29.132.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id B259043D31 for ; Wed, 11 Aug 2004 06:33:22 +0000 (GMT) (envelope-from david.burns@dugeem.net) Received: from [192.168.63.20] (c211-30-248-50.carlnfd2.nsw.optusnet.com.au [211.30.248.50])i7B6XJC0018929 for ; Wed, 11 Aug 2004 16:33:20 +1000 Message-ID: <4119BDAD.7030302@dugeem.net> Date: Wed, 11 Aug 2004 16:33:17 +1000 From: David Burns User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en, en-us MIME-Version: 1.0 To: freebsd-performance@freebsd.org References: In-Reply-To: X-Enigmail-Version: 0.84.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Network performance issues when writing to disk (5.2.1-RELEASE) X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Aug 2004 06:33:23 -0000 Erik Rothwell wrote: > > When writing to a file, however: > > # nc -l -p 2332 -vv | dd if=/dev/stdin of=/data/junk bs=1k > listening on [any] 2332 ... > connect to [192.168.5.1] from [192.168.5.3] 51296 > sent 0, rcvd 1130496 > 1046+115 records in > 1046+115 records out > 1130496 bytes transferred in 32.888345 secs (34374 bytes/sec) > You didn't mention what your hardware is... particularly disk IO controller... If ata you could verify your disk is in a DMA mode - with "atacontrol mode 0" etc One other possibility is PCI bus contention - particularly if the box has some ancient PCI implementation and/or slow memory. Regards, David