Date: Thu, 27 Mar 1997 18:11:08 -0500 From: brianc@netrover.com (Brian Campbell) To: bde@zeta.org.au (Bruce Evans) Subject: Re: binary/resident size Message-ID: <Mutt.19970327181108.brianc@netrover.com> Resent-Message-ID: <199703272311.SAA02651@netrover.com> In-Reply-To: <199703260745.SAA01189@godzilla.zeta.org.au>; from Bruce Evans on Mar 26, 1997 18:45:14 %2B1100 References: <199703260745.SAA01189@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans writes: > >Just for curiousity's sake I built an assembler program that consisted soley > >of "jmp ." (just to keep track of how much idle time has been "wasted". > >I suspect cp_time[CP_IDLE] could tell me the same thing, but not via ps > >or top). > > >What I don't understand is why VSZ is 132k and RSS is 20k. > > > > UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND > > 134 2443 1 333 74 20 132 20 - RN v1- 5502:24.27 idle > > > >It is run as 'idprio 31 nice -20 idle'. > > I get an RSS of 24 under -current. 24 is easy to explain: > > 1 page text > 1 page stack > 1 page page directory > 1 page page table > 2 pages user area > > I don't know what the big VSZ is for. Now that I'm running 2.2.1 I get an RSS of 24 as well. I just re-implemented it as a kernel thread (ala pagedaemon, vmdaemon, etc), but while rebuilding my top binary I noticed an '#ifdef IDLE_PROC'. Does FreeBSD-smp already have something like this?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19970327181108.brianc>