Re: [PATCH 01/02] cpuset memory spread slab cache filesys

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 28 February 2006 02:56, Paul Jackson wrote:
> Hmmm ... your thread with Andi confuses me ...
> 
> Oh well.
> 
> I take it that Andi is suggesting that there be the option to override
> the tasks mempolicy, in the particular case of these file i/o slab
> caches, with an interleave over the online nodes.

Yep exactly.
 
> This option would be useful in the case that a system is not using
> cpusets, but still wants to spread out these particular (sometimes
> large) file i/o caches.

Yep.
 
> Questions for Andi:
> 
>  1) Are you content to have such a interleave of these particular file
>     i/o slabs triggered by a mm/mempolicy.c option?  Or do you think
>     we need some sort of task external API to invoke this policy?

Task external. mempolicy.c has no good way to handle multiple policies
like this. I was thinking of a simple sysctl

I guess I can cook up a patch once your code is merged.


>  2) Do you recommend that the page (file buffer) cache also be
>     interleavable, across all online nodes, if optionally requested,
>     on systems not using cpusets?

Yes, but as a separate option.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux