Efficient Cache and BLOB - View / Skip Profiling Cache

For the cache to work effectively, should the data used be stored linearly correctly?

So instead of dynamically distributing, I put my data in blob using a linear allocator. Is that enough to improve performance? What should I do to improve caching efficiency?

I know this question is specific, but I don’t know how to explain it ...

What programs can help me miss or miss caching?

+5
source share
3 answers

, AMD CodeAnalyst VerySleepy, , AMD ( Intel, iirc ), , . , , , , , Agner Fog Intel ( )

+5

Linux, Valgrind ( , cachegrind).

Windows, VS2010 (2008) Professional Edition , . Intel VTune Analyzer (). , , 30- .

SO, :

+3

Linux perf mem , ( ), .

0
source

All Articles