Open MPI logo

Hardware Locality Users' Mailing List Archives

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

Subject: Re: [hwloc-users] hwloc on systems with more than 64 cpus?
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2010-05-19 01:14:06

> Hi Brice,
> taskset format is same on 32bits architecture on a 64bits architecture.
> I don't have system with 128 CPUs, but according to man page it's
> 0x80000000000000000000000000000000
> I have attached the source code as well. See str_to_cpuset function. It
> supports cpuset hex mask of any length.
> I understand your point to use hwloc-bind. However, I still believe that
> supporting taskset would be a useful feature and very easy to implement (you
> basically just convert physical CPU # into hex). taskset is currently THE
> user-space program to set CPU affinity. I understand that it's probably too
> late for this release. But perhaps you can consider it for the next release.

Thanks, I've added this to a new TODO entry, we'll see what happens :)
If you submit a hwloc patch adding the internal conversion routines and
--taskset to some tools, that would help, of course :)