On 24/05/2010 21:28, Jirka Hladky wrote:
> What's confusing is that --taskset alone (without --cpuset) has no effect at
> all. IMHO, --cpuset and --taskset should be mutually exclusive options.
My feeling is that --taskset is just an option that changes the way
cpuset are displayed with --cpuset or --cpuset-only.
I'll change the code so that --taskset also enables --cpuset if not
> I was not able to get hwloc-distrib working together with hwloc-calc to get
> expected output:
> hwloc-distrib --single 8
> hwloc-distrib --single 8 | xargs hwloc-calc --taskset
> will produce
> 0xff ???
hwloc-calc doesn't accept input from stdin, it only reads the
command-line. We have a TODO entry about this, I'll work on it soon.
For now, you can do:
hwloc-distrib ... | xargs -n 1 utils/hwloc-calc
> Could you please suggest what am I doing wrong or perhaps add support of
> --taskset to
> command directly?
Yeah, I can do that too :)