From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: [Patch][RFC] Disabling per-tgid stats on task exit in taskstats Date: Thu, 29 Jun 2006 13:00:46 -0700 Message-ID: <20060629130046.c695c6c5.akpm@osdl.org> References: <44892610.6040001@watson.ibm.com> <44999F5A.2080809@watson.ibm.com> <4499D7CD.1020303@engr.sgi.com> <449C2181.6000007@watson.ibm.com> <20060623141926.b28a5fc0.akpm@osdl.org> <449C6620.1020203@engr.sgi.com> <20060623164743.c894c314.akpm@osdl.org> <449CAA78.4080902@watson.ibm.com> <20060623213912.96056b02.akpm@osdl.org> <449CD4B3.8020300@watson.ibm.com> <44A01A50.1050403@sgi.com> <20060626105548.edef4c64.akpm@osdl.org> <44A020CD.30903@watson.ibm.com> <20060626111249.7aece36e.akpm@osdl.org> <44A026ED.8080903@sgi.com> <20060626113959.839d72bc.akpm@osdl.org> <44A2F50D.8030306@engr.sgi.com> <20060628145341.529a61ab.akpm@osdl.org> <44A2FC72.9090407@engr.sgi.com> <20060629014050.d3bf0be4.pj@sgi.com> <200606291230.k5TCUg45030710@turing-police.cc.vt.edu> <20060629094408.360ac157.pj@sgi.com> <20060629110107.2e56310b.akpm@osdl.org> <44A425A7.2060900@watson.ibm.com> <20060629123338.0d355297.akpm@osdl.org> <44A42D6D.6060108@watson.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: pj@sgi.com, Valdis.Kletnieks@vt.edu, jlan@engr.sgi.com, balbir@in.ibm.com, csturtiv@sgi.com, linux-kernel@vger.kernel.org, hadi@cyberus.ca, netdev@vger.kernel.org Return-path: Received: from smtp.osdl.org ([65.172.181.4]:19592 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S932372AbWF2UB0 (ORCPT ); Thu, 29 Jun 2006 16:01:26 -0400 To: Shailabh Nagar In-Reply-To: <44A42D6D.6060108@watson.ibm.com> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Thu, 29 Jun 2006 15:43:41 -0400 Shailabh Nagar wrote: > >Could be so. But we need to understand how significant the impact of this > >will be in practice. > > > >We could find, once this is deployed is real production environments on > >large machines that the data loss is sufficiently common and sufficiently > >serious that the feature needs a lot of rework. > > > >Now there's always a risk of that sort of thing happening with all > >features, but it's usually not this evident so early in the development > >process. We need to get a better understanding of the risk before > >proceeding too far. > > > > > > >And there's always a 100% reliable fix for this: throttling. Make the > >sender of the messages block until the consumer can catch up. > > > Is blocking exits an option ? I think it has to be an option. I'm sure that some peope under some circumstances will just want to collect all the data, thank you very much. And I doubt if it'll be a performance problem for them - the amount of CPU time per exit will be small - if you're exitting at great frequency then the stats collecion overhead rises proportionately. That is to be expected. There will be buffering in the channel, so we'd expect to gather thousands of records per context switch. > > In some > >situations, that is what people will want to be able to do. I suspect a > >good implementation would be to run a collection daemon on each CPU and > >make the delivery be cpu-local. That's sounding more like relayfs than > >netlink. > > > > > Yup...the per-cpu, high speed requirements are up relayfs' alley, unless > Jamal or netlink folks > are planning something (or can shed light on) how large flows can be > managed over netlink. I suspect > this discussion has happened before :-) yeah.