From owner-freebsd-questions@FreeBSD.ORG Sat Jan 15 12:53:35 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDC5A16A4CE for ; Sat, 15 Jan 2005 12:53:35 +0000 (GMT) Received: from MXR-2.estpak.ee (ld1.estpak.ee [194.126.101.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEFD543D5A for ; Sat, 15 Jan 2005 12:53:34 +0000 (GMT) (envelope-from toomas.aas@raad.tartu.ee) Received: from [217.159.160.148] (217-159-160-148-dsl.trt.estpak.ee [217.159.160.148]) by MXR-2.estpak.ee (Postfix) with ESMTP id 92F7514B19B for ; Sat, 15 Jan 2005 14:53:31 +0200 (EET) Message-ID: <41E9120E.7000502@raad.tartu.ee> Date: Sat, 15 Jan 2005 14:52:30 +0200 From: Toomas Aas User-Agent: Mozilla Thunderbird 1.0RC1 (X11/20041207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee Subject: dump performance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jan 2005 12:53:35 -0000 Hello! I'm following the procedure in the NEW-HUGE-DISK FAQ entry to move my system to bigger disks. In a nutshell, the dump/restore combo recommended there seems painfully slow. For example, I have newfs-ed the partition which is to become /usr with the newfs default parameters and mounted it as /mnt/usr. Then I do: # cd /mnt/usr # dump 0af - /usr | restore xf - The procedure starts, and after running for 5 minutes it informs me that dumping is 8.35 % done and should be complete in 54 minutes. This is a total of 1 hour for a partition that holds approximately 2.2 GB of data, making the speed somewhere about 40 MB/minute. Maybe it's just me but it seems way too slow. I tried adding -b 64 and -C 32 switches to dump, and -b 64 to restore. This speeds up the process ca 50 %, but it still means 40 minutes for this partition. 40 minutes is maybe not so bad, but at this speed my /home partition which is 65 GB full would take approximately 18 hours! Tar, on the other hand, did the entire /usr partition in 15 minutes: # cd /mnt # tar cf - -C / usr | tar xf - The source partition is on ATA RAID1 array, consisting of two ATA133 disks attached to Promise TX2 controller. The disks are recognized as ATA133 in dmesg. The destination partition is on an ATA100 disk, attached to ICH4 controller. This disk is recognized as ATA100 in dmesg. Are these speeds normal for dump, or am I missing something?