From: Keir Fraser Subject: Re: performance counters Date: Thu, 15 Mar 2007 15:03:15 +0000 Message-ID: References: <45F9683D.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <45F9683D.76E4.0078.0@novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich , Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 15/3/07 14:37, "Jan Beulich" wrote: >> at least on architectures where we know the resulting incorrectness is not >> 'too bad' (that includes x86). Some of the shared counters are on hot paths. >> Alternatively we could make *all* counters per-cpu, even histogram counter >> arrays. > > To me that would seem like the better alternative than dropping atomicity. It has the added benefit of avoiding cacheline bouncing. It just needs someone to implement this improvement. ;-) -- Keir