Re: X86 performance monitoring

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Frank Cox wrote:
> My brother just sent me this inquiry and I thought I would ask here to see if
> any of you lot know anything about this before I send him a reply.
> 
> Just checking whether you know anything about the various packages
> I could use to monitor performance of code running on X86 processors.
> I want to measure things like:
>    - instructions executed, in a block of code (ie., from here to there)
>    - cache misses (i-cache, d-cache, L1, L2, etc)
>    - processor cycles
>    - SSE4 instructions executed
>    - ... and so on.
> 
> There appear to be at least a few packages which expose the
> MSR functionality in varioius ways (e.g., the perfctr package).
> I wondered if you knew which package would be considered
> the 'best'.
> 
> One unpleasant aspect of the perfctr package is that it appears
> that I need to apply patches to the kernel, then rebuild;
> this would appear to increase the complexity of system maintenance
> (can't just update and have everything up).
> 

The 2.6.31 and newer kernels have support to access the performance monitoring
hardware on some models of x86 processors (NetBurst/P4 is NOT supports). You can
access the performance counter in Fedora 12 from the command line using the perf
package (a kernel sub-package). You could also write your own tools using the
same systemcalls as perf. You can browse the perf code at:

http://lxr.linux.no/#linux+v2.6.31/tools/perf/

-Will

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux