Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 12 Sep 2002 16:34:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 12 Sep 2002 16:34:00 -0400 Received: from 2-028.ctame701-1.telepar.net.br ([200.193.160.28]:14553 "EHLO 2-028.ctame701-1.telepar.net.br") by vger.kernel.org with ESMTP id ; Thu, 12 Sep 2002 16:33:58 -0400 Date: Thu, 12 Sep 2002 17:38:27 -0300 (BRT) From: Rik van Riel X-X-Sender: riel@imladris.surriel.com To: Andrew Morton cc: Rick Lindsley , Subject: Re: [RFC][PATCH] sard changes for 2.5.34 In-Reply-To: <3D80EE1D.34AF4FF2@digeo.com> Message-ID: X-spambait: aardvark@kernelnewbies.org X-spammeplease: aardvark@nl.linux.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1547 Lines: 49 On Thu, 12 Sep 2002, Andrew Morton wrote: > Looks like we can take the disk stats out of kernel_stat, move all > the vm-related things out of kernel_stat into struct page_state and > what's left of kernel_stat? > > unsigned int per_cpu_user[NR_CPUS], > per_cpu_nice[NR_CPUS], > per_cpu_system[NR_CPUS]; [ insert idle and iowait stats here ;) ] > unsigned int irqs[NR_CPUS][NR_IRQS]; > > And that's good, because "kernel statistics" was clearly too > broad a concept. The above is just one concept: interrupts and > scheduler things. Absolutely agreed, this makes things much more manageable. Btw, how about accounting for the number of syscalls made, like some other Unix systems do ? ;) > I'm not sure that I want to add 14 more fields to /proc/meminfo. > So a new /proc/vmstat may appear. We would then have: > > /proc/stat scheduler things > /proc/diskstat disk things > /proc/vmstat vm things Sounds fair, current procps doesn't support the new /proc/stat fields anyway. Let me know what stuff will look like and I'll get procps into gear. regards, Rik -- Bravely reimplemented by the knights who say "NIH". http://www.surriel.com/ http://distro.conectiva.com/ Spamtraps of the month: september@surriel.com trac@trac.org - 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/