Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Aug 2004 16:33:17 +1000
From:      David Burns <david.burns@dugeem.net>
To:        freebsd-performance@freebsd.org
Subject:   Re: Network performance issues when writing to disk (5.2.1-RELEASE)
Message-ID:  <4119BDAD.7030302@dugeem.net>
In-Reply-To: <BD3EDC2E.42A6%erik.rothwell@realityengine.ca>
References:  <BD3EDC2E.42A6%erik.rothwell@realityengine.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Erik Rothwell wrote:

<snip>

> 
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4119BDAD.7030302>