Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Dec 2005 20:40:50 +0100
From:      "OxY" <oxy@field.hu>
To:        <freebsd-geom@freebsd.org>
Cc:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Subject:   Re: geom mirror write performance problem
Message-ID:  <002201c5fb66$23235040$0201a8c0@oxy>

next in thread | raw e-mail | index | archive | help
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" <oxy@field.hu>
To: "Pawel Jakub Dawidek" <pjd@FreeBSD.org>
Cc: <freebsd-geom@freebsd.org>
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" <pjd@FreeBSD.org>
> To: "OxY" <oxy@field.hu>
> Cc: <freebsd-geom@freebsd.org>
> Sent: Wednesday, December 07, 2005 7:08 PM
> Subject: Re: geom mirror write performance problem
>
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002201c5fb66$23235040$0201a8c0>