Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2013 13:58:23 +0100
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-hardware@freebsd.org
Subject:   Re: Strange performance problems with I/O subsystem
Message-ID:  <khkkdc$f7m$1@ger.gmane.org>
In-Reply-To: <1256991362726424@web16d.yandex.ru>
References:  <261461361939965@web1e.yandex.ru> <kh594r$v3g$2@ger.gmane.org> <1256991362726424@web16d.yandex.ru>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 08/03/2013 08:07, Гуляев Гоша wrote:
>    05.03.2013, 23:14, "Ivan Voras" <ivoras@freebsd.org>:
> 
>      On 27/02/2013 05:39, Гуляев Гоша wrote:
> 
>      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.
> 
>      It usually means some kind of incompatibility of your disk drive and
>      the
>      system, its controller or its driver.
>      Sometimes it could me that the disk is broken.
> 
>    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 give
>    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).

... but if the problem is an incompatibility with the driver, all this
will probably not help you much.


[-- Attachment #2 --]
-----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-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?khkkdc$f7m$1>