On 6/30/07, Ulrich Spoerlein <uspoerlein_at_gmail.com> wrote: > > Hi all, > > I upgraded to -CURRENT and am running with SCHED_BSD on an UP machine > (where ULE has no advantage over BSD, right?) > > Anyway, I never noticed top(1) under 6.x reporting more than 1 running > process, which is only natural, considering this is an UP machine. Under > 7.x however, top(1) reports up to 7-8 running processes, depending on > how much stuff is going on. > > Is top(1) lying, or is/was my assumption about UP wrong all along? Keep in mind, technically speaking, on a UP system, when top refreshes.... its the only running process, and its using 100% of the CPU. ;) top/uptime/etc all use a small period of time, I believe, and under UP, the maximum number of running processes under top would be topsampletime / min_slice - 1. A process waiting in the run queue is reported as "running" as well, as I recall, in which case the number of "running" processes under top would be, at most, the maximum size of the run queue. Hopefully this is helpful (and correct), I haven't looked inside top in quite awhile. --- Harrison Cheers, > Ulrich Spoerlein > > PS: whats the new state 'ucond' all about? > -- > "The trouble with the dictionary is you have to know how the word is > spelled before you can look it up to see how it is spelled." > -- Will Cuppy > _______________________________________________ > freebsd-current_at_freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org" >Received on Sat Jun 30 2007 - 15:06:44 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:13 UTC