Thread (49 messages) 49 messages, 8 authors, 2013-10-14

Re: [PATCHv6 00/22] Transparent huge page cache: phase 1, everything but mmap()

From: Kirill A. Shutemov <hidden>
Date: 2013-09-25 11:15:38
Also in: linux-fsdevel, lkml

Andrew Morton wrote:
On Tue, 24 Sep 2013 16:49:50 -0700 Andi Kleen [off-list ref] wrote:
quoted
quoted
At the very least we should get this done for a real filesystem to see
how intrusive the changes are and to evaluate the performance changes.
That would give even larger patches, and people already complain
the patchkit is too large.
The thing is that merging an implementation for ramfs commits us to
doing it for the major real filesystems.  Before making that commitment
we should at least have a pretty good understanding of what those
changes will look like.

Plus I don't see how we can realistically performance-test it without
having real physical backing store in the picture?
My plan for real filesystem is to get it first beneficial for read-mostly
files:
 - allocate huge pages on read (or collapse small pages) only if nobody
   has the inode opened on write;
 - split huge page on write to avoid dealing with write back patch at
   first and dirty only 4k pages;

This will will get most of elf executables and libraries mapped with huge
pages (it may require dynamic linker change to align length to huge page
boundary) which is not bad for start.

-- 
 Kirill A. Shutemov

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help