From owner-freebsd-stable@FreeBSD.ORG Wed Aug 9 14:17:31 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB0D416A4E5 for ; Wed, 9 Aug 2006 14:17:31 +0000 (UTC) (envelope-from matthias.andree@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 0F24743D4C for ; Wed, 9 Aug 2006 14:17:30 +0000 (GMT) (envelope-from matthias.andree@gmx.de) Received: (qmail invoked by alias); 09 Aug 2006 14:17:29 -0000 Received: from p509118E1.dip0.t-ipconnect.de (EHLO m2a2.dyndns.org) [80.145.24.225] by mail.gmx.net (mp029) with SMTP; 09 Aug 2006 16:17:29 +0200 X-Authenticated: #428038 Received: from localhost (localhost [127.0.0.1]) by merlin.emma.line.org (Postfix) with ESMTP id DDE63200A57 for ; Wed, 9 Aug 2006 16:17:28 +0200 (CEST) Received: from m2a2.dyndns.org ([127.0.0.1]) by localhost (m2a2.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18696-13 for ; Wed, 9 Aug 2006 16:17:28 +0200 (CEST) Received: by merlin.emma.line.org (Postfix, from userid 500) id 0F206200A5C; Wed, 9 Aug 2006 16:17:28 +0200 (CEST) From: Matthias Andree To: freebsd-stable@freebsd.org In-Reply-To: (Nikolas Britton's message of "Wed, 9 Aug 2006 08:49:47 -0500") References: X-PGP-Key: http://home.pages.de/~mandree/keys/GPGKEY.asc Date: Wed, 09 Aug 2006 16:17:28 +0200 Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: amavisd-new at emma.line.org X-Y-GMX-Trusted: 0 Subject: Re: gzip is faster with -O3 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Aug 2006 14:17:32 -0000 "Nikolas Britton" writes: > dd if=/dev/random of=testfile bs=1m count=5000 1. gzip isn't usually used to compress incompressible data. 2. use "time" to figure out how much CPU time it actually burns. 5 GB are somewhat I/O bound, but gcc options don't help with that, so CPU time is better than wallclock time. > gzip compiled with -O3: > # date ; nice -10 ./gzip -c9 testfile > testfile.gz ; date > Wed Aug 9 08:01:21 CDT 2006 -- Matthias Andree