From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102b75,45b50f14dadfce5b X-Google-Attributes: gid102b75,public X-Google-Thread: 110292,45b50f14dadfce5b X-Google-Attributes: gid110292,public X-Google-Thread: 1164f8,45b50f14dadfce5b X-Google-Attributes: gid1164f8,public From: Jason.Ozolins@anu.edu.au Subject: Re: Final kick at the "Merced Guessing Game" Date: 1997/10/20 Message-ID: <62eosi$60r$1@clarion.carno.net.au>#1/1 X-Deja-AN: 281915411 References: <61g30t$o2n@news-rocq.inria.fr> <343CE2F4.362D80F0@tonys.ecology.umn.edu> <343EF1C9.61670DFC@tonys.ecology.umn.edu> <343FAA72.2ED97125@acm.org> <61tnd5$6m8@usenet.srv.cis.pitt.edu> <61uvsh$br0$1@goanna.cs.rmit.edu.au> <34452746.3F9BC63B@boo.boo> Newsgroups: comp.sys.intel,comp.arch,comp.sys.dec [Finally, Boo actually defines what the hell he/she/it is talking about] In <34452746.3F9BC63B@boo.boo> boo writes: >Ok, now let me discuss where MY use of the word "dimensional". Say >for example, you are working with a 3D or 4D "array", representing >space or space-time. The actual symmetries of spacetime are >reflected in the fact that you would do best with a memory system >in which access is equally fast no matter which axis you are >doing access along. (If you want specifics, imagine some kind >of a N-dimensional 3rd order derivative operator, requiring >information from neigboring points in the 2N directions). >When I said "memory is not multi-dimensional", I meant "memory >access is not equally fast along all axes of a multi-dimensional >array". Of course it is not!! Some points are in the cache, >some may be stored in registers from some previous calculation, >some are in main memory, some may be on another node in some >MPP supercomputer. Right! So now I know that the Commodore 64 I used to own (which had exactly the same latency and bandwidth to memory no matter what pattern it was accessed in) had "multi-dimensional" memory! Cool! And my BBC Micro, and Amiga 500, and that old 286 in the cupboard too. Amazing. In fact, I can make my Pentium 200 PC clone have a close approximation to "multi-dimensional" memory by turning off the internal and external cache. How incredibly special. If you want a higher-performance machine with similar attributes for certain classes of application then you should break open your piggybank and go talk to Tera. > I know that high performance fortran actually >usually does an excellent job of optimizing the calculations, >but my personal experience is that I can usually do better >by really thinking hard, and coming up with an algorithm that >realizes that the various ONE-DIMENSIONAL components of the >memory system are utilized in an optimal manner. And as I said >elsewhere, most people don't need to bother wasting their time >on this kind of optimization, but for me, doing so can reduce >a simulation from one month down to one week, on a 300 Gflop >supercomputer that I have very limited resources on. Is that one month for a version of the simulation written in non-optimized C or for a version written in FORTRAN? :-) >It is amazing that almost everyone jumped on my statement that >memory is not multi-dimensional with absurds comments about the >"multi-dimensional structure of memory hardware". I suggest you >all replace "dimensional" with "component" in the above phrase, >to which I reply: > > DUH To which I reply: Use terminology known to more people than your own good self and you stand a much greater chance of being understood. Now your actual point is made clear, it turns out to be totally uncontroversial - arbitrary access patterns tend to be less efficient than unit-stride accesses. Ho hum. __________________________________________________________________________ Jason Ozolins (Jason.Ozolins@anu.edu.au) | Put your hands over your eyes. Teaching and Learning Technology Support | Jump out of the plane. Unit, Australian National University | There is no pilot. My opinions, not ANU's. | You are not alone. --