Re: [RFC PATCH] x86/CPU/AMD: Bring back Compute Unit ID

From: Borislav Petkov
Date: Thu Feb 02 2017 - 10:44:27 EST


On Thu, Feb 02, 2017 at 01:10:54PM +0100, Borislav Petkov wrote:
> Now on to run the same thing on a bigger bulldozer.

It looks differently on the bigger box:

before:

Performance counter stats for 'make -s -j17 bzImage' (3 runs):

1333240.579196 task-clock (msec) # 9.271 CPUs utilized ( +- 0.03% )
393,521 context-switches # 0.295 K/sec ( +- 0.27% )
6,629,632,543 cache-misses ( +- 0.10% )
51,570 cpu-migrations # 0.039 K/sec ( +- 1.21% )
27,812,379 page-faults # 0.021 M/sec ( +- 0.05% )
3,633,456,270,448 cycles # 2.725 GHz ( +- 0.03% )
2,144,192,888,087 instructions # 0.59 insn per cycle ( +- 0.00% )
476,225,081,234 branches # 357.194 M/sec ( +- 0.00% )
25,294,199,758 branch-misses # 5.31% of all branches ( +- 0.02% )

143.807894000 seconds time elapsed ( +- 0.89% )


after:

Performance counter stats for 'make -s -j17 bzImage' (3 runs):

1330842.218684 task-clock (msec) # 9.047 CPUs utilized ( +- 0.14% )
396,044 context-switches # 0.298 K/sec ( +- 0.60% )
6,625,112,597 cache-misses ( +- 0.36% )
60,050 cpu-migrations # 0.045 K/sec ( +- 1.11% )
27,862,451 page-faults # 0.021 M/sec ( +- 0.08% )
3,625,822,644,429 cycles # 2.724 GHz ( +- 0.12% )
2,144,932,865,362 instructions # 0.59 insn per cycle ( +- 0.01% )
476,375,898,692 branches # 357.951 M/sec ( +- 0.01% )
25,226,837,830 branch-misses # 5.30% of all branches ( +- 0.09% )

147.109189694 seconds time elapsed ( +- 0.49% )

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.