Open MPI logo

Hardware Locality Users' Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

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 :)

Brice