


Cache Optimization Now Made Easy, And Pretty 9
G3ckoG33k writes "Cache optimization has now been made easy, ok, perhaps easier... The guys working with memory management tool Valgrind (see previous story at /.) are now up to version 1.9.5, and it's stable! Even more, there is now also an excellent GUI tool for using Valgrind for serious cache optimization; check out KCachegrind!!!
Besides, who would have thought cache optimization would be not only intellectually but also visually beautiful?"
On Mac OS X (Score:5, Informative)
Re:On Mac OS X (Score:5, Interesting)
Individual instructions are tinted from blue to yellow based on how expensive they were, you get a cycle count and %ge for each instruction within the routine, indications of where your stalls are, and awesome pop-up tips on suspicious behaviour (e.g., float->int conversions, redundant loads in a loop implying the compiler was being conservative with pointer aliasing, mixing double and float math, and a number of other PowerPC specific optimisation tricks).
Like any profiler you have to bear in mind that it may not be telling the whole story, but when you have a routine that you've know you need to care what the compiler is emitting then Shikari is like having a PowerPC assembly guru give you a quick rundown over your code.
For GNOME heads (Score:4, Informative)
Can be used w/ Latest Nvidia drivers... (Score:4, Informative)
DISABLING CPU SPECIFIC FEATURES
Setting the environment variable __GL_FORCE_GENERIC_CPU to a non-zero value will inhibit the use of CPU specific features such as MMX, SSE, or 3DNOW!. Use of this option may result in performance loss. This option may be useful in conjunction with software such as the Valgrind
memory debugger.
Beautiful? (Score:2)
hmm... (Score:2)