From owner-freebsd-current@FreeBSD.ORG Mon Jan 29 21:48:54 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 57E1716A401 for ; Mon, 29 Jan 2007 21:48:54 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 9A2C413C478 for ; Mon, 29 Jan 2007 21:48:52 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr08.lnh.mail.rcn.net ([207.172.157.28]) by smtp02.lnh.mail.rcn.net with ESMTP; 29 Jan 2007 16:48:42 -0500 X-IronPort-AV: i="4.13,253,1167627600"; d="scan'208"; a="399642930:sNHT26891548" Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr08.lnh.mail.rcn.net (MOS 3.7.5a-GA) with ESMTP id IEK76036; Mon, 29 Jan 2007 16:48:36 -0500 (EST) Received: from 209-6-203-219.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.203.219]) by smtp01.lnh.mail.rcn.net with ESMTP; 29 Jan 2007 16:48:35 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17854.27369.656331.328734@jerusalem.litteratus.org> Date: Mon, 29 Jan 2007 16:45:13 -0500 To: freebsd-current@freebsd.org In-Reply-To: <20070126224352.GD927@turion.vk2pj.dyndns.org> References: <20070126224352.GD927@turion.vk2pj.dyndns.org> X-Mailer: VM 7.17 under 21.5 (beta27) "fiddleheads" XEmacs Lucid X-Junkmail-Status: score=10/50, host=mr08.lnh.mail.rcn.net X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A090208.45BE6BB7.00BD,ss=1,fgs=0, ip=207.172.4.11, so=2006-05-09 23:27:51, dmn=5.2.125/2006-10-10 Subject: Re: Interesting speed benchmarks X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2007 21:48:54 -0000 Peter Jeremy writes: > > > $DUMP_LEVEL -D $DUMPDATES_FILE -Lau -f > > > > > > gets me 2 +/- 0.2 mbytes/sec. > > > Is this a reasonable value? (I.e. is dump the limiting > > > factor?) Do I need to reconfigure something, or is my hardware just > > > lame? > > I presume you are dumping an internal SCSI disk onto a USB disk. Dump > is slow but shouldn't be that slow. Doing a dump of root, I get > 10MB/s on one system and 15MB/s on another. Even my P-120 firewall > gets 2.7MB/s and it is actually CPU limited, not disk limited. What > do you get if you do the dump to /dev/null? huff@>>dump 0 -D /tmp/DF -Lau -f /dev/null /usr >& /tmp/null_dump huff@>>cat /tmp/null_dump DUMP: Date of this level 0 dump: Mon Jan 29 10:26:38 2007 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/da1s1d (/usr) to /dev/null DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 27192344 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: 0.75% done, finished in 11:01 at Mon Jan 29 21:33:18 2007 DUMP: 3.10% done, finished in 5:12 at Mon Jan 29 15:49:28 2007 DUMP: 5.74% done, finished in 4:06 at Mon Jan 29 14:48:31 2007 etc. DUMP: 95.56% done, finished in 0:10 at Mon Jan 29 14:12:07 2007 DUMP: 97.56% done, finished in 0:05 at Mon Jan 29 14:12:37 2007 DUMP: 99.22% done, finished in 0:01 at Mon Jan 29 14:13:52 2007 DUMP: 99.99% done, finished soon DUMP: DUMP: 27485576 tape blocks on 1 volume DUMP: finished in 13818 seconds, throughput 1989 KBytes/sec DUMP: level 0 dump on Mon Jan 29 10:26:38 2007 DUMP: Closing /dev/null DUMP: DUMP IS DONE It would seem the USB connection is not the bottleneck. :-) The last possibility would be a local misconfiguration that limits the speed. Ideas for what that might be are appreciated, But assuming it really is dump - what next? Robert Huff