Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1206924
| From | Frederic Weisbecker <fweisbec@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 0/2] nohz_full: Offload task_tick to remote housekeeping cpus for nohz_full cpus |
| Date | 2015-08-13 17:40 +0200 |
| Message-ID | <pX2LM-7qM-19@gated-at.bofh.it> (permalink) |
| References | <pWWZH-7z0-1@gated-at.bofh.it> <pWZNV-3cO-59@gated-at.bofh.it> <pX07h-3zv-35@gated-at.bofh.it> <pX2iK-6SM-31@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Aug 13, 2015 at 05:05:45PM +0200, Peter Zijlstra wrote: > On Thu, Aug 13, 2015 at 02:44:02PM +0200, Frederic Weisbecker wrote: > > On Thu, Aug 13, 2015 at 02:22:23PM +0200, Peter Zijlstra wrote: > > > On Thu, Aug 13, 2015 at 02:55:36PM +0530, Vatika Harlalka wrote: > > > > This patchset is for offloading task_tick() to a remote housekeeping > > > > cpu. The larger aim is to stop ticks on nohz_full cpus. For this, extra > > > > work must be done by housekeeping cpus. So, task_tick is called from a > > > > delayed workqueue for nohz_full cpus and the work is requeued every second > > > > for those nohz_full cpus whose ticks are stopped while they are busy. In > > > > the rest of the cases it will lead to redundant accounting. To facilitate > > > > this, a new function tick_nohz_remote_tick_stopped is added to indicate > > > > whether ticks are stopped on a remote cpu. > > > > Tick related code in core.c is moved to tick.c > > > > > > *sigh* of course you didn't read what I've written on this topic.. > > > > What is it? Note Vatika wrote this after my suggestion, so if there is an issue, > > I'm likely the responsible :-) But I don't recall you opposed to this solution. > > *sigh* of course you _could_ all use Google yourselves. > > Re-read: https://patches.linaro.org/28290/ Sorry, there were dozens of threads about this issue and I got a bit confused. > > I see nothing like the stuff I asked for in here, on top it creates the > stupid tick.c file. Right. I initially thought that we should make sched_tick() just work with long delays. Then tglx suggested the offline idea but I lost track about our conversation. But yeah making that scheduler_tick() working with long delays sound much better. Certainly much more work but that's a natural evolution after all. It should pay in longer term. We can start with update_cpu_load_active() which only works with HZ frequency updates or nohz idle zero load decay. Now I think that stuff is only used for load balancing. I had hopes this thing could be removed. I think Alex Shin (IIRC) tried but the patchset didn't make it. Thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/2] nohz_full: Offload task_tick to remote housekeeping cpus for nohz_full cpus Vatika Harlalka <vatikaharlalka@gmail.com> - 2015-08-13 11:30 +0200
[PATCH 1/2] nohz_full: Move tick related code to tick.c Vatika Harlalka <vatikaharlalka@gmail.com> - 2015-08-13 11:30 +0200
Re: [PATCH 0/2] nohz_full: Offload task_tick to remote housekeeping cpus for nohz_full cpus Peter Zijlstra <peterz@infradead.org> - 2015-08-13 14:30 +0200
Re: [PATCH 0/2] nohz_full: Offload task_tick to remote housekeeping cpus for nohz_full cpus Frederic Weisbecker <fweisbec@gmail.com> - 2015-08-13 14:50 +0200
Re: [PATCH 0/2] nohz_full: Offload task_tick to remote housekeeping cpus for nohz_full cpus Peter Zijlstra <peterz@infradead.org> - 2015-08-13 17:10 +0200
Re: [PATCH 0/2] nohz_full: Offload task_tick to remote housekeeping cpus for nohz_full cpus Frederic Weisbecker <fweisbec@gmail.com> - 2015-08-13 17:40 +0200
Re: [PATCH 0/2] nohz_full: Offload task_tick to remote housekeeping cpus for nohz_full cpus Vatika Harlalka <vatikaharlalka@gmail.com> - 2015-08-13 21:30 +0200
csiph-web