From owner-freebsd-arch Fri Sep 27 16: 6:41 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 47C6F37B401; Fri, 27 Sep 2002 16:06:40 -0700 (PDT) Received: from postman.medtronic.com (postman.medtronic.COM [144.15.157.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5223043E6A; Fri, 27 Sep 2002 16:06:39 -0700 (PDT) (envelope-from ellery.coleman@medtronic.com) Received: from MSPM1BMSGH01.ent.core.medtronic.com (localhost [127.0.0.1]) by postman.medtronic.com (8.10.1/8.10.1) with ESMTP id g8RN6Uw02631; Fri, 27 Sep 2002 18:06:30 -0500 (CDT) Received: from LAXM1BMSGM50.ent.core.medtronic.com ([10.0.20.215]) by MSPM1BMSGH01.ent.core.medtronic.com with Microsoft SMTPSVC(5.0.2195.2966); Fri, 27 Sep 2002 18:06:13 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Memory Allocation Accounting (a conceptual question) Date: Fri, 27 Sep 2002 16:01:37 -0700 Message-ID: <913C3C216F747D4289B2E9151578E9B4390AD9@LAXM1BMSGM50.ent.core.medtronic.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Memory Allocation Accounting (a conceptual question) Thread-Index: AcJmedXL4qfsynEaSAOgZEKG/1eybQ== From: "Coleman, Ellery" To: Cc: X-OriginalArrivalTime: 27 Sep 2002 23:06:14.0043 (UTC) FILETIME=[7A1B06B0:01C2667A] Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hey guys, Can you reference any articles/FAQ's that deal with the following = questions: 1- Does the modern unix kernel (ie. FreeBSD, solaris, linux) implement = Memory Allocation Accounting (MMA)? In my mind, an MMA system would = keep track of how much memory each process has "checked out" and = returned since it began running. So if a proccess checks out 512MB = throughout it's lifetime, and only returns 256MB before it dies, the = kernel would have a record of this. And there would be some command = line tool which enabled users to access this accounting information. =20 2- If modern kernels do not implement MMA, can this info be retrieved by = sifting through the /proc filesystem? (perhaps i could put together a = system memory allocation map using perl to sift through the /proc data?) 3- If i were able to determine that a process had died without returning = all of it's memory, does the modern unix kernel provide a mechanism that = would allow me to retrieve/recycle this wasted memory? If these are stupid questions, or if there are some elementary kernel = design principles that preclude the MMA functionality as i have = described it, please enlighten me. Many Thanks in advance for any = comments/suggestions. best regards, o-> el To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message