From owner-freebsd-performance@FreeBSD.ORG Mon Apr 16 00:45:17 2007 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C65A516A400 for ; Mon, 16 Apr 2007 00:45:17 +0000 (UTC) (envelope-from markir@paradise.net.nz) Received: from smtp3.clear.net.nz (smtp3.clear.net.nz [203.97.33.64]) by mx1.freebsd.org (Postfix) with ESMTP id 914E613C455 for ; Mon, 16 Apr 2007 00:45:17 +0000 (UTC) (envelope-from markir@paradise.net.nz) Received: from [192.168.1.11] (121-72-69-46.dsl.telstraclear.net [121.72.69.46]) by smtp3.clear.net.nz (CLEAR Net Mail) with ESMTP id <0JGK00NK2ENS3L10@smtp3.clear.net.nz> for freebsd-performance@freebsd.org; Mon, 16 Apr 2007 12:28:41 +1200 (NZST) Date: Mon, 16 Apr 2007 12:28:33 +1200 From: Mark Kirkwood In-reply-to: <20070323181437.GA94251@deeboz.ca> To: Sally Janghos Message-id: <4622C331.3080800@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit References: <006101c76cda$313892d0$da11e00a@Seelye> <20070323181437.GA94251@deeboz.ca> User-Agent: Thunderbird 1.5.0.10 (X11/20070313) Cc: Aaron Seelye , freebsd-performance@freebsd.org Subject: Re: Where to troubleshoot Intel PRO/1000 performance problems? 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, 16 Apr 2007 00:45:17 -0000 Sally Janghos wrote: > Aaron, > > Thanks for your reply. Here is some output from some dd's on the disk that I'm reading/writing to. > >> dd if=/dev/zero of=testfile count=1000000;dd if=testfile of=/dev/null > 1000000+0 records in > 1000000+0 records out > 512000000 bytes transferred in 27.951769 secs (18317267 bytes/sec) > 1000000+0 records in > 1000000+0 records out > 512000000 bytes transferred in 16.864945 secs (30358830 bytes/sec) >> dd if=/dev/zero of=testfile count=1000000 ; dd if=testfile of=/dev/null > 1000000+0 records in > 1000000+0 records out > 512000000 bytes transferred in 28.492921 secs (17969376 bytes/sec) > 1000000+0 records in > 1000000+0 records out > 512000000 bytes transferred in 16.605797 secs (30832607 bytes/sec) > > Am I reading right, the max network transfer rate from this disk will be between 143Mbit and 246Mbit/sec? Is there a way to determine if there is an IRQ conflict? How do you find out what IRQ's are currently used by the system? To see bigger transfer rates you might want to retest with a bigger block size for the dd - e.g (FreeBSD 6.2 on a PIII 1.26Ghz with Promise ATA controller 2xSeagate IDE RAID0): $ dd if=/dev/zero of=testfile bs=8k count=64000 ; dd if=testfile bs=8k of=/dev/null 64000+0 records in 64000+0 records out 524288000 bytes transferred in 11.624216 secs (45103084 bytes/sec) 64000+0 records in 64000+0 records out 524288000 bytes transferred in 1.544103 secs (339542136 bytes/sec) Note for the read is clearly coming from memory (2 IDE disks will do 100 MBytes/s max - not 300!). Cheers Mark