Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 29 Aug 2002 23:38:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 29 Aug 2002 23:38:46 -0400 Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:2821 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id ; Thu, 29 Aug 2002 23:38:45 -0400 Message-ID: <3D6EEC88.F6D0E6D6@zip.com.au> Date: Thu, 29 Aug 2002 20:54:48 -0700 From: Andrew Morton X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.19-rc5 i686) X-Accept-Language: en MIME-Version: 1.0 To: William Lee Irwin III CC: linux-kernel@vger.kernel.org, linux-mm@kvack.org, riel@surriel.com Subject: Re: statm_pgd_range() sucks! References: <20020830015814.GN18114@holomorphy.com> <3D6EDDC0.F9ADC015@zip.com.au> <20020830031208.GK888@holomorphy.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1541 Lines: 36 William Lee Irwin III wrote: > > William Lee Irwin III wrote: > >> (1) shared, lib, text, & total are now reported as what's mapped > >> instead of what's resident. This actually fixes two bugs: > > On Thu, Aug 29, 2002 at 07:51:44PM -0700, Andrew Morton wrote: > > hmm. Personally, I've never believed, or even bothered to try to > > understand what those columns are measuring. Does anyone actually > > find them useful for anything? If so, what are they being used for? > > What info do we really, actually want to know? > > I'm basically looking for VSZ, RSS, %cpu, & pid -- after that I don't > care. Well statistics coming out of the kernel can be quite vital in the tuning of real world applications - they're not just for kernel developers. The stats contribute to the bottom-line performance and stability of the things for which people are actually using the kernel. That's a motherhood statement, I know, but I think it's important. > ... > > Per-vma RSS is trivial, just less self-contained. Everywhere the > mm->rss is touched, the vma to account that to is also known, except > for put_dirty_page(), and that can be repaired as its caller knows. This would provide useful information at a justifiable cost, don't you think? (ho-hum, all right. I'll code it ;)) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/