From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,f9dc4c274aad13e4 X-Google-Attributes: gid111c93,public From: bmeyer@bruce.cs.monash.edu.au Subject: Re: Why is our Alpha box so slow? Date: 1998/08/14 Message-ID: <6r2ka9$kb5$1@wombat.cs.monash.edu.au>#1/1 X-Deja-AN: 381102660 References: <6pv2mq$17v$1@mips.rhein-neckar.de> <6q55em$a58$1@mips.rhein-neckar.de> <6q6e4j$8c3$1@palladium.transmeta.com> Organization: This is innd taking over... Reply-To: bmeyer@bruce.cs.monash.edu.au NNTP-Posting-Date: Sat, 15 Aug 1998 00:06:20 EST Newsgroups: comp.os.linux.alpha torvalds@transmeta.com (Linus Torvalds) writes: >You may have 1MB of L2 cache, but it's direct-mapped and physical, and >Linux (for good reasons) doesn't try to colour it. So depending on how >your physical pages get spread out in memory you can't cache it all. Which brings up a question.... Is there some way to do request memory that maps to certain parts in the caches? Or at least to find out the relevant address bits of some memory after having allocated it? And if so, is there any way (hopefully short of mlock()ing everything) to make it stay there? Maybe even portably for the 21064/066/164? I am asking because I am playing around with UAE, the Amiga emulator, and it is somehow disconcerting to get massively different benchmark results when starting the exact same piece of software twice. There are a few data structures which are used extensively, and I suspect on the slow runs, they are kicking each other out of the caches.... Bernie -- ============================================================================ "It's a magical world, Hobbes ol' buddy... ...let's go exploring" Calvin's final words, on December 31st, 1995