From owner-freebsd-hardware@FreeBSD.ORG Mon Mar 11 12:58:46 2013 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6C40874A for ; Mon, 11 Mar 2013 12:58:46 +0000 (UTC) (envelope-from freebsd-hardware@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 054CCF8E for ; Mon, 11 Mar 2013 12:58:45 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UF2Je-0000G6-Ih for freebsd-hardware@freebsd.org; Mon, 11 Mar 2013 13:58:58 +0100 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 ; Mon, 11 Mar 2013 13:58:58 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Mar 2013 13:58:58 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-hardware@freebsd.org From: Ivan Voras Subject: Re: Strange performance problems with I/O subsystem Date: Mon, 11 Mar 2013 13:58:23 +0100 Lines: 64 Message-ID: References: <261461361939965@web1e.yandex.ru> <1256991362726424@web16d.yandex.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig244217C6789B38AEDFE8237C" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:14.0) Gecko/20120812 Thunderbird/14.0 In-Reply-To: <1256991362726424@web16d.yandex.ru> X-Enigmail-Version: 1.4.3 X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Mar 2013 12:58:46 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig244217C6789B38AEDFE8237C Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 08/03/2013 08:07, =D0=93=D1=83=D0=BB=D1=8F=D0=B5=D0=B2 =D0=93=D0=BE=D1= =88=D0=B0 wrote: > 05.03.2013, 23:14, "Ivan Voras" : >=20 > On 27/02/2013 05:39, =D0=93=D1=83=D0=BB=D1=8F=D0=B5=D0=B2 =D0=93=D0= =BE=D1=88=D0=B0 wrote: >=20 > And when I have some intensive I/O tasks (csup -g /root/mysupfile,= > or > portsnap fetch update, or rm -rf /usr/obj, when system working > sequentialy with many files in general) my system begins > periodically > freezes. If I see gstat it shows me 100% I\O on disk. >=20 > It usually means some kind of incompatibility of your disk drive a= nd > the > system, its controller or its driver. > Sometimes it could me that the disk is broken. >=20 > Ivan, thank for answer! I think there is no any hardware problem, > because as I say before, in other OS'es all works fine, without > performance problems. How I can diagnose problem deeply, and maybe g= ive > some useful information for resolving that issue? It is hard to give good general advice in this case. You could maybe see if there are any error messages in your /var/log/messages file. You could also monitor the wchan of the hung process and verify if it's stuck in the "wdrain" state (in "top"). Maybe you could see if there is a problem with interrupts on the machine (either by using "systat -vm" or "vmstat -i"). You could run "iostat -x" and see if the %busy column is 100% while there are many queued requests.= If you install smartmontools, you can run a couple of tests just in case (try smartctl /dev/ada0 and smartctl -t long /dev/ada0). =2E.. but if the problem is an incompatibility with the driver, all this will probably not help you much. --------------enig244217C6789B38AEDFE8237C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlE91O8ACgkQ/QjVBj3/HSywBQCdGOBKIOMYwjJbwFBTmUC2xeBY aWYAnRZHZZq4eRXdMCJfjqB31A0GwDHc =vO61 -----END PGP SIGNATURE----- --------------enig244217C6789B38AEDFE8237C--