linux schedule的信息在这个节点下面
cat /proc/schedstat
version 15
timestamp 4297713500
cpu0 38467 0 9781997 2729942 7058648 2608946 1753566776858 1073959920824 6690815
eas 0 0 0 0 0 0 5125101 0 359862 86410 2740179 121711 1815848 5125101 374 0 0 5124727 0 0
domain0 0f 6312 5855 104 156654 389 4 1 5854 1574 1469 59 127167 59 0 14 1455 1747181 1733859 9431 6285639 3891 0 8249 1725610 4 0 4 0 0 0 0 0 0 2293422 0 0
eas 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
domain1 ff 4944 4373 478 1498906 106 0 5 2938 574 525 48 336508 1 0 0 45 1735984 1722808 11695 55130830 1481 5 22 1722786 0 0 0 0 0 0 0 0 0 290380 0 0
eas 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
cpu1 28204 0 8948183 2649058 3733569 1497617 1441076897074 807190364053 5949042
eas 0 0 0 0 0 0 2567661 0 237547 61501 1173246 61260 1033468 2567661 138 2 0 2567521 0 0
domain0 0f 7769 7225 160 205210 433 9 1 7224 1089 974 56 144162 73 0 10 964 1702339 1685348 11781 9512855 5210 2 8232 1677116 10 0 10 0 0 0 0 0 0 1039616 0 0
eas 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
domain1 ff 5420 4933 270 480730 226 14 6 1966 475 475 0 0 0 0 0 0 1687297 1674059 12163 60468600 1075 0 22 1674037 0 0 0 0 0 0 0 0 0 172257 0 0
eas 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
cpu2 21311 0 7164755 2267922 3025490 1167641 1162698482760 530413523077 4678877
eas 0 0 0 0 0 0 2161363 0 201742 44527 1134060 55005 725785 2161363 444 0 0 2160919 0 0
domain0 0f 8377 7684 210 380735 542 11 6 7678 901 771 69 103624 85 0 4 767 1487467 1471356 11014 13464812 5097 0 7496 1463860 13 0 13 0 0 0 0 0 0 933787 0 0
eas 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
domain1 ff 5490 5359 56 52187 76 1 1 1376 416 416 0 0 0 0 0 0 1474186 1462511 10938 54948863 737 0 16 1462495 0 0 0 0 0 0 0 0 0 142811 0 0
eas 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
cpu3 11597 0 6357211 2090707 2627219 1107108 919718326538 433378529286 4108202
eas 0 0 0 0 0 0 1931478 0 173663 29570 1050695 44609 632901 1931478 48 0 0 1931430 0 0
domain0 0f 8981 8228 207 247169 617 27 3 8225 773 662 73 95738 46 0 3 659 1476468 1460594 10754 13183148 5120 0 7534 1453060 26 0 26 0 0 0 0 0 0 875372 0 0
eas 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
domain1 ff 5765 5718 21 21620 26 2 0 810 353 353 0 0 0 0 0 0 1463322 1451642 11022 57101321 658 0 18 1451624 0 0 0 0 0 0 0 0 0 136359 0 0
eas 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
cpu4 67585 0 2257018 888317 2388365 115252 2556519618106 90014544972 1271141
eas 0 0 0 0 0 0 2341253 0 50008 29297 1714378 102245 445294 2341253 54 2 0 2341197 0 0
domain0 f0 3066 1815 442 4187023 832 0 13 1802 4260 4186 60 276795 15 0 0 4186 605588 594821 5765 11698212 5002 2 166 594655 0 0 0 0 0 0 0 0 0 37078 0 0
eas 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
domain1 ff 1994 916 666 1488805 1894 1344 5 779 979 978 1 69 0 0 0 49 600487 594383 4302 5602893 1802 22 30 594353 1351 5 1346 0 0 0 0 0 0 1518419 0 0
eas 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
cpu5 49923 0 619729 175639 358649 61233 620283680796 65698035580 380252
eas 0 0 0 0 0 0 357081 0 10249 15242 212113 32166 87303 357081 22 1 0 357058 0 0
domain0 f0 9139 5646 1268 11950775 2327 12 14 5633 931 809 98 517472 24 0 0 809 99452 91050 5206 13406894 3196 4 175 90875 0 0 0 0 0 0 0 0 0 27644 0 0
eas 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
domain1 ff 3782 3635 90 364042 603 523 3 2700 239 239 0 0 0 0 0 0 96154 94417 1265 1362037 472 14 25 94392 524 1 523 0 0 0 0 0 0 135121 0 0
eas 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
cpu6 31029 0 261915 78291 134487 26761 282585837305 28878353895 153672
eas 0 0 0 0 0 0 130589 0 2946 5230 78883 12748 30779 130589 21 0 0 130568 0 0
domain0 f0 11690 7676 1749 11537517 2365 14 19 7657 390 322 50 101324 18 0 0 322 48749 42420 3973 9245130 2356 9 192 42228 1 0 1 0 0 0 0 0 0 17334 0 0
eas 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
domain1 ff 4738 4726 8 8044 396 393 0 1035 138 138 0 0 0 0 0 0 46326 45239 824 973494 263 16 17 45222 395 2 393 0 0 0 0 0 0 47838 0 0
eas 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
cpu7 29334 0 164496 45773 76408 19786 157647901551 18879672710 90021
eas 0 0 0 0 0 0 71875 0 1537 2626 41788 6653 19263 71875 33 1 0 71841 0 0
domain0 f0 10413 6475 1831 9857151 2167 29 23 6452 216 174 30 30532 12 0 0 174 28089 23890 2578 5153875 1621 5 95 23795 1 0 1 0 0 0 0 0 0 12353 0 0
eas 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
domain1 ff 5427 5425 1 470 314 313 0 404 95 95 0 0 0 0 0 0 26406 25691 588 432406 127 11 27 25664 314 1 313 0 0 0 0 0 0 22550 0 0
eas 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
domain的基本信息
domain<N> <cpumask> 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
The first field is a bit mask indicating what cpus this domain operates over.
The next 24 are a variety of load_balance() statistics in grouped into types
of idleness (idle, busy, and newly idle):
1) # of times in this domain load_balance() was called when the
cpu was idle
2) # of times in this domain load_balance() checked but found
the load did not require balancing when the cpu was idle
3) # of times in this domain load_balance() tried to move one or
more tasks and failed, when the cpu was idle
4) sum of imbalances discovered (if any) with each call to
load_balance() in this domain when the cpu was idle
5) # of times in this domain pull_task() was called when the cpu
was idle
6) # of times in this domain pull_task() was called even though
the target task was cache-hot when idle
7) # of times in this domain load_balance() was called but did
not find a busier queue while the cpu was idle
8) # of times in this domain a busier queue was found while the
cpu was idle but no busier group was found
9) # of times in this domain load_balance() was called when the
cpu was busy
10) # of times in this domain load_balance() checked but found the
load did not require balancing when busy
11) # of times in this domain load_balance() tried to move one or
more tasks and failed, when the cpu was busy
12) sum of imbalances discovered (if any) with each call to
load_balance() in this domain when the cpu was busy
13) # of times in this domain pull_task() was called when busy
14) # of times in this domain pull_task() was called even though the
target task was cache-hot when busy
15) # of times in this domain load_balance() was called but did not
find a busier queue while the cpu was busy
16) # of times in this domain a busier queue was found while the cpu
was busy but no busier group was found
17) # of times in this domain load_balance() was called when the
cpu was just becoming idle
18) # of times in this domain load_balance() checked but found the
load did not require balancing when the cpu was just becoming idle
19) # of times in this domain load_balance() tried to move one or more
tasks and failed, when the cpu was just becoming idle
20) sum of imbalances discovered (if any) with each call to
load_balance() in this domain when the cpu was just becoming idle
21) # of times in this domain pull_task() was called when newly idle
22) # of times in this domain pull_task() was called even though the
target task was cache-hot when just becoming idle
23) # of times in this domain load_balance() was called but did not
find a busier queue while the cpu was just becoming idle
24) # of times in this domain a busier queue was found while the cpu
was just becoming idle but no busier group was found
Next three are active_load_balance() statistics:
25) # of times active_load_balance() was called
26) # of times active_load_balance() tried to move a task and failed
27) # of times active_load_balance() successfully moved a task
Next three are sched_balance_exec() statistics:
28) sbe_cnt is not used
29) sbe_balanced is not used
30) sbe_pushed is not used
Next three are sched_balance_fork() statistics:
31) sbf_cnt is not used
32) sbf_balanced is not used
33) sbf_pushed is not used
Next three are try_to_wake_up() statistics:
34) # of times in this domain try_to_wake_up() awoke a task that
last ran on a different cpu in this domain
35) # of times in this domain try_to_wake_up() moved a task to the
waking cpu because it was cache-cold on its own cpu anyway
36) # of times in this domain try_to_wake_up() started passive balancing