From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,7761b0ffa7286c70 X-Google-Attributes: gid1164f8,public X-Google-Thread: f8a7b,7761b0ffa7286c70 X-Google-Attributes: gidf8a7b,public X-Google-Thread: f8959,7761b0ffa7286c70 X-Google-Attributes: gidf8959,public X-Google-Thread: fdb6e,7761b0ffa7286c70 X-Google-Attributes: gidfdb6e,public X-Google-Thread: 1045b9,7761b0ffa7286c70 X-Google-Attributes: gid1045b9,public X-Google-Thread: 10112a,7761b0ffa7286c70 X-Google-Attributes: gid10112a,public From: pmontgom@cwi.nl (Peter L. Montgomery) Subject: Re: Cache - Where are performance increases realized with increased cache (for scienfic/engineering software)? Date: 1998/03/12 Message-ID: #1/1 X-Deja-AN: 333284790 Sender: news@cwi.nl (The Daily Dross) References: Followup-To: comp.sys.dec Organization: CWI, Amsterdam Newsgroups: sci.engr.analysis,comp.sys.dec,comp.os.ms-windows.nt.setup.hardware,sci.engr,comp.cad.pro-engineer,comp.sys.ibm.pc.hardware.chips (Follow-ups to comp.sys.dec, since original poster asked about Alpha) In article pspopeXSPM@shopchicago.com (Scott Pope) writes: >Where exactly are performance increases realized with a larger cache. The >new Alpha NT machines are being advertised with a 4 meg Level III cache. >Is the integer and floating calculation going to be higher? Is there any >particular routines (e.g. OpenGL) that benefit a great deal from increased >cache. >What exactly is the difference between Level II and Level III cache? The lower the cache level number, the faster you can access it, but the lower levels are smaller (i.e., hold less data). As an analogy, suppose you are a university faculty member with an open book in your hand. Data location Information location Register (fastest) Current page of your book Cache level I Same book, but different page Cache level II Another book in your office Physical memory University library, not checked out Virtual library (slowest) University library, checked out It is easiest to look up a formula or other data if you don't have to go far. Cache level I tends to have recently access data such as earlier pages in the book you're reading or scanning. Cache level II is typically much larger, but slower to access. It might comprise an entire bookcase in your office. Cache level III, when present, is the next hierarchy, perhaps a small departmental library a few offices away. Physical memory is even slower, like walking across campus to a university library. If you reach the university library and find the book is checked out or otherwise unavailable, you must wait even longer, just as when waiting for memory to be swapped in from disk. On a multiprocessor, you may need to request data from another processor. The analogy is having your university library request an inter-library loan from another library. -- Peter-Lawrence.Montgomery@cwi.nl San Rafael, California Q: Why will historians view El Nino as a dignitary? A (backwards): .gnikaerb sdnuorg yreve ta tneserp neeb sah ti esuaceB