Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 18 Mar 2002 21:10:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 18 Mar 2002 21:10:45 -0500 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:61451 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Mon, 18 Mar 2002 21:10:36 -0500 Date: Mon, 18 Mar 2002 18:08:17 -0800 (PST) From: Linus Torvalds To: "David S. Miller" cc: , Subject: Re: 7.52 second kernel compile In-Reply-To: <20020318.162031.98995076.davem@redhat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 18 Mar 2002, David S. Miller wrote: > > Or maybe the program is just flawed, and the interesting 1/8 pattern comes > from something else altogether. > > I think the weird Athlon behavior has to do with the fact that > you've made your little test program as much of a cache tester > as a TLB tester :-) Oh, I was assuming that malloc(BIG) would do a mmap() of MAP_ANONYMOUS, which should make all the pages 100% shared, and thus basically zero cache overhead on a physically indexed machine like an x86. So it was designed to reall yonly stress the TLB, not the regular caches. Although I have to admit that I didn't actually _test_ that hypothesis. Linus - 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/