From owner-freebsd-geom@FreeBSD.ORG Thu Mar 29 12:42:56 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 20A9516A400 for ; Thu, 29 Mar 2007 12:42:56 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id A482F13C459 for ; Thu, 29 Mar 2007 12:42:55 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HWtxn-0002xQ-I0 for freebsd-geom@freebsd.org; Thu, 29 Mar 2007 14:42:47 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 29 Mar 2007 14:42:47 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 29 Mar 2007 14:42:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-geom@freebsd.org From: Ivan Voras Date: Thu, 29 Mar 2007 14:42:32 +0200 Lines: 52 Message-ID: References: <003401c7712a$f71ebb60$6502a8c0@peteruj> <005c01c77134$28e0fce0$6502a8c0@peteruj><86zm5xph7o.fsf@dwp.des.no> <005301c771e4$bb0a3900$6502a8c0@peteruj> <86lkhg5oz5.fsf@dwp.des.no> <007c01c771fe$805b2fc0$6502a8c0@peteruj> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig3681B5D0626F389387AA5E67" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 1.5.0.10 (X11/20060911) In-Reply-To: <007c01c771fe$805b2fc0$6502a8c0@peteruj> X-Enigmail-Version: 0.94.2.0 Sender: news Subject: Re: raid3 is slow 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: Thu, 29 Mar 2007 12:42:56 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3681B5D0626F389387AA5E67 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Szab=C3=B3 P=C3=A9ter wrote: >>> After a few minutes > PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND > 4 root 1 -8 0 0K 8K - 42:47 53.27% g_down > 15400 root 1 -8 0 0K 8K - 82:18 19.38% g_bde=20 > raid3/nmivole > 11 root 1 171 52 0K 8K RUN 968:44 12.60% idle > 3 root 1 -8 0 0K 8K - 22:12 3.03% g_up > 19970 root 1 -16 0 3400K 1772K wdrain 1:12 2.93% dd > 40 root 1 -8 0 0K 8K r3:w1 36:18 1.07% g_raid3 = > nmivol > It seems terible!!! g_down gets more and more and more WCPU, and the=20 > load goes to the skies. I don't know, what should i think. Now i can=20 > see, at the end i will change the raid3 to stripe ;) But i don't want t= o :( Also one of the "shouldn't happen" things - g_down is (roughly) the=20 kernel thread that dispatches IO requests from the file system to the=20 lower level devices, gbde and graid3 in your case. It's strange that it=20 consumes that much CPU - it may mean that one of the GEOM classes is=20 being unusually slow in offloading requests to its own thread, or that=20 there's an unusual number of small requests bouncing between them. Try=20 running 'gstat' during this test and post some results. If you have the time, also try using geli instead of gbde, just to=20 experiment. --------------enig3681B5D0626F389387AA5E67 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFGC7Q4ldnAQVacBcgRArf5AJ9IPeJ/9y5c1XyFEH4GSr2nzfPDlQCcDaM+ /aH0Btx3xWPBMFmsjFnAq5Y= =DivZ -----END PGP SIGNATURE----- --------------enig3681B5D0626F389387AA5E67--