Page MenuHomeFreeBSD

per-cpu page cache
AbandonedPublic

Authored by cem on Jan 25 2015, 10:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Feb 22, 12:00 PM
Unknown Object (File)
Sat, Feb 22, 11:42 AM
Unknown Object (File)
Sat, Feb 22, 6:00 AM
Unknown Object (File)
Sat, Feb 22, 4:59 AM
Unknown Object (File)
Jan 18 2025, 5:21 PM
Unknown Object (File)
Nov 29 2024, 8:19 PM
Unknown Object (File)
Nov 11 2024, 2:05 PM
Unknown Object (File)
Nov 11 2024, 8:51 AM
Subscribers

Details

Reviewers
kmacy
alc
adrian
Summary

Integrate from OneFS on behalf of Netflix:

  • Add per-cpu page caches to avoid contention on the page queue free mutex or large objects
  • Add the option of passing PQ_NONE to vm_page_unwire for callers that are going to subsequently free the page (making the add to the inactive queue simply unneeded overhead)
    • bump WITNESS_PENDLIST to avoid panic on boot
Test Plan

stress2, buildworld, netflix deployment

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage

Event Timeline

kmacy retitled this revision from to per-cpu page cache.
kmacy updated this object.
kmacy edited the test plan for this revision. (Show Details)
kmacy added a reviewer: alc.

Update it to the latest -HEAD? I have a whole bunch of 2 and 4 socket NUMA boxes I can test this out on.

Thanks!

-a

cem added a reviewer: kmacy.

Sure. It applied cleanly against HEAD for me; took me a while to get a build (10.1 can't build CURRENT today). It boots, seems to run ok in a VM.

cem edited edge metadata.

Update to latest HEAD.

ok, so this adds a per-cpu free list /and/ disables the page cache piece. What's the effect going to be, besides reducing lock contention?