Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1179851
| From | Ingo Molnar <mingo@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] sched/numa: Restore sched feature NUMA to its earlier avatar. |
| Date | 2015-07-08 16:00 +0200 |
| Message-ID | <pJY3g-3ql-5@gated-at.bofh.it> (permalink) |
| References | <pJXAd-3fG-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
* Srikar Dronamraju <srikar@linux.vnet.ibm.com> wrote: > In commit:8a9e62a "sched/numa: Prefer NUMA hotness over cache hotness" > sched feature NUMA was always set to true. However this sched feature was > suppose to be enabled on NUMA boxes only thro set_numabalancing_state(). > > To get back to the above behaviour, bring back NUMA_FAVOUR_HIGHER feature. Three typos and a non-standard commit ID reference. > /* > + * NUMA_FAVOUR_HIGHER will favor moving tasks towards nodes where a > + * higher number of hinting faults are recorded during active load > + * balancing. It will resist moving tasks towards nodes where a lower > + * number of hinting faults have been recorded. > */ > -SCHED_FEAT(NUMA, true) > +SCHED_FEAT(NUMA_FAVOUR_HIGHER, true) > #endif > So the comment spells 'favor' American, the constant you introduce is British spelling via 'FAVOUR'? Please use it consistently! Also, this name is totally non-intuitive. Make it something like NUMA_FAVOR_BUSY_NODES or so? Also, I'm wondering how this can schedule in a stable fashion: if a non-busy node is not favored, how can we end up there to start building up hinting faults? Thanks, Ingo -- 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] sched/numa: Restore sched feature NUMA to its earlier avatar. Srikar Dronamraju <srikar@linux.vnet.ibm.com> - 2015-07-08 15:30 +0200
Re: [PATCH] sched/numa: Restore sched feature NUMA to its earlier avatar. Rik van Riel <riel@redhat.com> - 2015-07-08 16:00 +0200
Re: [PATCH] sched/numa: Restore sched feature NUMA to its earlier avatar. Ingo Molnar <mingo@kernel.org> - 2015-07-08 16:00 +0200
Re: [PATCH] sched/numa: Restore sched feature NUMA to its earlier avatar. Ingo Molnar <mingo@kernel.org> - 2015-07-09 10:10 +0200
Re: [PATCH] sched/numa: Restore sched feature NUMA to its earlier avatar. Srikar Dronamraju <srikar@linux.vnet.ibm.com> - 2015-07-10 19:30 +0200
Re: [PATCH] sched/numa: Restore sched feature NUMA to its earlier avatar. Ingo Molnar <mingo@kernel.org> - 2015-07-11 11:00 +0200
csiph-web