Re: [PATCH -V3 0/8] memcg: Add memcg extension to control HugeTLB allocation
From: Aneesh Kumar K.V
Date: Wed Mar 14 2012 - 09:06:04 EST
On Tue, 13 Mar 2012 14:49:30 -0700, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> On Tue, 13 Mar 2012 12:37:04 +0530
> "Aneesh Kumar K.V" <aneesh.kumar@xxxxxxxxxxxxxxxxxx> wrote:
>
> > This patchset implements a memory controller extension to control
> > HugeTLB allocations.
>
> Well, why? What are the use cases? Who is asking for this? Why do
> they need it and how will they use it? etcetera.
>
> Please explain, with some care, why you think we should add this
> feature to the kernel. So that others can assess whether the value it
> adds is worth the cost of adding and maintaining it.
>
The goal is to control how many HugeTLB pages a group of task can
allocate. It can be looked at as an extension of the existing quota
interface which limits the number of HugeTLB pages per hugetlbfs
superblock. HPC job scheduler requires jobs to specify their resource
requirements in the job file. Once their requirements can be met,
job schedulers like (SLURM) will schedule the job. We need to make sure
that the jobs won't consume more resources than requested. If they do
we should error out or kill the application.
-aneesh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/