Re: [hwloc-devel] hwloc-distrib --among

2010-11-18 Thread Jirka Hladky
Hi Samuel, thanks for looking into it! I'm using hwloc_distribute to distribute parallel jobs on multi-socket systems. Usually, it gives nice results: running hwloc-distrib --single on box with sockets will ditrbitute one job per socket. This is what I want. hwloc-distrib --single <2*N>

Re: [hwloc-devel] hwloc-distrib --among

2010-11-18 Thread Jirka Hladky
On Tuesday, November 16, 2010 10:31:11 pm Brice Goglin wrote: > Le 16/11/2010 15:18, Samuel Thibault a écrit : > > Jirka Hladky, le Tue 16 Nov 2010 21:37:01 +0100, a écrit : > >> There was some discussion about hwloc-distrib --among > >> > >> If I understand it correctly, --among accepts one of >

Re: [hwloc-devel] hwloc-distrib --among

2010-11-16 Thread Samuel Thibault
Brice Goglin, le Tue 16 Nov 2010 22:31:38 +0100, a écrit : > Le 16/11/2010 15:18, Samuel Thibault a écrit : > > Same here, distributing 4 elements between the PUs, thus selecting the > > first 4 PUs. > > > > I'd say that --among should indeed be the horizontal portion of the > > machine to

Re: [hwloc-devel] hwloc-distrib --among

2010-11-16 Thread Brice Goglin
Le 16/11/2010 15:18, Samuel Thibault a écrit : > Jirka Hladky, le Tue 16 Nov 2010 21:37:01 +0100, a écrit : > >> There was some discussion about hwloc-distrib --among >> >> If I understand it correctly, --among accepts one of >> {pu,core,socket,node,machine} >> > I actually didn't know

Re: [hwloc-devel] hwloc-distrib --among

2010-11-16 Thread Samuel Thibault
Samuel Thibault, le Tue 16 Nov 2010 22:18:54 +0100, a écrit : > Also note that currently the hwloc_distribute() function doesn't take > e.g. the number of PUs into account when splitting elements over the > hierarchy. It was more a demonstration example than something to be used > as is. We can

[hwloc-devel] hwloc-distrib --among

2010-11-16 Thread Jirka Hladky
Hi Brice, I had hold an internal presentation on hwloc. It was success, people has liked it. One colleague has tried it on 8 socket box and we have found that memory was installed in the wrong slots resulting in very strange NUMA configuration. There was some discussion about hwloc-distrib