Re: The effect of cache on performance
Tommy Brett <[email protected]> Mon, 5 Jul 2010 15:14:08 -0400
| Newsgroups | gmane.games.devel.sweng |
|---|---|
| Message-ID | <[email protected]> |
If a cache miss happens in a program and no profiler is there to see it, does it really happen? On Mon, Jul 5, 2010 at 2:49 PM, Jon Watte <[email protected]> wrote: > Do you really think there's such a thing as "right," unless you're >> talking directly observable physical phenomena? >> > > Aaand that was supposed to be reply to Richard only. Please let's not have > a metaphysical discussion on this list, OK? :-) > > Sincerely, > > jw > > -- > Americans might object: there is no way we would sacrifice our living > standards for the benefit of people in the rest of the world. Nevertheless, > whether we get there willingly or not, we shall soon have lower consumption > rates, because our present rates are unsustainable. > > > > On Mon, Jul 5, 2010 at 11:48 AM, Jon Watte <[email protected]> wrote: > >> Just because the world is full of people that think just like you, >>> doesn't mean the other ones can't be right. >>> >> >> Do you really think there's such a thing as "right," unless you're talking >> directly observable physical phenomena? >> >> Sincerely, >> >> jw >> >> >> -- >> Americans might object: there is no way we would sacrifice our living >> standards for the benefit of people in the rest of the world. Nevertheless, >> whether we get there willingly or not, we shall soon have lower consumption >> rates, because our present rates are unsustainable. >> >> >> >> On Thu, Jul 1, 2010 at 1:12 AM, Richard Fabian <[email protected]>wrote: >> >>> Any development approach where you don't consider the effect of the cache >>> is going to have inferior performance to one that either implicitly, or >>> explicitly, takes advantage of the cache. >>> >>> I do feel like we've been taught a lot of really good coding techniques >>> that have ignored this issue. It doesn't mean that the code oriented >>> techniques aren't good, for fast memory hardware our coding style and >>> experience is invaluable. >>> >>> >>> On 1 July 2010 06:12, Richard <[email protected]> wrote: >>> >>>> I stumbled across this today and found it an interesting read. >>>> <http://queue.acm.org/detail.cfm?id=1814327> >>>> >>>> It relates to our "virtual function calls are bad!"[*] discussion >>>> earlier. >>>> >>>> [*] they're not really bad, its cache misses that are bad. >>>> -- >>>> "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for >>>> download >>>> < >>>> http://legalizeadulthood.wordpress.com/the-direct3d-graphics-pipeline/> >>>> >>>> Legalize Adulthood! <http://legalizeadulthood.wordpress.com> >>>> _______________________________________________ >>>> Sweng-Gamedev mailing list >>>> [email protected] >>>> >>>> http://lists.midnightryder.com/listinfo.cgi/sweng-gamedev-midnightryder.com >>>> >>> >>> >>> >>> -- >>> fabs(); >>> Just because the world is full of people that think just like you, >>> doesn't mean the other ones can't be right. >>> >>> _______________________________________________ >>> Sweng-Gamedev mailing list >>> [email protected] >>> >>> http://lists.midnightryder.com/listinfo.cgi/sweng-gamedev-midnightryder.com >>> >>> >> > > _______________________________________________ > Sweng-Gamedev mailing list > [email protected] > http://lists.midnightryder.com/listinfo.cgi/sweng-gamedev-midnightryder.com > > _______________________________________________ Sweng-Gamedev mailing list [email protected] http://lists.midnightryder.com/listinfo.cgi/sweng-gamedev-midnightryder.com