sched_wakeup_granularity_ns The wake-up preemption granularity. Increasing this variable reduces wake-up preemption, reducing disturbance of compute bound tasks. Lowering it improves wake-up latency and throughput for latency critical tasks, particularly when a short duty cycle load component must compe...
se.statistics.nr_wakeups_migrate : 155 se.statistics.nr_wakeups_local : 18504 se.statistics.nr_wakeups_remote : 3 se.statistics.nr_wakeups_affine : 155 se.statistics.nr_wakeups_affine_attempts: 158 se.statistics.nr_wakeups_passive : 0 se.statistics.nr_wakeups_idle : 0 avg_atom : 0.0...
rq=cpu_rq(cpu);/*runqueue-specific stats*/seq_printf(seq,"cpu%d %u 0 %u %u %u %u %llu %llu %lu", cpu, rq->yld_count, rq->sched_count, rq->sched_goidle, rq->ttwu_count, rq->ttwu_local, rq->rq_cpu_time, rq->rq_sched_info.run_delay, rq->rq_sched_info.pcount); seq_p...
注下面的时间或时刻都是从rq->clock中获得的,而这个值是由update_rq_clock底层cpu来更新的。并且很多信息是需要内核配置CONFIG_SCHEDSTATS才有。 /proc/<pid>/sched$cat /proc/28733/schedcpu_test (28733, #threads: 1)---se.exec_start : 2781299327.397282 //此进程最近被调度到的开始执行时刻(这个值是每...
se.statistics.nr_wakeups_passive : 0 se.statistics.nr_wakeups_idle : 0 avg_atom : 0.041379 avg_per_cpu : 3.588077 nr_switches : 27054 nr_voluntary_switches : 9950 nr_involuntary_switches : 17104 se.load.weight : 1024 policy : 0 ...
se.statistics.nr_wakeups_migrate :155 se.statistics.nr_wakeups_local:18504 se.statistics.nr_wakeups_remote :3 se.statistics.nr_wakeups_affine :155 se.statistics.nr_wakeups_affine_attempts:158 se.statistics.nr_wakeups_passive :0 se.statistics.nr_wakeups_idle :0 ...
// goroutine, new/modified-earlier timers, and idle-priority GC. See below for // additional details. // // We unpark an additional thread when we submit work if (this is wakep()): // 1. There is an idle P, and // 2. There are no "spinning" worker threads. ...
Scheduler test. Possible values: * (that currently runs), E (that waits for an event), S (ready to run, voluntarily relinquished processor), rd (ready to run, wake up conditions have occurred), we (that waits for an event), sa (sleeps until an absolute time), si (sleeps for a tim...
se.statistics.nr_wakeups_passive : 0 se.statistics.nr_wakeups_idle : 0 avg_atom : 0.041379 avg_per_cpu : 3.588077 nr_switches : 27054 nr_voluntary_switches : 9950 nr_involuntary_switches : 17104 se.load.weight : 1024 policy : 0 ...
statistics.nr_wakeups_affine_attempts:158se.statistics.nr_wakeups_passive:0se.statistics.