Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1398618

Re: PROBLEM: Scheduling latency not respected in CFS with HRTICK enabled

From Wanpeng Li <kernellwp@gmail.com>
Newsgroups linux.kernel
Subject Re: PROBLEM: Scheduling latency not respected in CFS with HRTICK enabled
Date 2016-05-11 03:00 +0200
Message-ID <rxqFj-5B4-1@gated-at.bofh.it> (permalink)
References <rvQaT-7UW-9@gated-at.bofh.it> <rxqFj-5B4-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


2016-05-11 8:53 GMT+08:00 Wanpeng Li <kernellwp@gmail.com>:
> 2016-05-06 23:43 GMT+08:00 Tomasz Grabiec <tgrabiec@scylladb.com>:
> [...]
>> prev_comm=python prev_pid=873 prev_prio=120 prev_state=R ==>
>> next_comm=python next_pid=874 next_prio=120
>>   python   874 [002] 3273334.932741: probe:hrtick: (ffffffff8109b430)
>>   python   874 [002] 3273334.932742: sched:sched_stat_runtime:
>> comm=python pid=874 runtime=503174 [ns] vruntime=1549788942230752 [ns]
>
> hrtick fire after almost 0.5ms(the time slice process 874 get).
>
>>   python   874 [002] 3273334.932743: sched:sched_stat_runtime:
>> comm=python pid=874 runtime=948 [ns] vruntime=1549788942231700 [ns]
>>   python   874 [002] 3273334.936240: probe:scheduler_tick: (ffffffff810a1f30)
>>   python   874 [002] 3273334.936241: sched:sched_stat_runtime:
>> comm=python pid=874 runtime=3497530 [ns] vruntime=1549788945729230
>> [ns]
>
> continue to run another 3.4ms until next normal scheduler tick fire.
>
>>   python   874 [002] 3273334.936249: sched:sched_stat_runtime:
>> comm=python pid=874 runtime=8553 [ns] vruntime=1549788945737783 [ns]
>>   python   874 [002] 3273334.936250: sched:sched_stat_wait:
>> comm=python pid=873 delay=4010205 [ns]
>>   python   874 [002] 3273334.936250: probe:hrtick_start: (ffffffff8109f4f0)
>>   python   874 [002] 3273334.936251: sched:sched_switch:
>> prev_comm=python prev_pid=874 prev_prio=120 prev_state=R ==>
>> next_comm=python next_pid=873 next_prio=120
>
> So the process 874 continue to run util next scheduler fick event if

s/fick event if/tick even if

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

PROBLEM: Scheduling latency not respected in CFS with HRTICK enabled Tomasz Grabiec <tgrabiec@scylladb.com> - 2016-05-06 17:50 +0200
  Re: PROBLEM: Scheduling latency not respected in CFS with HRTICK enabled Wanpeng Li <kernellwp@gmail.com> - 2016-05-08 02:20 +0200
    Re: PROBLEM: Scheduling latency not respected in CFS with HRTICK enabled Tomasz Grabiec <tgrabiec@scylladb.com> - 2016-05-09 11:00 +0200
  Re: PROBLEM: Scheduling latency not respected in CFS with HRTICK enabled Wanpeng Li <kernellwp@gmail.com> - 2016-05-11 03:00 +0200
  Re: PROBLEM: Scheduling latency not respected in CFS with HRTICK enabled Wanpeng Li <kernellwp@gmail.com> - 2016-05-11 03:00 +0200

csiph-web