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

Instruction/data cache performance


Instruction/data cache performance

Postby jont » Sep 27, 2002 @ 12:36pm

From:

"...The cache in the StrongARM CPU is 16k for code and 8k for data. The cache in the XScale CPU is 32k for code and 32k for data. So if the code and data that is being executed fits into the cache, the system is able to operate at the full clock speed of the CPU. If it does not fit then it will not execute at full speed. The actual performance of the system will vary dramatically between these 2 limits of 25 million instructions and 206 million instructions per second depending on whether or not the program and data fit into the cache..."

I'm always skeptical of claims such as this, which suggests that if my main body of code (and ideally data) can fit into the cache, then my program will run X magnitudes faster. Two or three times faster, quite possibly, but 8 times faster? Hmm.

Does anybody have real-world experience of the use of such techniques - if so do they really result in the dramatic performance gains suggested by the above quote?

(As a sidenote: yes I could go ahead and experiment in order to find out myself, but I'm ... lazy ... like that...) :wink:
User avatar
jont
pm Member
 
Posts: 122
Joined: Jul 16, 2002 @ 5:12pm
Location: Leeds, England


Postby refractor » Sep 27, 2002 @ 3:07pm

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


Postby jont » Sep 28, 2002 @ 12:26pm

Ref, one of these days I'm going to come up with a technical question you can't answer :D

Thanks for the info.
User avatar
jont
pm Member
 
Posts: 122
Joined: Jul 16, 2002 @ 5:12pm
Location: Leeds, England


Postby refractor » Sep 28, 2002 @ 12:48pm

:) Thanks, it was no problem.
User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


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