Re: [PATCH] arm64: add NUMA emulation support

2018-09-11 Thread Shuah Khan
On 09/11/2018 10:50 AM, Will Deacon wrote: > On Tue, Sep 11, 2018 at 09:27:49AM -0600, Shuah Khan wrote: >> On 09/11/2018 03:11 AM, Michal Hocko wrote: >>> On Mon 10-09-18 20:02:05, Shuah Khan wrote: Hi Michal, On 09/10/2018 07:48 AM, Michal Hocko wrote: > On Fri 07-09-18 16:30:5

Re: [PATCH] arm64: add NUMA emulation support

2018-09-11 Thread Will Deacon
On Tue, Sep 11, 2018 at 09:27:49AM -0600, Shuah Khan wrote: > On 09/11/2018 03:11 AM, Michal Hocko wrote: > > On Mon 10-09-18 20:02:05, Shuah Khan wrote: > >> Hi Michal, > >> > >> On 09/10/2018 07:48 AM, Michal Hocko wrote: > >>> On Fri 07-09-18 16:30:59, Shuah Khan wrote: > On 09/07/2018 02:3

Re: [PATCH] arm64: add NUMA emulation support

2018-09-11 Thread Shuah Khan
On 09/11/2018 03:11 AM, Michal Hocko wrote: > On Mon 10-09-18 20:02:05, Shuah Khan wrote: >> Hi Michal, >> >> On 09/10/2018 07:48 AM, Michal Hocko wrote: >>> On Fri 07-09-18 16:30:59, Shuah Khan wrote: On 09/07/2018 02:34 AM, Michal Hocko wrote: > On Thu 06-09-18 15:53:34, Shuah Khan wrote

Re: [PATCH] arm64: add NUMA emulation support

2018-09-11 Thread Michal Hocko
On Mon 10-09-18 20:02:05, Shuah Khan wrote: > Hi Michal, > > On 09/10/2018 07:48 AM, Michal Hocko wrote: > > On Fri 07-09-18 16:30:59, Shuah Khan wrote: > >> On 09/07/2018 02:34 AM, Michal Hocko wrote: > >>> On Thu 06-09-18 15:53:34, Shuah Khan wrote: > [] > >> > >> In addition to isolation, b

Re: [PATCH] arm64: add NUMA emulation support

2018-09-10 Thread Shuah Khan
Hi Michal, On 09/10/2018 07:48 AM, Michal Hocko wrote: > On Fri 07-09-18 16:30:59, Shuah Khan wrote: >> On 09/07/2018 02:34 AM, Michal Hocko wrote: >>> On Thu 06-09-18 15:53:34, Shuah Khan wrote: [] >> >> In addition to isolation, being able to reserve a block instead is one of the >> issues I

Re: [PATCH] arm64: add NUMA emulation support

2018-09-10 Thread Michal Hocko
On Fri 07-09-18 16:30:59, Shuah Khan wrote: > On 09/07/2018 02:34 AM, Michal Hocko wrote: > > On Thu 06-09-18 15:53:34, Shuah Khan wrote: > > [...] > >> A few critical allocations could be satisfied and root cgroup prevails. It > >> is not the > >> intent to have exclusivity at the expense of the

Re: [PATCH] arm64: add NUMA emulation support

2018-09-07 Thread Shuah Khan
On 09/07/2018 02:34 AM, Michal Hocko wrote: > On Thu 06-09-18 15:53:34, Shuah Khan wrote: > [...] >> A few critical allocations could be satisfied and root cgroup prevails. It >> is not the >> intent to have exclusivity at the expense of the kernel. > > Well, it is not "few critical allocations".

Re: [PATCH] arm64: add NUMA emulation support

2018-09-07 Thread Michal Hocko
On Thu 06-09-18 15:53:34, Shuah Khan wrote: [...] > A few critical allocations could be satisfied and root cgroup prevails. It is > not the > intent to have exclusivity at the expense of the kernel. Well, it is not "few critical allocations". It can be a lot of memory. Basically any GFP_KERNEL al

Re: [PATCH] arm64: add NUMA emulation support

2018-09-06 Thread Shuah Khan
On 09/05/2018 12:42 AM, Michal Hocko wrote: > On Tue 04-09-18 15:59:34, Shuah Khan wrote: > [...] >> This will support the following workload requirements: >> >> - reserving one or more NUMA memory nodes for class of critical tasks that >> require >> guaranteed memory availability. >> - isolate

Re: [PATCH] arm64: add NUMA emulation support

2018-09-04 Thread Michal Hocko
On Tue 04-09-18 15:59:34, Shuah Khan wrote: [...] > This will support the following workload requirements: > > - reserving one or more NUMA memory nodes for class of critical tasks that > require > guaranteed memory availability. > - isolate memory blocks with a guaranteed exclusive access. Ho

Re: [PATCH] arm64: add NUMA emulation support

2018-09-04 Thread Shuah Khan
Hi Michal, Sorry for the delay in responding. I was traveling last week. On 08/29/2018 05:08 AM, Michal Hocko wrote: > On Tue 28-08-18 12:09:53, Shuah Khan wrote: > [...] >> The main intent is to use numa emulation in conjunction with cpusets for >> coarse >> memory management similar to x86_64

Re: [PATCH] arm64: add NUMA emulation support

2018-08-29 Thread Michal Hocko
On Tue 28-08-18 12:09:53, Shuah Khan wrote: [...] > The main intent is to use numa emulation in conjunction with cpusets for > coarse > memory management similar to x86_64 use-case for the same. Could you be more specific please? Why would you want a hack like this when you have a full featured m

Re: [PATCH] arm64: add NUMA emulation support

2018-08-28 Thread Shuah Khan
On 08/28/2018 11:40 AM, Will Deacon wrote: > On Fri, Aug 24, 2018 at 05:05:59PM -0600, Shuah Khan (Samsung OSG) wrote: >> Add NUMA emulation support to emulate NUMA on non-NUMA platforms. A new >> CONFIG_NUMA_EMU option enables NUMA emulation and a new kernel command >> line option "numa=fake=N" al

Re: [PATCH] arm64: add NUMA emulation support

2018-08-28 Thread Will Deacon
On Fri, Aug 24, 2018 at 05:05:59PM -0600, Shuah Khan (Samsung OSG) wrote: > Add NUMA emulation support to emulate NUMA on non-NUMA platforms. A new > CONFIG_NUMA_EMU option enables NUMA emulation and a new kernel command > line option "numa=fake=N" allows users to specify the configuration for > em

[PATCH] arm64: add NUMA emulation support

2018-08-24 Thread Shuah Khan (Samsung OSG)
Add NUMA emulation support to emulate NUMA on non-NUMA platforms. A new CONFIG_NUMA_EMU option enables NUMA emulation and a new kernel command line option "numa=fake=N" allows users to specify the configuration for emulation. When NUMA emulation is enabled, a flat (non-NUMA) machine will be split