Is it possible to implement the per-node page cache for programs/libraries?

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

 



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?


   We can do it like this:

        1.) Add a new system call to control specific files to
NUMA-aware, such as:

                   set_numa_aware("/usr/lib/libc.so", enable);

            After the system call, the page cache of libc.so has the
flags "NUMA_ENABLED"


        2.) When A new process tries to setup the MMU page table for
libc.so, it will check

             if NUMA_ENABLED is set. If it set, the kernel will give a
page which is bind to the process's NUMA node.

             By this way, we can eliminate the remote-access for
programs/shared library.


Is this proposal ok?  Or do you have a better idea?


Thanks

Huang Shijie








CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and contains information that is confidential and proprietary to Ampere Computing or its subsidiaries. It is to be used solely for the purpose of furthering the parties' business relationship. Any unauthorized review, copying, or distribution of this email (or any attachments thereto) is strictly prohibited. If you are not the intended recipient, please contact the sender immediately and permanently delete the original and any copies of this email and any attachments thereto.





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux