From owner-cvs-all@FreeBSD.ORG Sat Sep 23 17:26:40 2006 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7DC8016A407; Sat, 23 Sep 2006 17:26:40 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from kientzle.com (h-66-166-149-50.snvacaid.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61A5943D73; Sat, 23 Sep 2006 17:26:39 +0000 (GMT) (envelope-from tim@kientzle.com) Received: from [10.0.0.221] (p54.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id k8NHQc24041107; Sat, 23 Sep 2006 10:26:38 -0700 (PDT) (envelope-from tim@kientzle.com) Message-ID: <45156E4E.6040806@kientzle.com> Date: Sat, 23 Sep 2006 10:26:38 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060422 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway References: <200609150804.k8F84O1H056038@repoman.freebsd.org> <20060915155912.GA71796@xor.obsecurity.org> <450AD508.10608@freebsd.org> <20060915180315.GB74735@xor.obsecurity.org> <450C30ED.7090901@freebsd.org> <20060916192437.GA15425@xor.obsecurity.org> In-Reply-To: <20060916192437.GA15425@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: src-committers@freebsd.org, Andre Oppermann , cvs-src@freebsd.org, cvs-all@freebsd.org, Tim Kientzle , Ruslan Ermilov Subject: bsdtar vs gtar performance X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Sep 2006 17:26:40 -0000 Kris and Ruslan were recently discussing the performance of bsdtar relative to gtar, which prompted me to do some measurements of my own. I used /usr/ports as my test, because it stresses file and directory creation over extracting large files. Here are some initial results, based on ten runs of each test on a quiescent system, comparing results with PHK's "ministat": * Creating uncompressed archives: bsdtar and gtar showed no difference in total time. * Extracting gzip-compressed archives: bsdtar and gtar showed no difference in total time. * Extracting uncompressed archives: gtar is about 13% faster than bsdtar in my test. Interestingly (to me), this was the same with or without -m. (I've long suspected dir timestamp restores as a contributor; this shows otherwise.) Tim Kientzle