Tool or code for cache and memory features

I ran into a performance issue on multi-core architecture (8+) with software written in C ++ / VistualStudio / WindowsXP.

Suddenly, I realized that I had no idea about the characteristics of my L1 and L2 cache and the memory bandwidth of CPU-> to->.

I tested several tools (including VTune, Glowcode, etc. etc.), but all of them fail when testing when loading in a multi-core architecture (for this reason I need them!).

Can you suggest any other tool that is not so suitable for executing graphs, but can give me at least some indications of cache / memory performance or can offer code fragments for the manual application of my application?

Thank!

+3
source share
5 answers

Are you sure the source of your performance problem? If not, it might be a good idea to take a look at other things first.

There's a good article on multi-threaded programming and various hidden issues with it, here . Maybe this will help?

+1
source

Perhaps Memtest86 + is what you are looking for.

0
source

, EVEREST //. . Everest Lavalys

0

L1 L2; , Windows.

0

Have you tried cachegrind ? Of course, this is a simulator, but still, it will allow you to catch most of the real problems.

0
source

Source: https://habr.com/ru/post/1697849/


All Articles