Messages in this thread | | | Date | Thu, 06 Dec 2001 13:07:37 +0000 | From | Arjan van de Ven <> | Subject | Re: [Lse-tech] [RFC] [PATCH] Scalable Statistics Counters |
| |
Ravikiran G Thirumalai wrote: > > Hi Niels, > > On Wed, Dec 05, 2001 at 10:02:33AM -0500, Niels Christiansen wrote: > > > > I'm wondering about the scope of this. My Ethernet adapter with, maybe, 20 > > counter fields would have 20 counters allocated for each of my 16 > > processors. > > The only way to get the total would be to use statctr_read() to merge them. > > Same for the who knows how many IP counters etc., etc. > > Are you concerned with increase in memory used per counter Here? I suppose > that must not be that much of an issue for a 16 processor box.... > > > > > How many and which counters were converted for the test you refer to? > > > > Well, I wrote a simple kernel module which just increments a shared global > counter a million times per processor in parallel, and compared it with > the statctr which would be incremented a million times per processor in > parallel..
Would you care to point out a statistic in the kernel that is incremented more than 10.000 times/second ? (I'm giving you a a factor of 100 of playroom here) [One that isn't per-cpu yet of course]
Greetings, Arjan van de Ven - 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/
| |