Date: Wed, 14 Nov 2007 01:46:40 +0100 From: Kris Kennaway <kris@FreeBSD.org> To: julian@FreeBSD.org, current@FreeBSD.org Subject: Loss of detail from kthreads Message-ID: <473A4570.9020908@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
Hi, Since the conversion from kprocs to kthreads there is a loss of precision in how kernel process names are reported, because they now mostly report the kproc name which is very generic. e.g. if you only use top -S then you only have "idle", "intr" processes, etc. You have to use top -SH, but then you also see the userland threads, and there might be hundreds of them obscuring the kernel threads. Also, ps now only displays the kproc: root 12 100.0 0.0 0 136 ?? RL Sat01PM 6:28.30 [intr] so you can't see which interrupt(s) are using CPU. Finally, I noticed that DDB only displays the kproc name in e.g. allpcpu: cpuid = 1 curthread = 0xcb41da50: pid 12 "intr" curpcb = 0xe992cd90 fpcurthread = none idlethread = 0xc67b7420: pid 11 "idle" APIC ID = 1 currentldt = 0x50 Probably other things are also affected. All of these make kernel analysis and debugging much less convenient, so this seems to me to be a step backwards. Are you still working on fixing these issues? Kris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?473A4570.9020908>