Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Aug 2008 18:04:33 +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:  <20080801150433.GK97161@deviant.kiev.zoral.com.ua>
In-Reply-To: <48931FD5.1050604@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> <48931FD5.1050604@gmail.com>

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

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

On Fri, Aug 01, 2008 at 06:38:13PM +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
> high volumes in proc-b - normal ?

This is a counter of the processes sleeping with a priority less or equal
to the PZERO. Each waitvt sleep is performed with the priority PZERO, and
each process sleeping on waitvt counts in the "proc-b".

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

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

iEYEARECAAYFAkiTJgEACgkQC3+MBN1Mb4g+HQCg5u1oOXD5oTrK1vGamHc7G8xd
9+0AoL8ZMgv9L2B/i9h3MaLss4A8GoHb
=mXsO
-----END PGP SIGNATURE-----

--ZcSASNCKFtrdv99s--



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