public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [Question] : tie a task to a cluster when it shares memory resources
@ 2013-10-29 17:32 Daniel Lezcano
  0 siblings, 0 replies; only message in thread
From: Daniel Lezcano @ 2013-10-29 17:32 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Peter Zijlstra; +Cc: Ingo Molnar


Hi all,

I am not expert on the NUMA area and the scheduler but I was wondering 
the following:

On numa a process can define a memory policy to optimize access because 
remote memory access is suboptimal.

On a multicluster (aka multipackage), eg. Bi-Xeon 4 cores, the scheduler 
load balancing can spawn/balance a task to the second cluster even if 
the task is resulting from a fork or a pthread_create. If I am correct 
that could impact the performances due to L2 cache misses, no ?

Won't it be more efficient to tie a task to a cluster when it shares 
memory resources with another task on the same cluster ? and when the 
task does 'exec', this constraint is removed.

Thanks
-- Daniel

-- 
  <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-10-29 17:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-29 17:32 [Question] : tie a task to a cluster when it shares memory resources Daniel Lezcano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox