From owner-freebsd-scsi@FreeBSD.ORG Mon Feb 13 10:20:37 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4E2616A420 for ; Mon, 13 Feb 2006 10:20:37 +0000 (GMT) (envelope-from peceka@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CF9043D45 for ; Mon, 13 Feb 2006 10:20:37 +0000 (GMT) (envelope-from peceka@gmail.com) Received: by zproxy.gmail.com with SMTP id o1so159880nzf for ; Mon, 13 Feb 2006 02:20:36 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=pUI2ekt6BDhMNtebRdRzaY1n4WIuLZq+/NhaduyPyekpcDe47+e2xSs5xkdAhe3ITgOwdzPPRjeG9Gbq2hI3p8yXM6OPs3R7eXw0BIeWfUnnwh3AjTCviU8lo4zxld25iYvj0nL37U+7wika8AosVo6ghGnFXRpecVvxWODeenE= Received: by 10.65.230.17 with SMTP id h17mr905787qbr; Mon, 13 Feb 2006 02:20:31 -0800 (PST) Received: by 10.65.253.15 with HTTP; Mon, 13 Feb 2006 02:20:31 -0800 (PST) Message-ID: Date: Mon, 13 Feb 2006 11:20:31 +0100 From: peceka To: freebsd-scsi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Re: problem with low efficiency of HP Smart Array 6i under FBSD X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Feb 2006 10:20:37 -0000 Hi, > > Time of executing this scripts: > > FreeBSD: 149m 28s > > Linux: 97m 13s > >Well, so Linux is about 33% faster. That's not an order >of magnitude. It could be explained by differences in >the file system parameters. By the way, what kind of >file system did you use on FreeBSD and Linux? What >parameters did you use with newfs? On Linux there is ext3 On FreeBSD is UFS2, made by installer program, so there are standard parameters in newfs. >In fact, the difference could also be caused by the >harddisks not being the same. And even if they are >the same models, the location of your test files on the >harddisk can be different. Most harddisks are much >faster when files are stored on the lower cylinders. Disks are this same, with this same firmware. Except that on Linux disks are 10k rpm and of FBSD are 15k rpm. >I don't think the difference is caused by the SCSI code. We've made exactly the same tests on other machine (devel1) with FBSD: RAM: 191 MB CPU: AMD Sempron(tm) Processor 2600+ (1599.83-MHz 686-class CPU) HDD: ad0: 38166MB at ata0-master UDMA100 Filesystem: UFS2 (with standard newfs parameters) > freebsd: 149m 28s > Linux: 97m 13s devel1: 182s > freebsd: 2m 41s > linux: 1m 27s devel1: 2m 06s > freebsd: 299,6s > linux: 214,1s devel1: 268.3s > freebsd: 277,2s > linux: 199s devel1: 246.2s In every test it's faster than HP DL380 with SCSI with FBSD disks and slower that machine with Linux. So, a think it's a problem with HP SmartArray 6i drivers under FBSD. Best regards, p.