Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Aug 2008 13:30:20 +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:  <20080807103020.GS97161@deviant.kiev.zoral.com.ua>
In-Reply-To: <489AABA5.9070602@gmail.com>
References:  <489036A2.5060403@gmail.com> <Pine.GSO.4.64.0807300254440.11980@zeno.ucsd.edu> <48931AD1.1090609@gmail.com> <20080801143128.GJ97161@deviant.kiev.zoral.com.ua> <489AABA5.9070602@gmail.com>

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

--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--



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