Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Aug 2008 17:31:28 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        sam <samflanker@gmail.com>
Cc:        Nate Eldredge <neldredge@math.ucsd.edu>, freebsd-hackers@freebsd.org
Subject:   Re: consolekit on 7.0-STABLE i386
Message-ID:  <20080801143128.GJ97161@deviant.kiev.zoral.com.ua>
In-Reply-To: <48931AD1.1090609@gmail.com>
References:  <489036A2.5060403@gmail.com> <Pine.GSO.4.64.0807300254440.11980@zeno.ucsd.edu> <48931AD1.1090609@gmail.com>

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

--DnQ8R2kNBE8VLNdv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=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
> >
> >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".
> >
> How-To-Repeat:
> --------------------------------------------------------------
> # (|cd /usr/ports/sysutils/consolekit/ && make install clean)
>=20
> # /usr/local/etc/rc.d/dbus forcestart
>=20
> # 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
> #
> |--------------------------------------------------------------
>=20
> 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.

--DnQ8R2kNBE8VLNdv
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAkiTHj8ACgkQC3+MBN1Mb4jBdwCdGAvRTa+Yw2z21JSZhq+RiyXP
25EAoJ76XZypXbk4uuCUEA4WLVaF3Yk7
=UY9+
-----END PGP SIGNATURE-----

--DnQ8R2kNBE8VLNdv--



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