Re: Is it possible to implement the per-node page cache for programs/libraries?
From: Huang Shijie
Date: Wed Sep 01 2021 - 01:12:10 EST
On Wed, Sep 01, 2021 at 04:55:01AM +0000, Al Viro wrote:
> On Wed, Sep 01, 2021 at 11:07:41AM +0800, Shijie Huang wrote:
> > Hi Everyone,
> >
> > In the NUMA, we only have one page cache for each file. For the
> > program/shared libraries, the
> >
> > remote-access delays longer then the local-access.
> >
> > So, is it possible to implement the per-node page cache for
> > programs/libraries?
>
> What do you mean, per-node page cache? Multiple pages for the same
> area of file? That'd be bloody awful on coherency...
Yes. per-NUMA-node page cache.
We can limit the files to program/(shared libraries) which are read-only mostly,
and do not need coherency.
Thanks
Huang Shijie