From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 7 10:30:25 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 B1819106567B for ; Thu, 7 Aug 2008 10:30:25 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by mx1.freebsd.org (Postfix) with ESMTP id 2DD908FC13 for ; Thu, 7 Aug 2008 10:30:24 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m77AULba046561 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 7 Aug 2008 13:30:21 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m77AULXj016504; Thu, 7 Aug 2008 13:30:21 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m77AUKxP016503; Thu, 7 Aug 2008 13:30:20 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 7 Aug 2008 13:30:20 +0300 From: Kostik Belousov To: sam Message-ID: <20080807103020.GS97161@deviant.kiev.zoral.com.ua> References: <489036A2.5060403@gmail.com> <48931AD1.1090609@gmail.com> <20080801143128.GJ97161@deviant.kiev.zoral.com.ua> <489AABA5.9070602@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cLlE6j+44ygFdGhU" Content-Disposition: inline In-Reply-To: <489AABA5.9070602@gmail.com> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.93.3, clamav-milter version 0.93.3 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua 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 10:30:25 -0000 --cLlE6j+44ygFdGhU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 07, 2008 at 12:00:37PM +0400, sam wrote: > Kostik Belousov wrote: > >On Fri, Aug 01, 2008 at 06:16:49PM +0400, sam wrote: > > =20 > >>Nate Eldredge wrote: > >> =20 > >>>On Wed, 30 Jul 2008, sam wrote: > >>> > >>> =20 > >>>>0 19 0 1113M 29M 112 0 0 0 32 0 0 1 100 5549= =20 > >>>>1682 11 1 88 > >>>>0 19 0 1113M 29M 297 0 0 0 136 0 0 2 122 78880= =20 > >>>>1749 6 7 87 > >>>>|-------------------------------------------------------------------- > >>>> > >>>>consolekit in |waitvt state, influencing on high volumes in procs-b > >>>> =20 > >>>I don't understand what the problem is. It looks like consolekit is= =20 > >>>sleeping and not using any CPU. "waitvt" just indicates where in the= =20 > >>>kernel it's sleeping. I don't understand what you mean by "high=20 > >>>volumes in procs-b". > >>> > >>> =20 > >>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= =20 > >>sy id > >>2 1 0 62252K 644M 88 0 0 0 80 0 0 2 83 279 1 = =20 > >>1 98 > >>0 1 0 62252K 644M 0 0 0 0 0 0 0 4 134 292 0 = =20 > >>3 97 > >>0 1 0 62252K 644M 0 0 0 0 0 0 0 4 123 299 0 = =20 > >>2 98 > >>1 1 0 62252K 644M 0 0 0 0 0 0 0 3 120 305 0 = =20 > >>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= =20 > >>sy id > >>2 1 0 67572K 643M 88 0 0 0 80 0 0 2 83 279 1 = =20 > >>1 98 > >>0 16 0 68660K 643M 103 0 0 0 2 0 10 13 643 381 = =20 > >>2 4 94 > >>0 16 0 68660K 643M 0 0 0 0 0 0 0 3 120 281 = =20 > >>0 4 96 > >>0 16 0 68660K 643M 0 0 0 0 0 0 0 2 120 278 = =20 > >>0 3 97 > >>0 16 0 68660K 643M 0 0 0 0 12 0 28 34 120 385 = =20 > >>0 3 97 > >>0 16 0 68660K 643M 0 0 0 0 0 0 0 4 120 292 = =20 > >>0 3 97 > >>^C > >># > >>|-------------------------------------------------------------- > >> > >>please, any solution ... > >> =20 > > > >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 |" substr= ing > >from it. > > =20 > ok >=20 > Why proc-b on the HEAD, have low values (with working consolekit)? On what revision of HEAD ? I committed the change that causes the thread to sleep on the PZERO+1 priority instead of PZERO as r181286. --cLlE6j+44ygFdGhU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkiazrkACgkQC3+MBN1Mb4iYkACfT8MWlUhFoErlMWJ5+0efqnGV AjMAnAgL64V+YMo5FQ8IcTsxXATpuiJF =e2uI -----END PGP SIGNATURE----- --cLlE6j+44ygFdGhU--