Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Oct 2010 23:42:42 +0300
From:      =?utf-8?B?0JrQvtC90YzQutC+0LIg0JXQstCz0LXQvdC40Lk=?= <kes-kes@yandex.ru>
To:        "b. f." <bf1783@googlemail.com>
Cc:        bf1783@gmail.com, freebsd-questions@FreeBSD.org
Subject:   Re[2]: How to obtain which interrupts cause system to hang?
Message-ID:  <1673286593.20101009234242@yandex.ru>
In-Reply-To: <AANLkTi=tFakKntTDqDwboSM%2BNhUCcq=zGy3v5og98Z0x@mail.gmail.com>
References:  <AANLkTi=tFakKntTDqDwboSM%2BNhUCcq=zGy3v5og98Z0x@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Здравствуйте, b..

Вы писали 9 октября 2010 г., 21:45:07:

>> How to obtain what nasty happen, which process take 36-50% of CPU
>> resource?

bf> It partly depends upon the version of the OS that you are running,
bf> your hardware, and your configuration. 2008 interrupts/sec is high,
bf> but not improbably so, for kern.hz>=1000, and not beyond the
bf> capabilities of today's average computer, although it may not be
bf> optimal for your workloads.  So it may not actually be a problem with
bf> too many interrupts, but rather with some erroneous system accounting.
bf>  This can happen, for example, if your computer is using some of the
bf> deeper power-saving C-states, but using them poorly, as for example
bf> in:

bf> http://lists.freebsd.org/pipermail/freebsd-current/2010-August/019383.html

bf> So you may want to examine, and perhaps adjust, your choice of kernel
bf> timers, kern.hz, and power-saving settings.  Device polling can also
bf> be a factor, if you are using it.

system is one processor

vpn_shadow# uname -a
FreeBSD vpn_shadow.in 7.3-RELEASE-p2 FreeBSD 7.3-RELEASE-p2 #3: Mon Jul 26 01:56:03 EEST 2010     kes@in:/usr/obj/usr/src/sys/vpn  amd64

kern.hz is 2000, Interrupts 1984 total is ok
polling is enabled. Server runs about 6month and...
and now it has interrupts: 13.5% system, 47.7% interrupt

I can not imaginge what happen, in /var/log/* is silent... all is ok as usual.

Network while that is happening is unstable. ping on 100Mbit link is 60ms.

-- 
С уважением,
 Коньков                          mailto:kes-kes@yandex.ru




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