Re: [RFC PATCH 0/2] support cgroup pool in v1

From: Greg KH
Date: Fri Sep 10 2021 - 02:02:22 EST


On Fri, Sep 10, 2021 at 10:11:53AM +0800, taoyi.ty wrote:
> On 2021/9/8 下午8:37, Greg KH wrote:
>
> > Perhaps you shouldn't be creating that many containers all at once?
> > What normal workload requires this?
>
> Thank you for your reply.
>
>
> The scenario is the function computing of the public
>
> cloud. Each instance of function computing will be
>
> allocated about 0.1 core cpu and 100M memory. On
>
> a high-end server, for example, 104 cores and 384G,
>
> it is normal to create hundreds of containers at the
>
> same time if burst of requests comes.

So it is a resource management issue on your side, right? Perhaps
stagger the creation of new containers to allow the overall creation
time to be less?

thanks,

greg k-h