Date: Fri, 23 May 2014 20:39:39 +0000 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: John Baldwin <jhb@freebsd.org> Cc: "current@freebsd.org" <current@freebsd.org> Subject: Re: Change top's notion of idle processes / threads Message-ID: <9764.1400877579@critter.freebsd.dk> In-Reply-To: <201405231605.26312.jhb@freebsd.org> References: <201405231605.26312.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <201405231605.26312.jhb@freebsd.org>, John Baldwin writes: >In essence, top will consider any thread that has run on a CPU >since the last update as non-idle. Sounds a lot more usable than the current heuristic. Wouldn't ki_rusage.ru_n[i]vcsw be more correct than ki_runtime ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9764.1400877579>