Date: Wed, 02 Mar 2005 17:37:06 +0300 From: Deomid Ryabkov <myself@rojer.pp.ru> To: freebsd-geom@freebsd.org Subject: gvinum mirror seems to use only one disk for reading Message-ID: <4225CF92.80800@rojer.pp.ru>
index | next in thread | raw e-mail
[-- Attachment #1 --]
I have a gvinum-based mirrored setup and i noticed that only one disk
gets the load of read requests.
for example:
toxin[~rojer]# dd if=/dev/gvinum/usr of=/dev/null & vmstat 1
[1] 70487
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr da0 da1 in sy cs us
sy id
1 1 0 75580 158780 337 0 0 0 395 4 0 0 384 681 1015
4 3 93
1 0 0 75580 158780 3 0 0 0 3 0 0 1964 6376 4138 58340
0 49 51
0 1 0 75580 158780 0 0 0 0 0 0 0 1998 6455 4197 59243
0 52 48
0 1 0 75580 158780 0 0 0 0 0 0 2 1948 6307 4111 57759
1 50 50
0 1 0 75580 158780 0 0 0 0 0 0 0 2007 6492 4217 59502
2 48 50
0 1 0 75580 158780 0 0 0 0 0 0 1 1979 6400 4154 58707
0 48 51
the relevant disk tps values are:
disks
da0 da1
0 0
0 1964
0 1998
2 1948
0 2007
1 1979
notice that only da1 is busy reading, da0 is completely idle.
there is also an oddity when writing to gvinum.
writes go to both drives as they should and tps numbers are the same, as
expected,
but "time spent processing requests" is different for da0 and da1. (this
number is displayed
as "disk percent load" in systat -vmstat).
e.g., when running
dd if=/dev/zero of=/usr/test & systat -vmstat 2
i get output similar to the following:
Disks da0 da1
KB/t 128 128
tps 83 83
MB/s 10.40 10.40
% busy 30 16
the difference stays at about the same value (30 vs 15-17).
the question is... why is that? :)
--
Deomid Ryabkov aka Rojer
myself@rojer.pp.ru
rojer@sysadmins.ru
ICQ: 8025844
[-- Attachment #2 --]
0 *H
010 + 0 *H
#00U
v0
*H
0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
040331221809Z
050331221809Z0_10URyabkov10
U*Deomid10UDeomid Ryabkov1!0 *H
myself@rojer.pp.ru0"0
*H
0
x?ed:4y h"0$F;O 4{7kU-)A
{ ;qrk,6s+ZȀ&Qvi)ZRu%0 @<r\=/)NK4풓d|$_&aNq!ڨ66.ʺ`WPFmd;,H,ؑPd0!J5Sـd PIK3@]42g
\i3 /0-0U0myself@rojer.pp.ru0U0 0
*H
+~4YXf
DW?%\;҇B2n
Ϸ|Jճ2++fZ7[m~X㽀c6x*2%^LnmoUkQ|Z>?X\uɝp/:00U
v0
*H
0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
040331221809Z
050331221809Z0_10URyabkov10
U*Deomid10UDeomid Ryabkov1!0 *H
myself@rojer.pp.ru0"0
*H
0
x?ed:4y h"0$F;O 4{7kU-)A
{ ;qrk,6s+ZȀ&Qvi)ZRu%0 @<r\=/)NK4풓d|$_&aNq!ڨ66.ʺ`WPFmd;,H,ؑPd0!J5Sـd PIK3@]42g
\i3 /0-0U0myself@rojer.pp.ru0U0 0
*H
+~4YXf
DW?%\;҇B2n
Ϸ|Jճ2++fZ7[m~X㽀c6x*2%^LnmoUkQ|Z>?X\uɝp/:0?0
0
*H
010 UZA10UWestern Cape10U Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0) *H
personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
*H
0 Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr` 00U0 0CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380
*H
HP.
fgCL!6-6/P p<ab:~ t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO1;070i0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA
v0 + 0 *H
1 *H
0 *H
1
050302143706Z0# *H
1դX\bTÆA0R *H
1E0C0
*H
0*H
0
*H
@0+0
*H
(0x +71k0i0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA
v0z*H
1ki0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA
v0
*H
pobT9v-hްy";QiXcj'($/-xR*æsin֗)PvcĽg`wlݤ;.Fhgq"r,⽴YyW:=:"&JTb#cJ̽WY
9kayrWatUE#|
5R+"ڇ-Qq~^z:s8Կh#\KO(3gA`:Σ~۹`2z
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4225CF92.80800>
