Page MenuHomeFreeBSD

replace cosqos field in pkthdr with a numa domain tag
ClosedPublic

Authored by gallatin on Apr 9 2019, 3:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 6 2024, 12:38 PM
Unknown Object (File)
Dec 23 2023, 8:30 AM
Unknown Object (File)
Jun 30 2023, 11:39 PM
Unknown Object (File)
Jun 29 2023, 8:16 AM
Unknown Object (File)
Jun 29 2023, 8:12 AM
Unknown Object (File)
Jun 29 2023, 8:11 AM
Unknown Object (File)
Jun 29 2023, 8:04 AM
Unknown Object (File)
Jun 15 2023, 7:12 PM
Subscribers

Details

Summary

Andre added a cosqos field to the pkthdr almost 6 years ago in r254804. This field is still unused by any in-tree consumers. I want to grab this field now for upcoming Numa work in the network stack.

I have a patchset that I'm working on which aligns many resources by numa domain, including inps, inpcb lb group, tcp pacing, lagg output link selection, etc. This work relies on being able to store the numa domain in the mbuf, so I want to grab this field for this use now before somebody else notices that it is unused and uses it for something else.

Note that the patchset which needs this cuts QPI traffic cross-domain traffic by roughly 50% (40% -> 20%). It also increase throughput by 35% on dual-socket Intel Cascade Lake based Xeons, and 75% on single-socket AMD Epyc. This is for a Netflix web workload, with all traffic being sent via sendfile().

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable