Re: [PATCH] Expose sysctls for enabling slab/file_cache interleaving

2013-11-19 Thread KOSAKI Motohiro
On Tue, Nov 19, 2013 at 4:49 PM, Andi Kleen wrote: > Michal Hocko writes: >> >> Another option would be to use sysctl values for the top cpuset as a >> default. But then why not just do it manually without sysctl? > > I want to provide an alternative to having to use cpusets to use this, > that i

Re: [PATCH] Expose sysctls for enabling slab/file_cache interleaving

2013-11-19 Thread Andi Kleen
Michal Hocko writes: > > Another option would be to use sysctl values for the top cpuset as a > default. But then why not just do it manually without sysctl? I want to provide an alternative to having to use cpusets to use this, that is actually usable for normal people. Also this is really a gl

Re: [PATCH] Expose sysctls for enabling slab/file_cache interleaving

2013-11-19 Thread Michal Hocko
On Tue 19-11-13 12:13:33, Andi Kleen wrote: > On Tue, Nov 19, 2013 at 08:11:35PM +0100, Michal Hocko wrote: > > On Tue 19-11-13 19:42:00, Andi Kleen wrote: > > > On Tue, Nov 19, 2013 at 11:42:03AM +0100, Michal Hocko wrote: > > > > On Mon 18-11-13 16:50:22, Andi Kleen wrote: > > > > [...] > > > > >

Re: [PATCH] Expose sysctls for enabling slab/file_cache interleaving

2013-11-19 Thread Andi Kleen
On Tue, Nov 19, 2013 at 08:11:35PM +0100, Michal Hocko wrote: > On Tue 19-11-13 19:42:00, Andi Kleen wrote: > > On Tue, Nov 19, 2013 at 11:42:03AM +0100, Michal Hocko wrote: > > > On Mon 18-11-13 16:50:22, Andi Kleen wrote: > > > [...] > > > > diff --git a/include/linux/cpuset.h b/include/linux/cpu

Re: [PATCH] Expose sysctls for enabling slab/file_cache interleaving

2013-11-19 Thread Michal Hocko
On Tue 19-11-13 19:42:00, Andi Kleen wrote: > On Tue, Nov 19, 2013 at 11:42:03AM +0100, Michal Hocko wrote: > > On Mon 18-11-13 16:50:22, Andi Kleen wrote: > > [...] > > > diff --git a/include/linux/cpuset.h b/include/linux/cpuset.h > > > index cc1b01c..10966f5 100644 > > > --- a/include/linux/cpus

Re: [PATCH] Expose sysctls for enabling slab/file_cache interleaving

2013-11-19 Thread Andi Kleen
On Tue, Nov 19, 2013 at 11:42:03AM +0100, Michal Hocko wrote: > On Mon 18-11-13 16:50:22, Andi Kleen wrote: > [...] > > diff --git a/include/linux/cpuset.h b/include/linux/cpuset.h > > index cc1b01c..10966f5 100644 > > --- a/include/linux/cpuset.h > > +++ b/include/linux/cpuset.h > > @@ -72,12 +72,

Re: [PATCH] Expose sysctls for enabling slab/file_cache interleaving

2013-11-19 Thread Michal Hocko
On Mon 18-11-13 16:50:22, Andi Kleen wrote: [...] > diff --git a/include/linux/cpuset.h b/include/linux/cpuset.h > index cc1b01c..10966f5 100644 > --- a/include/linux/cpuset.h > +++ b/include/linux/cpuset.h > @@ -72,12 +72,14 @@ extern int cpuset_slab_spread_node(void); > > static inline int cpu