From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 7 08:00:46 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CFAB106564A for ; Thu, 7 Aug 2008 08:00:46 +0000 (UTC) (envelope-from samflanker@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id 020C88FC1F for ; Thu, 7 Aug 2008 08:00:44 +0000 (UTC) (envelope-from samflanker@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so452843fgb.35 for ; Thu, 07 Aug 2008 01:00:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=j4DVhNcBUlOFuFOTf/Ps4aVQpXGlkUBRw5lQZyvqtWM=; b=ix6QDzs8tkXTJnVToS2sEGEv9HTLh1wip04uKytTnUFqR+1YkVG3bb4PqC5vl8g6IR e8WM1PNbRLOTPdBiO8qIGT6NeGPOZyO8iRuFaTLQPSBcSWuEXV5WBkR/qATEsKaP6PTE 95318zw8pWf+cUEbytKluYMwvsfVc5d/iCaSg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=k9fvnzGpAOPYnM7F93Qo/sfwcpAhAzoolPQE82s9BedMPhARDTXqQXRBURPMhbrnHQ OA/i0qhSnpeKvyn8B1nyvYPOrkF2Y8eMGC+6dc9rm8jwJAQFB1zOBTGqfjRLXWM2SiYa TbXaAkYaQmm89AvykTVzeDHdnf3bwbT6q0mMc= Received: by 10.86.4.14 with SMTP id 14mr1497040fgd.20.1218096043575; Thu, 07 Aug 2008 01:00:43 -0700 (PDT) Received: from ?192.168.1.107? ( [213.152.137.38]) by mx.google.com with ESMTPS id 4sm4999298fge.5.2008.08.07.01.00.41 (version=SSLv3 cipher=RC4-MD5); Thu, 07 Aug 2008 01:00:42 -0700 (PDT) Message-ID: <489AABA5.9070602@gmail.com> Date: Thu, 07 Aug 2008 12:00:37 +0400 From: sam User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: Kostik Belousov References: <489036A2.5060403@gmail.com> <48931AD1.1090609@gmail.com> <20080801143128.GJ97161@deviant.kiev.zoral.com.ua> In-Reply-To: <20080801143128.GJ97161@deviant.kiev.zoral.com.ua> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: Nate Eldredge , freebsd-hackers@freebsd.org Subject: Re: consolekit on 7.0-STABLE i386 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2008 08:00:46 -0000 Kostik Belousov wrote: > On Fri, Aug 01, 2008 at 06:16:49PM +0400, sam wrote: > >> Nate Eldredge wrote: >> >>> On Wed, 30 Jul 2008, sam wrote: >>> >>> >>>> 0 19 0 1113M 29M 112 0 0 0 32 0 0 1 100 5549 >>>> 1682 11 1 88 >>>> 0 19 0 1113M 29M 297 0 0 0 136 0 0 2 122 78880 >>>> 1749 6 7 87 >>>> |-------------------------------------------------------------------- >>>> >>>> consolekit in |waitvt state, influencing on high volumes in procs-b >>>> >>> I don't understand what the problem is. It looks like consolekit is >>> sleeping and not using any CPU. "waitvt" just indicates where in the >>> kernel it's sleeping. I don't understand what you mean by "high >>> volumes in procs-b". >>> >>> >> How-To-Repeat: >> -------------------------------------------------------------- >> # (|cd /usr/ports/sysutils/consolekit/ && make install clean) >> >> # /usr/local/etc/rc.d/dbus forcestart >> >> # vmstat -w 1 >> procs memory page disk faults cpu >> r b w avm fre flt re pi po fr sr ad0 in sy cs us >> sy id >> 2 1 0 62252K 644M 88 0 0 0 80 0 0 2 83 279 1 >> 1 98 >> 0 1 0 62252K 644M 0 0 0 0 0 0 0 4 134 292 0 >> 3 97 >> 0 1 0 62252K 644M 0 0 0 0 0 0 0 4 123 299 0 >> 2 98 >> 1 1 0 62252K 644M 0 0 0 0 0 0 0 3 120 305 0 >> 3 97 >> ^C >> # /usr/local/sbin/console-kit-daemon && vmstat -w 1 >> procs memory page disk faults cpu >> r b w avm fre flt re pi po fr sr ad0 in sy cs us >> sy id >> 2 1 0 67572K 643M 88 0 0 0 80 0 0 2 83 279 1 >> 1 98 >> 0 16 0 68660K 643M 103 0 0 0 2 0 10 13 643 381 >> 2 4 94 >> 0 16 0 68660K 643M 0 0 0 0 0 0 0 3 120 281 >> 0 4 96 >> 0 16 0 68660K 643M 0 0 0 0 0 0 0 2 120 278 >> 0 3 97 >> 0 16 0 68660K 643M 0 0 0 0 12 0 28 34 120 385 >> 0 3 97 >> 0 16 0 68660K 643M 0 0 0 0 0 0 0 4 120 292 >> 0 3 97 >> ^C >> # >> |-------------------------------------------------------------- >> >> please, any solution ... >> > > Solution for what ? There is nothing wrong with the system. > > For the purely estetisk purpose, you may look up the line > tsleep(VTY_WCHAN(sc, i), PZERO | PCATCH, "waitvt", 0); > or similar in sys/dev/syscons/syscons.c, and remove the "PZERO |" substring > from it. > ok Why proc-b on the HEAD, have low values (with working consolekit)? /Vladimir Ermakov