| Date | Tue, 7 Apr 2009 11:23:33 +0200 | From | Ingo Molnar <> | Subject | Re: [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
|