From owner-freebsd-performance@FreeBSD.ORG Fri Oct 14 10:06:36 2005 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E51A116A41F for ; Fri, 14 Oct 2005 10:06:36 +0000 (GMT) (envelope-from jarek@adeon.lublin.pl) Received: from v00061.home.net.pl (list.pl [212.85.96.61]) by mx1.FreeBSD.org (Postfix) with SMTP id 13E0743D46 for ; Fri, 14 Oct 2005 10:06:35 +0000 (GMT) (envelope-from jarek@adeon.lublin.pl) Received: from alr194.internetdsl.tpnet.pl (HELO KOMP) (jarek.list@home@83.17.47.194) by matrix01.home.net.pl with SMTP; Fri, 14 Oct 2005 10:06:32 -0000 Date: Fri, 14 Oct 2005 12:06:59 +0200 From: JG X-Priority: 3 (Normal) Message-ID: <1851634286.20051014120659@adeon.lublin.pl> To: freebsd-performance@freebsd.org In-Reply-To: <434F7EBA.1090206@algroup.co.uk> References: <134970360.20050825104636@adeon.lublin.pl> <20050825092210.25239.qmail@web30312.mail.mud.yahoo.com> <1476333643.20050825224149@adeon.lublin.pl> <434F7EBA.1090206@algroup.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re[2]: slow tar performance on fbsd5 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: JG List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2005 10:06:37 -0000 Hello all, Seems that my problem with untarring is resolved! Firstly, Write Cache was disabled by default by my scsi controller. FreeBSD 5.4, WCE=0 # time gtar -xf mysql-m.tgz 1.207u 16.371s 7:01.06 4.1% 164+278k 8030+7176io 4pf+0w FreeBSD 5.4, WCE=1 # time gtar -xf mysql-m.tgz 1.217u 16.893s 3:24.51 8.8% 170+288k 8550+6355io 4pf+0w I've upgraded to RELENG_6 today. FreeBSD6 RC1, WCE=1 # time gtar -xf mysql-m.tgz 0.141u 2.836s 0:22.23 13.3% 177+284k 2+1298io 0pf+0w Unbeliveable! It's 22 seconds on FBSD6 versus 3 minutes and 24secs on FBSD5! BTW. If you want to turn write cache on, use: camcontrol modepage daX -m8 -P0 -e then put "1" after WCE in your favourite editor. Regards, JG