lkml.org 
[lkml]   [2009]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 00/15] various perf counter bits

another thing i noticed is that our CPU migration counters look a
bit weird:

aldebaran:~/linux/linux/Documentation/perf_counter> taskset 1 perfstat ls
design.txt kerneltop kerneltop.c Makefile perfstat

Performance counter stats for 'ls':

0.686802 task clock ticks (msecs)
3 context switches (events)
4 CPU migrations (events)
285 pagefaults (events)
2183899 CPU cycles (events)
1492516 instructions (events)
24638 cache references (events)
1763 cache misses (events)

Wall-clock time elapsed: 0.694796 msecs


the 'taskset 1' binds perfstat to a single CPU - still we had 4
cross-CPU migrations?

Ingo


\
 
 \ /
  Last update: 2009-04-07 11:27    [W:0.106 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site