- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apologies if this is obvious and/or answered before. I have used perf on Linux (Ubuntu) and got data which I paste below. Based on my calculation, 48% of the cycles are stalled. Does it mean that almost half the time, program spends fetching data from the Memory (No I/O in my code)? BTW, it is a simple java program doing some CPU work. Thanks for any help.
5659.824477 task-clock # 0.998 CPUs utilized
2,633 context-switches # 0.000 M/sec
4 CPU-migrations # 0.000 M/sec
83,941 page-faults # 0.015 M/sec
17,757,980,175 cycles # 3.138 GHz [83.24%]
8,646,314,253 stalled-cycles-frontend # 48.69% frontend cycles idle [83.44%]
3,526,296,727 stalled-cycles-backend # 19.86% backend cycles idle [66.95%]
24,624,807,823 instructions # 1.39 insns per cycle
# 0.35 stalled cycles per insn [83.39%]
3,117,168,198 branches # 550.754 M/sec [83.28%]
90,353,461 branch-misses # 2.90% of all branches [83.13%]
5.673470329 seconds time elapsed
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page