- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
IS there any utility or any method to gets the no. of instructions, cache misses on linux kernal 2.6.18. Perf stat is not there on these kernals. I want the results similar to perf stat for Tomcat apllication. Does have not tested oprofiler, is it good for profiling java Application servers .
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Intel Performance Counter Monitor should work on older Linux kernels. It can monitor the number of instructions, cache misses for core/socket/system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Roman,
I have downloaded PCM but there is no manual for it. I am not able to use this package on linux. It will be help full if you provide some instructions to install and run the utility. I want to get the data for apache tomcat by giving its PID , as done in the case of perf utility.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The "perfctr" kernel patch is available for 2.6.18 Linux kernels. I use it on both Intel and AMD systems to provide low-level performance counter access for higher-level tools like PAPI. The "perfctr" package comes with several examples. I don't see one that attaches to a running process, but there is a "perfex" example that launches jobs and collects counter values for that job and a "global" example that reads the counters on all cores.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
for PCM under Linux just type "make" in the main directory and run just build pcm.x utility to run in the background to your application and collect the processor metrics. PCM does not attach to process, it is a "processor resource"-centric tool.
Roman
![](/skins/images/D2683F18326913BBA0436CB7114DD569/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page