Page 1 of 1

Performance issues

PostPosted: Nov 10, 2003 @ 6:43am
by DooMer_MP3

PostPosted: Nov 10, 2003 @ 8:53am
by Pejo Software - Per

PostPosted: Nov 10, 2003 @ 1:42pm
by refractor

PostPosted: Nov 10, 2003 @ 4:16pm
by DooMer_MP3

PostPosted: Nov 10, 2003 @ 11:47pm
by Digby

PostPosted: Nov 11, 2003 @ 1:45am
by rcp
This topic should be made a "sticky". As a "old-school" ASM programmer, I forget how people look at their data... ie; they look at it from their perspective, not the hardware's. I've tried to explain this to other people at times, but I don't think I ever got the point across. Refractor's answers to DooMer_MP3's example is probably the best example I've ever seen of this. A nice simple case where not using the cache correctly can just absolutely kill your performance, and a simple change can get you a 2x increase. I've reorganized massive data arrays into tiles and seen a 10x improvement. When your CPU speed is 4x faster than your memory... the cache makes a big, big difference.

Cheers,

rcp

PostPosted: Nov 11, 2003 @ 2:31am
by DooMer_MP3
rcp,
Can you give a quick example of the original array you were dealing with, and an example of what you did to get it in "tile" form? I'm not quite understanding you here. I appreciate it though. But yes, this information seems REAL important.

Chris

PostPosted: Nov 11, 2003 @ 8:55am
by rcp

PostPosted: Nov 11, 2003 @ 9:16am
by refractor

PostPosted: Nov 11, 2003 @ 10:15am
by JoostB

PostPosted: Nov 11, 2003 @ 10:50am
by xPeterx

PostPosted: Nov 12, 2003 @ 6:39pm
by DooMer_MP3