Skip to content

Transparent Huge Pages for XFS

Matthew Wilcox linux-fsdevel linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 78 patches 1 replyIn review

Patches in v1 No applies recorded yet

None of the 78 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/78] Transparent Huge Pages for XFS

... just kidding. Nobody's going to review 78 patches. Here's a git tree instead:

http://git.infradead.org/users/willy/pagecache.git

I do want people to know that the THP patchset now passes xfstests. I'm sending out portions of the patchset as individual series and trying to get at least some of these patches merged for 5.10.

https://lore.kernel.org/linux-mm/[email protected]/
https://lore.kernel.org/linux-mm/[email protected]/
https://lore.kernel.org/linux-block/[email protected]/
https://lore.kernel.org/linux-mm/[email protected]/
https://lore.kernel.org/linux-mm/[email protected]/

I would like people to run their workloads against the git tree and provide some performance numbers.

The biggest part of this patchset is supporting variable-sized THPs. So far, all THPs have been PMD sized, and filesystems would prefer a page size somewhere between PAGE_SIZE and PMD_SIZE. Using the readahead code, we increase the page size as we increase the size of readaheads.

This patch set does not attempt to allocate larger pages on writes. That's a future enhancement. There is also no support for larger pages on filesystems other than XFS. I have plans to add support for NFS, but I don't plan to add support for buffer heads. Think of this as an incentive to convert to using the iomap infrastructure for buffered I/O ;-)