On Wed Mar 26 05:39:14 2025 +0000, Damjan Jovanovic wrote:
Should we be using that hwloc/lstopo library instead of parsing kern.sched.topology_spec ourselves? It seems to provide more info, including cache sizes.
From a FreeBSD (packaging) perspective I can see this is a fine alternative. It adds two additional dependencies - devel/hwloc and devel/libpciaccess - which appear to be reasonably light.
Happy to leave the choice to you. It just would be nice to either get the current patch pushed or an alternate one that you hint at.
@bshanks, for the time being, is there any obstacle to the former?