From owner-freebsd-geom@FreeBSD.ORG Wed Jan 7 16:44:01 2009 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B3AB1065670; Wed, 7 Jan 2009 16:44:01 +0000 (UTC) (envelope-from jjacobson@panasas.com) Received: from laguna.int.panasas.com (gw-ca.panasas.com [66.104.249.162]) by mx1.freebsd.org (Postfix) with ESMTP id 7D70F8FC22; Wed, 7 Jan 2009 16:44:00 +0000 (UTC) (envelope-from jjacobson@panasas.com) Received: from [172.17.133.249] ([172.17.133.249]) by laguna.int.panasas.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 7 Jan 2009 08:42:02 -0800 Message-Id: From: Joel Jacobson To: Ivan Voras In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Wed, 7 Jan 2009 08:42:06 -0800 References: <4AD370A6-2226-442F-BD80-8CFD4045B094@panasas.com> X-Mailer: Apple Mail (2.929.2) X-OriginalArrivalTime: 07 Jan 2009 16:42:02.0792 (UTC) FILETIME=[DE1BC280:01C970E6] Cc: freebsd-geom@freebsd.org Subject: Re: performance problem with gstripe X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2009 16:44:02 -0000 still works badly at 64k, but works well if i use 32k (and have kern.geom.stripe.fast=1). that being said, i was only seeing 64k I/O through ufs when i was doing the 256k stripe, so im still not sure why this matters. i have a somewhat hidden agenda here, too, in that i have my own filesystem that suffers the same problem im seeing with dd. i figured there was something ufs does which i do not, and was trying to figure out what that might be. it works fine on 4.6.2 using ccd and a 256k stripe size [and i send 128k I/O requests, which is what i would prefer to see sent to the driver, rather than 64k]. - j On Jan 6, 2009, at 8:08 PM, Ivan Voras wrote: > Joel Jacobson wrote: >> here's what i did: > >> ca-sbox-2# dd if=/dev/zero of=/dev/stripe/d0 bs=512k count=4096 >> 4096+0 records in >> 4096+0 records out >> 2147483648 bytes transferred in 34.124683 secs (62930508 bytes/sec) > >> ca-sbox-2# dd if=/dev/zero of=/mnt/bigfile bs=512k count=4096 && >> /usr/bin/time sync >> 4096+0 records in >> 4096+0 records out >> 2147483648 bytes transferred in 11.081184 secs (193795502 bytes/sec) > > > Hmm ok, you might be hitting the MAXPHYS problem. Could you try and > create your gstripe array with a stripe size of 64 kB and 32 kB and > test > on those ? >