Kostik Belousov wrote:
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:
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)?
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.
thx
it works
------------------------------------------------------------------------
# output 'top' (part)
958 root 1 4 0 3096K 872K - 0 0:00 0.00% nfsd
960 root 1 4 0 3096K 872K - 1 0:00 0.00% nfsd
959 root 1 4 0 3096K 872K - 1 0:00 0.00% nfsd
96619 root 17 1 0 7984K 3324K waitvt 1 0:00 0.00%
console-kit-daemon
# /usr/local/sbin/console-kit-daemon && vmstat 1
procs memory page disk faults cpu
r b w avm fre flt re pi po fr sr ad4 in sy cs us
sy id
2 1 1 129M 1552M 293 0 0 0 269 0 0 40 267 826 0
0 99
0 1 0 132M 1551M 58 0 0 0 2 0 0 29 541 591 0
1 99
0 1 0 132M 1551M 0 0 0 0 0 0 0 29 155 492 0
0 100
# uname -a
FreeBSD 7.0-STABLE FreeBSD 7.0-STABLE #5: Tue Aug 12 13:54:27 MSD 2008
root@:/usr/obj/usr/src/sys/GENERIC i386
------------------------------------------------------------------------
/Vladimir Ermakov
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"