Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 26 Jul 2002 11:47:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 26 Jul 2002 11:47:58 -0400 Received: from e35.co.us.ibm.com ([32.97.110.133]:63985 "EHLO e35.co.us.ibm.com") by vger.kernel.org with ESMTP id ; Fri, 26 Jul 2002 11:47:50 -0400 Date: Fri, 26 Jul 2002 21:24:51 +0530 From: Dipankar Sarma To: Rik van Riel Cc: Ravikiran G Thirumalai , linux-kernel@vger.kernel.org, lse , Richard J Moore , masonmik@us.ibm.com Subject: Re: [Lse-tech] Re: [RFC] Scalable statistics counters using kmalloc_percpu Message-ID: <20020726212451.A19119@in.ibm.com> Reply-To: dipankar@in.ibm.com References: <20020726204033.D18570@in.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from riel@conectiva.com.br on Fri, Jul 26, 2002 at 12:27:40PM -0300 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1280 Lines: 34 On Fri, Jul 26, 2002 at 12:27:40PM -0300, Rik van Riel wrote: > On Fri, 26 Jul 2002, Ravikiran G Thirumalai wrote: > > > Rik, You were interested in using this. Does this implementation suit > > your needs? > > >From a quick glance it looks like it will. > > However, it might be more efficient to put the statistics > in one file in /proc with named fields, or have a way to > group them in one or multiple files. > > Not sure about that, though ... really depends on how > expensive stat+open+read+close is compared to parsing a > file with multiple fields. Hi Rik, It seems that either way it might not have the scalability required for system monitoring software that needs faster access. One of the possibilities is to see if they can be mapped to user space, but that requires significant chage in the percpu allocator. Does this seem like a logical next step for exploration to you ? Thanks -- Dipankar Sarma http://lse.sourceforge.net Linux Technology Center, IBM Software Lab, Bangalore, India. - 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/