From owner-freebsd-geom@FreeBSD.ORG Wed Dec 7 19:41:38 2005 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25DE816A420; Wed, 7 Dec 2005 19:41:38 +0000 (GMT) (envelope-from oxy@field.hu) Received: from dumballah.tvnet.hu (dumballah.tvnet.hu [195.38.96.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2C0143D7D; Wed, 7 Dec 2005 19:40:57 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (localhost.localdomain [127.0.0.1]) by dumballah.tvnet.hu (Postfix) with ESMTP id ABC4D1018DD; Wed, 7 Dec 2005 20:40:52 +0100 (CET) Received: from dumballah.tvnet.hu ([127.0.0.1]) by localhost (dumballah.tvnet.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26784-47; Wed, 7 Dec 2005 20:40:51 +0100 (CET) Received: from oxy (dsl85-238-73-88.pool.tvnet.hu [85.238.73.88]) by dumballah.tvnet.hu (Postfix) with SMTP id 1B8B810193F; Wed, 7 Dec 2005 20:40:45 +0100 (CET) Message-ID: <002201c5fb66$23235040$0201a8c0@oxy> From: "OxY" To: Date: Wed, 7 Dec 2005 20:40:50 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-2"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-Virus-Scanned: by amavisd-new at tvnet.hu Cc: Pawel Jakub Dawidek Subject: Re: geom mirror write performance problem 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 Dec 2005 19:41:38 -0000 it's weird, but after the array is synced i ran Sco root# swapoff /dev/mirror/gm0s2b Sco root# dd if=/dev/zero of=/dev/mirror/gm0s2b bs=1m count=1000 dd: /dev/mirror/gm0s2b: short write on character device dd: /dev/mirror/gm0s2b: end of device 507+0 records in 506+1 records out 530972160 bytes transferred in 19.987893 secs (26564689 bytes/sec) it's fast on swap partition, while raid is complete...still slow on other partitions... ----- Original Message ----- From: "OxY" To: "Pawel Jakub Dawidek" Cc: Sent: Wednesday, December 07, 2005 7:39 PM Subject: Re: geom mirror write performance problem > Sco root# gmirror remove gm0 ad2 > Sco root# swapoff /dev/mirror/gm0s2b > Sco root# dd if=/dev/zero of=/dev/ad2s1b bs=1m count=1000 > dd: /dev/ad2s1b: Operation not supported > Sco root# dd if=/dev/zero of=/dev/ad2s2b bs=1m count=1000 > dd: /dev/ad2s2b: short write on character device > dd: /dev/ad2s2b: end of device > 507+0 records in > 506+1 records out > 530972160 bytes transferred in 18.206418 secs (29164011 bytes/sec) > Sco root# dd if=/dev/zero of=/dev/mirror/gm0s2b bs=1m count=1000 > dd: /dev/mirror/gm0s2b: short write on character device > dd: /dev/mirror/gm0s2b: end of device > 507+0 records in > 506+1 records out > 530972160 bytes transferred in 19.109501 secs (27785768 bytes/sec) > >>Actually it is possible... You said, when only one component is >>connected performance is fine. >>You can try something like this: >> >># gmirror remove gm0 ad2 >># swapoff /dev/mirror/gm0s1b (if you have one) > > ----- Original Message ----- > From: "Pawel Jakub Dawidek" > To: "OxY" > Cc: > Sent: Wednesday, December 07, 2005 7:08 PM > Subject: Re: geom mirror write performance problem > >