All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -v2 0/2] cpusets,isolcpus: resolve conflict between cpusets and isolcpus
@ 2015-02-25 16:38 riel
  2015-02-25 16:38 ` [PATCH 1/2] cpusets,isolcpus: exclude isolcpus from load balancing in cpusets riel
  2015-02-25 16:38 ` [PATCH 2/2] cpusets,isolcpus: add file to show isolated cpus in cpuset riel
  0 siblings, 2 replies; 51+ messages in thread
From: riel @ 2015-02-25 16:38 UTC (permalink / raw)
  To: linux-kernel

-v2 addresses the conflict David Rientjes spotted between my previous
patches and commit e8e6d97c9b ("cpuset: use %*pb[l] to print bitmaps
including cpumasks and nodemasks")

Ensure that cpus specified with the isolcpus= boot commandline
option stay outside of the load balancing in the kernel scheduler.

Operations like load balancing can introduce unwanted latencies,
which is exactly what the isolcpus= commandline is there to prevent.

Previously, simply creating a new cpuset, without even touching the
cpuset.cpus field inside the new cpuset, would undo the effects of
isolcpus=, by creating a scheduler domain spanning the whole system,
and setting up load balancing inside that domain. The cpuset root
cpuset.cpus file is read-only, so there was not even a way to undo
that effect.

This does not impact the majority of cpusets users, since isolcpus=
is a fairly specialized feature used for realtime purposes.


^ permalink raw reply	[flat|nested] 51+ messages in thread
* [PATCH 0/2] cpusets,isolcpus: resolve conflict between cpusets and isolcpus
@ 2015-02-23 21:45 riel
  2015-02-23 21:45 ` [PATCH 2/2] cpusets,isolcpus: add file to show isolated cpus in cpuset riel
  0 siblings, 1 reply; 51+ messages in thread
From: riel @ 2015-02-23 21:45 UTC (permalink / raw)
  To: linux-kernel

Ensure that cpus specified with the isolcpus= boot commandline
option stay outside of the load balancing in the kernel scheduler.

Operations like load balancing can introduce unwanted latencies,
which is exactly what the isolcpus= commandline is there to prevent.

Previously, simply creating a new cpuset, without even touching the
cpuset.cpus field inside the new cpuset, would undo the effects of
isolcpus=, by creating a scheduler domain spanning the whole system,
and setting up load balancing inside that domain. The cpuset root
cpuset.cpus file is read-only, so there was not even a way to undo
that effect.

This does not impact the majority of cpusets users, since isolcpus=
is a fairly specialized feature used for realtime purposes.


^ permalink raw reply	[flat|nested] 51+ messages in thread

end of thread, other threads:[~2015-03-03  9:55 UTC | newest]

Thread overview: 51+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-25 16:38 [PATCH -v2 0/2] cpusets,isolcpus: resolve conflict between cpusets and isolcpus riel
2015-02-25 16:38 ` [PATCH 1/2] cpusets,isolcpus: exclude isolcpus from load balancing in cpusets riel
     [not found]   ` <1424882288-2910-2-git-send-email-riel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-02-27  9:32     ` Peter Zijlstra
2015-02-27  9:32       ` Peter Zijlstra
     [not found]       ` <20150227093231.GG21418-ndre7Fmf5hadTX5a5knrm8zTDFooKrT+cvkQGrU6aU0@public.gmane.org>
2015-02-27 17:08         ` [PATCH 3/2] cpusets,isolcpus: document relationship between cpusets & isolcpus Rik van Riel
2015-02-27 17:08           ` Rik van Riel
2015-02-27 21:15           ` David Rientjes
     [not found]           ` <20150227120803.07db15fe-XDFsmL65zczMw9PXcw3sFBL4W9x8LtSr@public.gmane.org>
2015-02-28  3:23             ` Zefan Li
2015-02-28  3:23               ` Zefan Li
2015-02-28  3:21   ` [PATCH 1/2] cpusets,isolcpus: exclude isolcpus from load balancing in cpusets Zefan Li
2015-02-28  3:21     ` Zefan Li
2015-02-25 16:38 ` [PATCH 2/2] cpusets,isolcpus: add file to show isolated cpus in cpuset riel
     [not found]   ` <1424882288-2910-3-git-send-email-riel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-02-25 21:09     ` David Rientjes
2015-02-25 21:09       ` David Rientjes
2015-02-25 21:21       ` Rik van Riel
2015-02-25 21:32     ` [PATCH v3 " Rik van Riel
2015-02-25 21:32       ` Rik van Riel
2015-02-26 11:05     ` [PATCH " Zefan Li
2015-02-26 11:05       ` Zefan Li
2015-02-26 15:24       ` Rik van Riel
2015-02-26 17:12       ` [PATCH v4 " Rik van Riel
2015-02-26 17:12         ` Rik van Riel
     [not found]         ` <20150226121231.6fcba7e8-XDFsmL65zczMw9PXcw3sFBL4W9x8LtSr@public.gmane.org>
2015-02-28  3:22           ` Zefan Li
2015-02-28  3:22             ` Zefan Li
2015-03-02  6:15           ` Zefan Li
2015-03-02  6:15             ` Zefan Li
2015-03-02  9:12             ` Peter Zijlstra
2015-03-03  9:51               ` Zefan Li
2015-03-03  9:51                 ` Zefan Li
2015-03-02  9:09           ` Peter Zijlstra
2015-03-02  9:09             ` Peter Zijlstra
2015-03-02 12:44             ` Mike Galbraith
     [not found]               ` <1425300290.5863.17.camel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-03-02 14:35                 ` Rik van Riel
2015-03-02 14:35                   ` Rik van Riel
     [not found]                   ` <54F47534.7070204-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-03-02 14:54                     ` Mike Galbraith
2015-03-02 14:54                       ` Mike Galbraith
2015-03-02 15:29                 ` Tejun Heo
2015-03-02 15:29                   ` Tejun Heo
2015-03-02 16:02                   ` Mike Galbraith
     [not found]                     ` <1425312177.12094.15.camel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-03-02 16:09                       ` Tejun Heo
2015-03-02 16:09                         ` Tejun Heo
     [not found]                         ` <20150302160903.GE17694-piEFEHQLUPpN0TnZuCh8vA@public.gmane.org>
2015-03-02 17:35                           ` Mike Galbraith
2015-03-02 17:35                             ` Mike Galbraith
2015-03-02 17:01         ` Tejun Heo
     [not found]           ` <20150302170116.GJ17694-piEFEHQLUPpN0TnZuCh8vA@public.gmane.org>
2015-03-02 17:31             ` Tejun Heo
2015-03-02 17:31               ` Tejun Heo
  -- strict thread matches above, loose matches on Subject: below --
2015-02-23 21:45 [PATCH 0/2] cpusets,isolcpus: resolve conflict between cpusets and isolcpus riel
2015-02-23 21:45 ` [PATCH 2/2] cpusets,isolcpus: add file to show isolated cpus in cpuset riel
     [not found]   ` <1424727906-4460-3-git-send-email-riel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-02-25  2:15     ` David Rientjes
2015-02-25  2:15       ` David Rientjes
     [not found]       ` <alpine.DEB.2.10.1502241811020.19547-X6Q0R45D7oAcqpCFd4KODRPsWskHk0ljAL8bYrjMMd8@public.gmane.org>
2015-02-25  3:30         ` Rik van Riel
2015-02-25  3:30           ` Rik van Riel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.