From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 28 17:15:55 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7012E16A401 for ; Tue, 28 Mar 2006 17:15:55 +0000 (UTC) (envelope-from joe@osoft.us) Received: from mail.osoft.us (osoft.us [67.14.192.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 333F744DA6 for ; Tue, 28 Mar 2006 17:15:55 +0000 (GMT) (envelope-from joe@osoft.us) Received: from [192.168.1.103] (unknown [64.19.242.82]) by mail.osoft.us (Postfix) with ESMTP id 494F733C9C; Tue, 28 Mar 2006 11:15:51 -0600 (CST) Message-ID: <44296F41.1050209@osoft.us> Date: Tue, 28 Mar 2006 11:15:45 -0600 From: Joe Koberg User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: soralx@cydem.org References: <17444.13967.998120.314837@bhuda.mired.org> <200603281139.29588.doconnor@gsoft.com.au> <200603272210.43032.soralx@cydem.org> In-Reply-To: <200603272210.43032.soralx@cydem.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: cloning a FreeBSD HDD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Mar 2006 17:15:55 -0000 soralx@cydem.org wrote: >> On Saturday 25 March 2006 04:42, Mike Meyer wrote: >> >>> One thing: 1m is a bit small for modern systems. Or for not-so-modern >>> systems. Since nothing else is running, you might as well use all the >>> memory you've got, or as big as you can get a process to be. 128m or >>> more is perfectly reasonable. >>> >> It won't go any faster.. >> >> In a modern system the CPU is so much faster than the disk than anything above >> about 16k would be enough. >> > > I found 64k to be optimal (e.g, max performance) on most machines > > I heard its faster if you use two dd's; i.e: # dd if=/dev/ad0 bs=64k | dd of=/dev/ad1 bs=64k allowing read and write to proceed in parallel. Joe Koberg joe at osoft dot us