Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1532202
| From | Peter Zijlstra <peterz@infradead.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2 v2] sched: fix find_idlest_group for fork |
| Date | 2016-11-29 12:50 +0100 |
| Message-ID | <sIP57-7Uu-13@gated-at.bofh.it> (permalink) |
| References | <sHqLw-2kA-3@gated-at.bofh.it> <sHqLw-2kA-23@gated-at.bofh.it> <sIOiJ-7oC-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Nov 29, 2016 at 10:57:59AM +0000, Morten Rasmussen wrote:
> > @@ -5708,13 +5708,6 @@ static int select_idle_cpu(struct task_struct *p, struct sched_domain *sd, int t
> >
> > avg_cost = this_sd->avg_scan_cost;
> >
> > - /*
> > - * Due to large variance we need a large fuzz factor; hackbench in
> > - * particularly is sensitive here.
> > - */
> > - if ((avg_idle / 512) < avg_cost)
> > - return -1;
> > -
> > time = local_clock();
> >
> > for_each_cpu_wrap(cpu, sched_domain_span(sd), target, wrap) {
>
> I don't quite get this fix, but it is very likely because I haven't paid
> enough attention.
>
> Are you saying that removing the avg_cost check is improving hackbench
> performance? I thought it was supposed to help hackbench? I'm confused
> :-(
IIRC, and my pounding head really doesn't remember much, the comment
reads like we need the large fudge factor because hackbench. That is,
hackbench would like this test to go away, but others benchmarks will
tank.
Now, if only I would've written down which benchmarks that were.. awell.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/2 v2] sched: improve spread of tasks during fork Vincent Guittot <vincent.guittot@linaro.org> - 2016-11-25 16:40 +0100
[PATCH 1/2 v2] sched: fix find_idlest_group for fork Vincent Guittot <vincent.guittot@linaro.org> - 2016-11-25 16:40 +0100
Re: [PATCH 1/2 v2] sched: fix find_idlest_group for fork Matt Fleming <matt@codeblueprint.co.uk> - 2016-11-28 18:10 +0100
Re: [PATCH 1/2 v2] sched: fix find_idlest_group for fork Vincent Guittot <vincent.guittot@linaro.org> - 2016-11-28 18:30 +0100
Re: [PATCH 1/2 v2] sched: fix find_idlest_group for fork Morten Rasmussen <morten.rasmussen@arm.com> - 2016-11-29 12:00 +0100
Re: [PATCH 1/2 v2] sched: fix find_idlest_group for fork Peter Zijlstra <peterz@infradead.org> - 2016-11-29 12:50 +0100
Re: [PATCH 1/2 v2] sched: fix find_idlest_group for fork Matt Fleming <matt@codeblueprint.co.uk> - 2016-11-29 12:50 +0100
Re: [PATCH 1/2 v2] sched: fix find_idlest_group for fork Peter Zijlstra <peterz@infradead.org> - 2016-11-29 13:40 +0100
Re: [PATCH 1/2 v2] sched: fix find_idlest_group for fork Morten Rasmussen <morten.rasmussen@arm.com> - 2016-11-29 15:50 +0100
Re: [PATCH 1/2 v2] sched: fix find_idlest_group for fork Peter Zijlstra <peterz@infradead.org> - 2016-12-05 10:00 +0100
Re: [PATCH 1/2 v2] sched: fix find_idlest_group for fork Vincent Guittot <vincent.guittot@linaro.org> - 2016-11-29 14:10 +0100
Re: [PATCH 1/2 v2] sched: fix find_idlest_group for fork Vincent Guittot <vincent.guittot@linaro.org> - 2016-11-29 16:00 +0100
Re: [PATCH 1/2 v2] sched: fix find_idlest_group for fork Morten Rasmussen <morten.rasmussen@arm.com> - 2016-11-29 16:00 +0100
Re: [PATCH 1/2 v2] sched: fix find_idlest_group for fork Matt Fleming <matt@codeblueprint.co.uk> - 2016-12-04 00:30 +0100
Re: [PATCH 1/2 v2] sched: fix find_idlest_group for fork Vincent Guittot <vincent.guittot@linaro.org> - 2016-12-05 10:40 +0100
Re: [PATCH 0/2 v2] sched: improve spread of tasks during fork Matt Fleming <matt@codeblueprint.co.uk> - 2016-11-28 18:10 +0100
Re: [PATCH 0/2 v2] sched: improve spread of tasks during fork Vincent Guittot <vincent.guittot@linaro.org> - 2016-11-28 18:30 +0100
csiph-web