Slashdot Mirror


Cache Optimization Now Made Easy, And Pretty

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?"

3 of 9 comments (clear)

  1. On Mac OS X by norwoodites · · Score: 4, Informative

    If some is developering on Mac OS X, they should be using the CHUD tools, they include a profiling tool called Shikari, it uses the PMC (performance monitor counters) on the CPU itself so you can see where cache misses are and also where most of the time is spent.

  2. For GNOME heads by pepermil · · Score: 4, Informative

    For those developers who work on GNOME and would like a GUI tool similar to KCachegrind, you can check out Alleyoop, developed by Jeffrey Stedfast of Ximian. I've not actually used the tool, just seen it mentioned recently and didn't want GNOME developers left out in the cold. If anyone could provide a comparison between the two Valgrind GUIs, I'm sure there are many in the community that would appreciate it.

  3. Can be used w/ Latest Nvidia drivers... by eviltypeguy · · Score: 3, Informative

    You can now use Valgrind with the latest NVidia drivers (43.49+) (thanks NVidia):

    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.