Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261555AbVCRKME (ORCPT ); Fri, 18 Mar 2005 05:12:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261536AbVCRKME (ORCPT ); Fri, 18 Mar 2005 05:12:04 -0500 Received: from colin2.muc.de ([193.149.48.15]:27407 "HELO colin2.muc.de") by vger.kernel.org with SMTP id S261555AbVCRKMC (ORCPT ); Fri, 18 Mar 2005 05:12:02 -0500 Date: 18 Mar 2005 11:12:00 +0100 Date: Fri, 18 Mar 2005 11:12:00 +0100 From: Andi Kleen To: Denis Vlasenko Cc: Christoph Lameter , Dave Hansen , Andrew Morton , Linux Kernel Mailing List , Mel Gorman Subject: Re: [PATCH] add a clear_pages function to clear pages of higher order Message-ID: <20050318101200.GA79386@muc.de> References: <1110490683.24355.17.camel@localhost> <200503111008.12134.vda@port.imtp.ilyichevsk.odessa.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200503111008.12134.vda@port.imtp.ilyichevsk.odessa.ua> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 987 Lines: 22 > Andi Kleen (iirc) says that non-temporal stores seem to be > big win in microbenchmarks (and I second that), but they are > a net loss when we are going to use zeroed page just after > zeroing. He recommends avoid using non-temporal stores The rule of thumb is to only use non temporal stores when your data set is bigger than the L2/L3 caches of the CPU. This means >1MB. The kernel normally never works on data sets that big. For Christophers new background cleaner daemon it may be worth it when the queue is a LILO. This means it is likely there is a relatively long time between the clearing operation and a workload using it. But even then it is a very close call and would need clear benchmark numbers in macrobenchmarks. -Andi - 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/