From owner-freebsd-performance@FreeBSD.ORG Sun Oct 2 14:57:12 2005 Return-Path: X-Original-To: freebsd-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 329D316A420 for ; Sun, 2 Oct 2005 14:57:12 +0000 (GMT) (envelope-from patpro@patpro.net) Received: from smtp1-g19.free.fr (smtp1-g19.free.fr [212.27.42.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id D20F643D46 for ; Sun, 2 Oct 2005 14:57:11 +0000 (GMT) (envelope-from patpro@patpro.net) Received: from [82.235.12.223] (boleskine.patpro.net [82.235.12.223]) by smtp1-g19.free.fr (Postfix) with ESMTP id 5DF053954F for ; Sun, 2 Oct 2005 16:57:10 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v734) Content-Transfer-Encoding: quoted-printable Message-Id: <7035DA0C-E43C-478B-9B1C-6A32545E5E63@patpro.net> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed To: freebsd-performance@freebsd.org From: Patrick Proniewski Date: Sun, 2 Oct 2005 16:57:09 +0200 X-Mailer: Apple Mail (2.734) Subject: dd(1) performance when copiing a disk to another 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: Sun, 02 Oct 2005 14:57:12 -0000 Hi, (carte m=E8re supermicro chip SATA Intel 6300ESB) I run FreeBSD 5.4 on a PIV 3GHz (SuperMicro motherboard, Intel SATA =20 6300ESB chipset) with 2 SATA HDD. I'm in the process to duplicate the =20= boot HDD to the second HDD. I run dd for that: # dd if=3D/dev/ad4 of=3D/dev/ad6 bs=3D1m It yields to poor performances: $ iostat -dhKw 1 (...) ad4 ad6 KB/t tps MB/s KB/t tps MB/s 124.49 252 30.69 128.00 246 30.69 128.00 285 35.64 128.00 279 34.90 128.00 282 35.27 128.00 283 35.40 (...) Is it normal that data rate won't go upper than 35/38 MB/s ? HDDs are: ad4 -> Maxtor 80 Go 7200 rpm ad6 -> Hitachi 80 Go 7200 rpm one more question: is dd(1) a good way to duplicate a boot drive to =20 make a bootable spare disk ? patpro=