home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!sgigate!odin!fido!zola!zuni!tenno.boston.sgi.com!tarolli
- From: tarolli@tenno.boston.sgi.com (Gary Tarolli)
- Newsgroups: comp.sys.sgi
- Subject: Re: TLB miss cost?
- Message-ID: <nr2b0o8@zuni.esd.sgi.com>
- Date: 27 Jul 92 19:19:28 GMT
- References: <1992Jul27.182339.5075@CSD-NewsHost.Stanford.EDU>
- Sender: news@zuni.esd.sgi.com (Net News)
- Organization: Silicon Graphics, Inc.
- Lines: 25
-
- I believe the first level TLB miss cost is 18-20 cycles. There also is
- such a thing as a second level TLB miss. It could also be the case that
- you are missing the data cache. First level misses are in the 10-20 cycle
- range, second level misses are in the 100-150 cycle ranges, depending
- on machine etc.
-
- If the problem is TLB faults and the TLB replacement algorithm is deterministic,
- I would think that the performance would be same all the time regardless of
- position in memory. On the other hand, if the data was
- moved around in memory, some pages might end up conflicting in the data
- cache where they hadn't before, resulting in different number of cache misses
- and therefore performance.
-
- There's also the icache, I've been noticing some peculiar things regarding
- what I believe to be icache misses. Sometimes a benchmark pgm runs slower
- than I expect. Just copying it to another file can temporarily make it run
- fast. Just waiting a few hours or days also makes it run faster or slower.
- I believe the problem is the mapping of virtual pages to physical pages, and
- therefore to the icache. If indeed this is the problem, then the dcache is
- probably affected also.
- ______________________________________________________________________________
- _____ ______ _ _ (508)562-4800 tarolli@sgi.com
- / ___ __ __ / __ __ ___ // // * M/S DER-200
- (____/ (_/_/ (_(_/ / (_/_/ (_(_/ (/_(/_/_
- _/
-