From owner-freebsd-current@FreeBSD.ORG Mon Jul 19 05:06:09 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9320C1065677 for ; Mon, 19 Jul 2010 05:06:09 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 31D128FC15 for ; Mon, 19 Jul 2010 05:06:08 +0000 (UTC) Received: (qmail 5983 invoked by uid 399); 19 Jul 2010 05:06:07 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 19 Jul 2010 05:06:07 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4C43DD3E.2000306@FreeBSD.org> Date: Sun, 18 Jul 2010 22:06:06 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 MIME-Version: 1.0 To: Kostik Belousov References: <20100717192128.GM2381@deviant.kiev.zoral.com.ua> <20100718103003.GO2381@deviant.kiev.zoral.com.ua> <4C43541C.3060101@FreeBSD.org> <20100718194109.GU2381@deviant.kiev.zoral.com.ua> In-Reply-To: <20100718194109.GU2381@deviant.kiev.zoral.com.ua> X-Enigmail-Version: 1.1.1 OpenPGP: id=1A1ABC84 Content-Type: multipart/mixed; boundary="------------010103000800080501030401" Cc: freebsd-current@freebsd.org, Rui Paulo Subject: Re: Why is intr taking up so much cpu? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2010 05:06:09 -0000 This is a multi-part message in MIME format. --------------010103000800080501030401 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 07/18/10 12:41, Kostik Belousov wrote: > On Sun, Jul 18, 2010 at 12:21:00PM -0700, Doug Barton wrote: >> On 07/18/10 03:30, Kostik Belousov wrote: >>> On Sun, Jul 18, 2010 at 01:14:41AM -0700, Doug Barton wrote: >>>> On Sat, 17 Jul 2010, Kostik Belousov wrote: >>>> >>>>> Run top in the mode where all system threads are shown separately >>>>> (e.g. top -HS seems to do it), then watch what thread eats the processor. >>>> >>>> And the winner is! >>>> >>>> 11 root -32 - 0K 168K WAIT 0 0:28 18.02% {swi4: >>>> clock} >>>> 11 root 21 -64 - 0K 168K WAIT 0 1:17 18.90% intr >>>> >>>> The first is with -H, the second without. >>> >>> Most likely it is some callout handling. Just in case, do you have >>> console screensaver active ? >> >> I assume you mean "saver=yes" in rc.conf, and the answer is no, I am not >> using that. Usually I run xscreensaver, but at the time this happened I >> was not. I do have DPMS enabled in my X config though. >> >> Any suggestions on how to dig deeper on this? Are there any settings I >> can twiddle to try and mitigate it? > When intr time starts accumulating again, try to do > "procstat -kk " and correlate the clock thread tid > with the backtrace. Might be, it helps to guess what callouts are eating > the CPU. Ok, file attached. -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ Computers are useless. They can only give you answers. -- Pablo Picasso --------------010103000800080501030401 Content-Type: text/plain; name="procstat-kk.out" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="procstat-kk.out" ICBQSUQgICAgVElEIENPTU0gICAgICAgICAgICAgVEROQU1FICAgICAgICAgICBLU1RBQ0sg ICAgICAgICAgICAgICAgICAgICAgIAogICAxMSAxMDAwMDQgaW50ciAgICAgICAgICAgICBz d2kxOiBuZXRpc3IgMCAgIG1pX3N3aXRjaCsweDIwMCBpdGhyZWFkX2xvb3ArMHgxZGEgZm9y a19leGl0KzB4YjggZm9ya190cmFtcG9saW5lKzB4OCAKICAgMTEgMTAwMDA1IGludHIgICAg ICAgICAgICAgc3dpNDogY2xvY2sgICAgICBtaV9zd2l0Y2grMHgyMDAgaXRocmVhZF9sb29w KzB4MWRhIGZvcmtfZXhpdCsweGI4IGZvcmtfdHJhbXBvbGluZSsweDggCiAgIDExIDEwMDAw NiBpbnRyICAgICAgICAgICAgIHN3aTQ6IGNsb2NrICAgICAgbWlfc3dpdGNoKzB4MjAwIGl0 aHJlYWRfbG9vcCsweDFkYSBmb3JrX2V4aXQrMHhiOCBmb3JrX3RyYW1wb2xpbmUrMHg4IAog ICAxMSAxMDAwMDcgaW50ciAgICAgICAgICAgICBzd2kzOiB2bSAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgCiAgIDExIDEwMDAxNCBpbnRyICAgICAgICAgICAgIHN3 aTY6IEdpYW50IHRhc2sgbWlfc3dpdGNoKzB4MjAwIGl0aHJlYWRfbG9vcCsweDFkYSBmb3Jr X2V4aXQrMHhiOCBmb3JrX3RyYW1wb2xpbmUrMHg4IAogICAxMSAxMDAwMTUgaW50ciAgICAg ICAgICAgICBzd2k2OiB0YXNrIHF1ZXVlIG1pX3N3aXRjaCsweDIwMCBpdGhyZWFkX2xvb3Ar MHgxZGEgZm9ya19leGl0KzB4YjggZm9ya190cmFtcG9saW5lKzB4OCAKICAgMTEgMTAwMDIw IGludHIgICAgICAgICAgICAgc3dpMjogY2FtYmlvICAgICBtaV9zd2l0Y2grMHgyMDAgaXRo cmVhZF9sb29wKzB4MWRhIGZvcmtfZXhpdCsweGI4IGZvcmtfdHJhbXBvbGluZSsweDggCiAg IDExIDEwMDAyMSBpbnRyICAgICAgICAgICAgIHN3aTU6ICsgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAKICAgMTEgMTAwMDIyIGludHIgICAgICAgICAgICAgaXJx OTogYWNwaTAgICAgICBtaV9zd2l0Y2grMHgyMDAgaXRocmVhZF9sb29wKzB4MWRhIGZvcmtf ZXhpdCsweGI4IGZvcmtfdHJhbXBvbGluZSsweDggCiAgIDExIDEwMDAyMyBpbnRyICAgICAg ICAgICAgIGlycTE2OiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAK ICAgMTEgMTAwMDI0IGludHIgICAgICAgICAgICAgaXJxMjU2OiBoZGFjMCAgICBtaV9zd2l0 Y2grMHgyMDAgaXRocmVhZF9sb29wKzB4MWRhIGZvcmtfZXhpdCsweGI4IGZvcmtfdHJhbXBv bGluZSsweDggCiAgIDExIDEwMDAyNiBpbnRyICAgICAgICAgICAgIGlycTE3OiB3cGkwICAg ICAgbWlfc3dpdGNoKzB4MjAwIGl0aHJlYWRfbG9vcCsweDFkYSBmb3JrX2V4aXQrMHhiOCBm b3JrX3RyYW1wb2xpbmUrMHg4IAogICAxMSAxMDAwMjcgaW50ciAgICAgICAgICAgICBpcnEy MDogaHBldDAgdWhjIG1pX3N3aXRjaCsweDIwMCBpdGhyZWFkX2xvb3ArMHgxZGEgZm9ya19l eGl0KzB4YjggZm9ya190cmFtcG9saW5lKzB4OCAKICAgMTEgMTAwMDMyIGludHIgICAgICAg ICAgICAgaXJxMjE6IHVoY2kxICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAog ICAxMSAxMDAwMzcgaW50ciAgICAgICAgICAgICBpcnEyMjogdWhjaTIgICAgIG1pX3N3aXRj aCsweDIwMCBpdGhyZWFkX2xvb3ArMHgxZGEgZm9ya19leGl0KzB4YjggZm9ya190cmFtcG9s aW5lKzB4OCAKICAgMTEgMTAwMDQyIGludHIgICAgICAgICAgICAgaXJxMjM6IHVoY2kzICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAxMSAxMDAwNTIgaW50ciAgICAg ICAgICAgICBpcnExNDogYXRhMCAgICAgIG1pX3N3aXRjaCsweDIwMCBpdGhyZWFkX2xvb3Ar MHgxZGEgZm9ya19leGl0KzB4YjggZm9ya190cmFtcG9saW5lKzB4OCAKICAgMTEgMTAwMDUz IGludHIgICAgICAgICAgICAgaXJxMTU6IGF0YTEgICAgICBtaV9zd2l0Y2grMHgyMDAgaXRo cmVhZF9sb29wKzB4MWRhIGZvcmtfZXhpdCsweGI4IGZvcmtfdHJhbXBvbGluZSsweDggCiAg IDExIDEwMDA1NSBpbnRyICAgICAgICAgICAgIGlycTE6IGF0a2JkMCAgICAgbWlfc3dpdGNo KzB4MjAwIGl0aHJlYWRfbG9vcCsweDFkYSBmb3JrX2V4aXQrMHhiOCBmb3JrX3RyYW1wb2xp bmUrMHg4IAogICAxMSAxMDAwNTYgaW50ciAgICAgICAgICAgICBpcnExMjogcHNtMCAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgIDExIDEwMDA1NyBpbnRyICAgICAg ICAgICAgIHN3aTA6IHVhcnQgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAK --------------010103000800080501030401--