Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] [hwloc-users] hwloc 1.5, freebsd and linux output on the same hardware
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2012-10-11 12:23:47

Sebastian Kuzminsky wrote:
> Maybe lstopo should expand its cpuset to be fully inclusive at startup? I'll
> be happy to test patches if you want.

Brice Goglin, le Thu 11 Oct 2012 18:13:53 +0200, a écrit :
> Is the cpuset-modification a root-only operation on FreeBSD? If so lstopo
> wouldn't be able to expand the cpuset at startup.
> lstopo has a --whole-system option to ignore such limitations. Unfortunately
> the x86 backend that hwloc uses on FreeBSD requires that we bind to each
> individual core to get its locality information, so that won't help unless
> lstopo can indeed remove the cpuset first.

Indeed. Also, we probably want to save the current cpuset before
modifying it, in order to be able to restore it. I don't think we want
to see libhwloc drop the current cpuset, even if only under whole-system
flag condition.