forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork0
Commit24633d9
perf/x86/intel/uncore: Add BW counters for GT, IA and IO breakdown
Linux only has support to read total DDR reads and writes. Here weadd support to enable bandwidth breakdown-GT, IA and IO. Breakdownof BW is important to debug and optimize memory access. This can alsobe used for telemetry and improving the system software.The offsets forGT, IA and IO are added and these free running counters can be accessedvia MMIO space.The BW breakdown can be measured using the following cmd: perf stat -e uncore_imc/gt_requests/,uncore_imc/ia_requests/,uncore_imc/io_requests/ 30.57 MiB uncore_imc/gt_requests/ 1346.13 MiB uncore_imc/ia_requests/ 190.97 MiB uncore_imc/io_requests/ 5.984572733 seconds time elapsed BW/s = <gt,ia,io>_requests/time elapsedSigned-off-by: Vaibhav Shankar <vaibhav.shankar@intel.com>Signed-off-by: Ingo Molnar <mingo@kernel.org>Link:https://lore.kernel.org/r/20200814022234.23605-1-vaibhav.shankar@intel.com1 parent50f6c7d commit24633d9
1 file changed
+49
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
393 | 405 | | |
394 | 406 | | |
395 | 407 | | |
| |||
405 | 417 | | |
406 | 418 | | |
407 | 419 | | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
408 | 428 | | |
409 | | - | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
410 | 435 | | |
411 | 436 | | |
412 | 437 | | |
413 | 438 | | |
414 | | - | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
415 | 449 | | |
416 | 450 | | |
417 | 451 | | |
| |||
525 | 559 | | |
526 | 560 | | |
527 | 561 | | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
528 | 574 | | |
529 | 575 | | |
530 | 576 | | |
| |||
598 | 644 | | |
599 | 645 | | |
600 | 646 | | |
601 | | - | |
| 647 | + | |
602 | 648 | | |
603 | 649 | | |
604 | 650 | | |
| |||
0 commit comments
Comments
(0)