This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Performance issues


Performance issues

Postby DooMer_MP3 » Nov 10, 2003 @ 6:43am

DooMer_MP3
pm Member
 
Posts: 38
Joined: Mar 14, 2003 @ 8:57am
Location: Madison, WI, USA


Postby Pejo Software - Per » Nov 10, 2003 @ 8:53am

User avatar
Pejo Software - Per
pm Insider
 
Posts: 343
Joined: Apr 25, 2002 @ 1:00pm
Location: Mölndal, Sweden


Postby refractor » Nov 10, 2003 @ 1:42pm

User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


Postby DooMer_MP3 » Nov 10, 2003 @ 4:16pm

DooMer_MP3
pm Member
 
Posts: 38
Joined: Mar 14, 2003 @ 8:57am
Location: Madison, WI, USA


Postby Digby » Nov 10, 2003 @ 11:47pm

Digby
pm Insider
 
Posts: 1011
Joined: Apr 29, 2001 @ 1:53pm


Postby rcp » Nov 11, 2003 @ 1:45am

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
User avatar
rcp
pm Member
 
Posts: 184
Joined: Jul 18, 2003 @ 2:12am
Location: Duluth, GA. (Southeast US)


Postby DooMer_MP3 » Nov 11, 2003 @ 2:31am

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
DooMer_MP3
pm Member
 
Posts: 38
Joined: Mar 14, 2003 @ 8:57am
Location: Madison, WI, USA


Postby rcp » Nov 11, 2003 @ 8:55am

User avatar
rcp
pm Member
 
Posts: 184
Joined: Jul 18, 2003 @ 2:12am
Location: Duluth, GA. (Southeast US)


Postby refractor » Nov 11, 2003 @ 9:16am

User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


Postby JoostB » Nov 11, 2003 @ 10:15am

JoostB
pm Member
 
Posts: 41
Joined: Sep 7, 2003 @ 12:49pm
Location: Belgium


Postby xPeterx » Nov 11, 2003 @ 10:50am

xPeterx
pm Member
 
Posts: 144
Joined: Jul 28, 2003 @ 2:50pm
Location: Germany


Postby DooMer_MP3 » Nov 12, 2003 @ 6:39pm

DooMer_MP3
pm Member
 
Posts: 38
Joined: Mar 14, 2003 @ 8:57am
Location: Madison, WI, USA


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron