Ivan Andika created HDDS-15183:
----------------------------------

             Summary: Use POSIX_FADV_DONTNEED after container replication
                 Key: HDDS-15183
                 URL: https://issues.apache.org/jira/browse/HDDS-15183
             Project: Apache Ozone
          Issue Type: Improvement
            Reporter: Ivan Andika


This is simply an idea.

Container replications currently still use buffered writes, meaning that it 
still occupies the page cache. This can cause page cache pollution.

We can consider using POSIX_FADV_DONTNEED 
(https://man7.org/linux/man-pages/man2/posix_fadvise.2.html) after container 
replication so that the OS can free this page caches immediately.

Of course, we need to check whether the initial claim is correct and whether 
this is actually beneficial to prevent premature optimization.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to