From owner-freebsd-current@FreeBSD.ORG Tue Aug 9 08:07:39 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDB85106564A for ; Tue, 9 Aug 2011 08:07:39 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-ey0-f172.google.com (mail-ey0-f172.google.com [209.85.215.172]) by mx1.freebsd.org (Postfix) with ESMTP id 632518FC12 for ; Tue, 9 Aug 2011 08:07:38 +0000 (UTC) Received: by eye4 with SMTP id 4so3440413eye.31 for ; Tue, 09 Aug 2011 01:07:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=hgCjALZX186D6qcrzFfFswIwH5xjzjMxIG0Rj1l4BRI=; b=F5Gls2g5du94K38h3M/Eu0/Wwv0sLnHpJP2qr/lpbi14epjDCsP3Pil7RYojBxpJ1K 6VOMYCNEok6923y6YlmAKDE7P5rxS7gAi/+Kfeczkcxwg+OTjRtB5HjQh6w14xh+ZgKM /OVIE2rx1tbjwmLUClq8So7iv2jiRtdc+To74= Received: by 10.213.19.5 with SMTP id y5mr799585eba.116.1312877258222; Tue, 09 Aug 2011 01:07:38 -0700 (PDT) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id t8sm2335404eef.47.2011.08.09.01.07.36 (version=SSLv3 cipher=OTHER); Tue, 09 Aug 2011 01:07:37 -0700 (PDT) Sender: Alexander Motin Message-ID: <4E40EAC7.6060107@FreeBSD.org> Date: Tue, 09 Aug 2011 11:07:35 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Mike Tancsa References: <4E3C13BD.5090601@sentex.net> In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: current Subject: Re: graid fresh install X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2011 08:07:39 -0000 Mike Tancsa wrote: > On 8/5/2011 12:01 PM, Mike Tancsa wrote: >> and mount it. However, speeds seem a bit slow, but I am not sure if >> thats to be expected. >> >> i5# dd if=/dev/zero of=/mnt/test bs=1024k count=100 >> 100+0 records in >> 100+0 records out >> 104857600 bytes transferred in 13.996080 secs (7491926 bytes/sec) >> i5# That's odd. It should not be that bad. Here is my RAID1 system: %dd if=/dev/zero of=qqq bs=1m count=100 100+0 records in 100+0 records out 104857600 bytes transferred in 1.359660 secs (77120448 bytes/sec) Here is RAID0 of two SSDs: > dd if=/dev/zero of=qqq bs=1m count=1000 1000+0 records in 1000+0 records out 1048576000 bytes transferred in 1.148323 secs (913136762 bytes/sec) Can you check whether disk read/write caches are enabled with `camcontrol identify adaX`? If you prefer to have write caches disabled, you should have load that creates multiple concurrent I/O requests to saturate disk bandwidth. > One extra bit of oddness with graid, is that if I disable the RAID in > the BIOS and boot up the disks just with plain old AHCI, graid still > works. Is that a quirk of the BIOS, or does it generally work that way? graid just reads on-disk metadata. AHCI/RAID modes set by BIOS affect only whether RAID BIOS will be running. From the hardware or OS driver level they are identical, except chip PCI IDs, that is not checked now. -- Alexander Motin