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


Groups > linux.kernel > #1195895 > unrolled thread

Re: [PATCH] sched: Avoid sched domain rebuilding when hotplugging an isolate cpu

Started byPeter Zijlstra <peterz@infradead.org>
First post2015-07-30 12:40 +0200
Last post2015-07-30 13:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] sched: Avoid sched domain rebuilding when hotplugging an  isolate cpu Peter Zijlstra <peterz@infradead.org> - 2015-07-30 12:40 +0200
    Re: [PATCH] sched: Avoid sched domain rebuilding when hotplugging an  isolate cpu pang.xunlei@zte.com.cn - 2015-07-30 13:20 +0200

#1195895 — Re: [PATCH] sched: Avoid sched domain rebuilding when hotplugging an isolate cpu

FromPeter Zijlstra <peterz@infradead.org>
Date2015-07-30 12:40 +0200
SubjectRe: [PATCH] sched: Avoid sched domain rebuilding when hotplugging an isolate cpu
Message-ID<pRTpM-47f-3@gated-at.bofh.it>
On Fri, Jul 17, 2015 at 04:03:45PM +0800, Xunlei Pang wrote:
> From: Xunlei Pang <pang.xunlei@linaro.org>
> 
> The sched domain is always rebuilt when hotplugging an isolate cpu,
> as we can see in partition_sched_domains() with the NULL doms_new,
> current sched domain is destroyed, then rebuilt. Worse still, the
> rebuilding will reset all the parameters of the sched_domain. This
> makes no sense and contradicts the isloate concept.

What parameters? isolcpus should have fairly trivial domains to begin
with.
--
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/

[toc] | [next] | [standalone]


#1195913

Frompang.xunlei@zte.com.cn
Date2015-07-30 13:20 +0200
Message-ID<pRU2t-56l-3@gated-at.bofh.it>
In reply to#1195895
Hi Peter,

Peter Zijlstra <peterz@infradead.org> wrote 2015-07-30 PM 06:30:37:
> Re: [PATCH] sched: Avoid sched domain rebuilding when hotplugging an
> isolate cpu
> 
> On Fri, Jul 17, 2015 at 04:03:45PM +0800, Xunlei Pang wrote:
> > From: Xunlei Pang <pang.xunlei@linaro.org>
> > 
> > The sched domain is always rebuilt when hotplugging an isolate cpu,
> > as we can see in partition_sched_domains() with the NULL doms_new,
> > current sched domain is destroyed, then rebuilt. Worse still, the
> > rebuilding will reset all the parameters of the sched_domain. This
> > makes no sense and contradicts the isloate concept.
> 
> What parameters? isolcpus should have fairly trivial domains to begin
> with.

I mean the parameters under 
/proc/sys/kernel/sched_domain/cpu<m>/domain<n>,
they will be reset to the default value once sched domain is rebuilt, if 
users have tuned them before, it's very annoying.

So we should avoid the rebuilding if can, like the case in this patch.

Regards,
-Xunlei

--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.
--
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/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web