From owner-freebsd-questions Sat May 26 15:13:18 2001 Delivered-To: freebsd-questions@freebsd.org Received: from clmboh1-smtp3.columbus.rr.com (clmboh1-smtp3.columbus.rr.com [65.24.0.112]) by hub.freebsd.org (Postfix) with ESMTP id 7E52037B422 for ; Sat, 26 May 2001 15:13:13 -0700 (PDT) (envelope-from wmoran@iowna.com) Received: from iowna.com (dhcp065-024-023-038.columbus.rr.com [65.24.23.38]) by clmboh1-smtp3.columbus.rr.com (8.11.2/8.11.2) with ESMTP id f4QMA3k12533; Sat, 26 May 2001 18:10:03 -0400 (EDT) Message-ID: <3B102A2A.8AF59769@iowna.com> Date: Sat, 26 May 2001 18:11:54 -0400 From: Bill Moran X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.3-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Felix Hernandez Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Slower tape drive when compression off References: <20010526191056.97775.qmail@web9502.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Felix Hernandez wrote: > > Hi, > > I have a Quantum DLT8000 tape drive (40/80 GB), and > I'm puzzled by the following fact: writing the tape in > compressed mode (mt comp on) is faster (4 MB/s) than > in uncompressed mode (mt comp off, 2 MB/s). I use tar > (1.13) for my backups, and the tape is attached to an > IBM Netfinity 7100 running FreeBSD 4.1. I have already > tried a large and fixed blocksize (mt blocksize 10240, > tar -b 20), but it didn't help. Do you know why this > happens? How can I fix it? I don't want to use > compression, since the data is already gzipped, and > recompressing it wastes 5 GB. I'm a little confused. You say your compressing the data with tar and then using compression on the tape drive as well? If that's the case, I don't know what the issue is. If you're piping the data through raw and compression is faster, it's probably because it's measuring the data rate before it compresses the data, and then gets about 50% compression. The slow performer in any of these cases is going to be the tape itself. -Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message