|
From: Zhiyao T. <mc...@gm...> - 2006-10-12 02:09:21
|
Hi, I planed to use cachegrind tool to profile the instruction and data cache usage in my program. When I startup it with default options "valgrind --tool=cachegrind MyProgram", it shows following information at the beginning: ...... --11725-- warning: Unknown Intel cache config value (0xB1), ignoring --11725-- warning: Unknown Intel cache config value (0x5), ignoring --11725-- warning: Unknown Intel cache config value (0xF0), ignoring --11725-- warning: Unknown Intel cache config value (0x57), ignoring --11725-- warning: Unknown Intel cache config value (0x56), ignoring --11725-- warning: Unknown Intel cache config value (0x49), ignoring --11725-- warning: Unknown Intel cache config value (0xB4), ignoring --11725-- warning: L2 cache not installed, ignore L2 results. ...... The valgrind I used is valgrind-3.2.0-Debian. Seems that it can't recognize the CPU cache config. Shall I specified the I1/D1/L2 options directly in command line? If so, what values to use? According to the content of /proc/cpuinfo, my box has 4 CPUs, every one is like this: processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Xeon(R) CPU 5130 @ 2.00GHz stepping : 6 cpu MHz : 1994.999 cache size : 4096 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx tm2 cx16 xtpr lahf_lm bogomips : 3993.78 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: Thanks a lot |