[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] How to make tracking CPU cache-miss on Xen?
Hello, I'm working on the 'credit scheduler' of Xen. And I need to compare CPU cache misses between original Xen and my patching version. But I failed all attempt even if I have tried many methods by googling. When I typed 'perf list' with my 'perf' compiled by source code in the current kernel source code, it said: nickeys@nickeys-linux-machine:~/ubuntu/tools/perf$ ./perf list Since there is no HW event in contrast with native environment, I should try 'Raw hardware event descriptor' option. According to 'Intel® 64 and IA-32 Architectures Software Developer’s Manual Volume 3B: System Programming Guide', I used 'r412e' raw hardware event to get LLC Misses which is in '18.2.1.2 Pre-defined Architectural Performance Events' section of the guide, but I found out my 'perf' does not support the feature: nickeys@nickeys-linux-machine:~/ubuntu/tools/perf$ sudo ./perf stat -e r412e sleep 1 I could not understand why I cannot find out the number of cache-misses. When I did googling, I did not think there would be a problem because there were a lot of posts to get cache-misses in the Xen environment. Below is my PC configuration: CPU: Intel Core i7-6700 Is there any other way to get CPU cache-misses in Xen environment? Thanks for your help! Minjun Hong _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |