Page MenuHomeFreeBSD

malloc: provide 384 byte zone
ClosedPublic

Authored by mjg on Nov 9 2020, 1:55 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 2, 3:03 PM
Unknown Object (File)
Sun, Jun 1, 7:27 PM
Unknown Object (File)
Thu, May 22, 8:27 AM
Unknown Object (File)
Fri, May 16, 11:03 AM
Unknown Object (File)
Apr 20 2025, 6:41 PM
Unknown Object (File)
Apr 9 2025, 10:08 AM
Unknown Object (File)
Apr 6 2025, 4:25 AM
Unknown Object (File)
Mar 31 2025, 7:46 PM
Subscribers

Details

Summary

It provides a clear cut win when using ZFS, which performs a host of very different allocations.

Total page count after buildworld for 384 (if present) and 512 zones:
before: 29713
after: 25946

btw,
vm.uma.malloc_384.keg.domain.1.pages: 11621
vm.uma.malloc_384.keg.domain.0.pages: 11597
vm.uma.malloc_512.keg.domain.1.pages: 1280
vm.uma.malloc_512.keg.domain.0.pages: 1448

Adding more zones with smaller sizes led to inconclusive results, will have to be revisited.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 34703

Event Timeline

mjg requested review of this revision.Nov 9 2020, 1:55 AM
This revision is now accepted and ready to land.Nov 9 2020, 5:33 PM
This revision was automatically updated to reflect the committed changes.