Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758265AbYC0DAj (ORCPT ); Wed, 26 Mar 2008 23:00:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755587AbYC0DAL (ORCPT ); Wed, 26 Mar 2008 23:00:11 -0400 Received: from ozlabs.org ([203.10.76.45]:33461 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754309AbYC0DAK (ORCPT ); Wed, 26 Mar 2008 23:00:10 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18411.3504.486805.813472@cargo.ozlabs.ibm.com> Date: Thu, 27 Mar 2008 14:00:00 +1100 From: Paul Mackerras To: Christoph Lameter Cc: Andi Kleen , David Miller , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, torvalds@linux-foundation.org Subject: Re: larger default page sizes... In-Reply-To: References: <20080321.145712.198736315.davem@davemloft.net> <20080324.133722.38645342.davem@davemloft.net> <18408.29107.709577.374424@cargo.ozlabs.ibm.com> <87wsnrgg9q.fsf@basil.nowhere.org> <18409.56843.909298.717089@cargo.ozlabs.ibm.com> X-Mailer: VM 7.19 under Emacs 21.4.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 802 Lines: 19 Christoph Lameter writes: > One should emphasize that this test was a kernel compile which is not > a load that gains much from larger pages. 4k pages are mostly okay for > loads that use large amounts of small files. It's also worth emphasizing that 1.5% of the total time, or 21% of the system time, is pure software overhead in the Linux kernel that has nothing to do with the TLB or with gcc's memory access patterns. That's the cost of handling memory in small (i.e. 4kB) chunks inside the generic Linux VM code, rather than bigger chunks. Paul. -- 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/