The wiki page already has 397 and I added 460. Note also that there is a list of open tickets on that page; we should try to either adopt or retire the open ones.
Bill
On Nov 4, 2014, at 10:32 AM, Jeff Hammond <jeff.science(a)gmail.com> wrote:
> I would like to discuss
> https://svn.mpi-forum.org/trac/mpi-forum-web/ticket/397 and the
> closely related
> https://svn.mpi-forum.org/trac/mpi-forum-web/ticket/460 in San Jose.
>
> Can we collect the other tickets of interest to people and ask Martin
> for the appropriate allocation of time?
>
> Thanks,
>
> Jeff
>
> --
> Jeff Hammond
> jeff.science(a)gmail.com
> http://jeffhammond.github.io/
> _______________________________________________
> mpiwg-rma mailing list
> mpiwg-rma(a)lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-rma
Sorry, I was clearly smoking something, so both my previous statements were incorrect:
1. Current mpich/master does check this unconditionally, but we are trying to make it conditional on an info key: alloc_shared. The patch will be in soon.
2. Converting it to an AVL tree might not be as easy as I thought initially. We do a bunch of Group_translate_ranks and Allgathers. I’ll need to think more carefully to see if it’ll be possible to do this in an inexpensive way to avoid the info key altogether.
— Pavan
On Oct 14, 2014, at 11:06 AM, Balaji, Pavan <balaji(a)anl.gov> wrote:
>
> If we can optimize the search with an AVL tree, this info might be unnecessary. It’d be cheap enough that we’d do it everytime anyway.
>
> — Pavan
>
> On Oct 14, 2014, at 10:58 AM, Jeff Hammond <jeff.science(a)gmail.com> wrote:
>
>> Thanks, Pavan, for sharing the details. I forgot about the MPICH info
>> key used here.
>>
>> Now that I understand the issue, I think we should pursue both
>> tickets, especially since my ticket is definitely 4.0 material.
>> Standardizing the info key that makes the MPICH solution portable in
>> the 3.1 timeframe is a good idea.
>>
>> And I should note that this is not only an academic problem - there
>> are a number of projects making use of the (ppn+1)-windows trick
>> already and will benefit from the info key Mikhail proposed.
>>
>> Jeff
>>
>> On Tue, Oct 14, 2014 at 8:54 AM, Balaji, Pavan <balaji(a)anl.gov> wrote:
>>>
>>> On Oct 14, 2014, at 10:43 AM, Jim Dinan <james.dinan(a)gmail.com> wrote:
>>>> IIUC, MPICH has started detecting this automatically without the info key, so this ticket may be moot. Hopefully an MPICH developer familiar with this optimization can comment.
>>>
>>> Yes, but we rely on an internal info key as well in order to avoid the search time. Though I think we can optimize this search with an AVL tree or something.
>>>
>>> Note that Jeff’s ticket gives more capability that this — it allows the user to do load/store accesses. Your info key only allows the MPI implementation to internally optimize communication.
>>>
>>> — Pavan
>>>
>>> --
>>> Pavan Balaji ✉️
>>> http://www.mcs.anl.gov/~balaji
>>> _______________________________________________
>>> mpiwg-rma mailing list
>>> mpiwg-rma(a)lists.mpi-forum.org
>>> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-rma
>>
>>
>>
>> --
>> Jeff Hammond
>> jeff.science(a)gmail.com
>> http://jeffhammond.github.io/
>> _______________________________________________
>> mpiwg-rma mailing list
>> mpiwg-rma(a)lists.mpi-forum.org
>> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-rma
>
> --
> Pavan Balaji ✉️
> http://www.mcs.anl.gov/~balaji
>
> _______________________________________________
> mpiwg-rma mailing list
> mpiwg-rma(a)lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-rma
--
Pavan Balaji ✉️
http://www.mcs.anl.gov/~balaji
If we can optimize the search with an AVL tree, this info might be unnecessary. It’d be cheap enough that we’d do it everytime anyway.
— Pavan
On Oct 14, 2014, at 10:58 AM, Jeff Hammond <jeff.science(a)gmail.com> wrote:
> Thanks, Pavan, for sharing the details. I forgot about the MPICH info
> key used here.
>
> Now that I understand the issue, I think we should pursue both
> tickets, especially since my ticket is definitely 4.0 material.
> Standardizing the info key that makes the MPICH solution portable in
> the 3.1 timeframe is a good idea.
>
> And I should note that this is not only an academic problem - there
> are a number of projects making use of the (ppn+1)-windows trick
> already and will benefit from the info key Mikhail proposed.
>
> Jeff
>
> On Tue, Oct 14, 2014 at 8:54 AM, Balaji, Pavan <balaji(a)anl.gov> wrote:
>>
>> On Oct 14, 2014, at 10:43 AM, Jim Dinan <james.dinan(a)gmail.com> wrote:
>>> IIUC, MPICH has started detecting this automatically without the info key, so this ticket may be moot. Hopefully an MPICH developer familiar with this optimization can comment.
>>
>> Yes, but we rely on an internal info key as well in order to avoid the search time. Though I think we can optimize this search with an AVL tree or something.
>>
>> Note that Jeff’s ticket gives more capability that this — it allows the user to do load/store accesses. Your info key only allows the MPI implementation to internally optimize communication.
>>
>> — Pavan
>>
>> --
>> Pavan Balaji ✉️
>> http://www.mcs.anl.gov/~balaji
>> _______________________________________________
>> mpiwg-rma mailing list
>> mpiwg-rma(a)lists.mpi-forum.org
>> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-rma
>
>
>
> --
> Jeff Hammond
> jeff.science(a)gmail.com
> http://jeffhammond.github.io/
> _______________________________________________
> mpiwg-rma mailing list
> mpiwg-rma(a)lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-rma
--
Pavan Balaji ✉️
http://www.mcs.anl.gov/~balaji
Thanks, Pavan, for sharing the details. I forgot about the MPICH info
key used here.
Now that I understand the issue, I think we should pursue both
tickets, especially since my ticket is definitely 4.0 material.
Standardizing the info key that makes the MPICH solution portable in
the 3.1 timeframe is a good idea.
And I should note that this is not only an academic problem - there
are a number of projects making use of the (ppn+1)-windows trick
already and will benefit from the info key Mikhail proposed.
Jeff
On Tue, Oct 14, 2014 at 8:54 AM, Balaji, Pavan <balaji(a)anl.gov> wrote:
>
> On Oct 14, 2014, at 10:43 AM, Jim Dinan <james.dinan(a)gmail.com> wrote:
>> IIUC, MPICH has started detecting this automatically without the info key, so this ticket may be moot. Hopefully an MPICH developer familiar with this optimization can comment.
>
> Yes, but we rely on an internal info key as well in order to avoid the search time. Though I think we can optimize this search with an AVL tree or something.
>
> Note that Jeff’s ticket gives more capability that this — it allows the user to do load/store accesses. Your info key only allows the MPI implementation to internally optimize communication.
>
> — Pavan
>
> --
> Pavan Balaji ✉️
> http://www.mcs.anl.gov/~balaji
> _______________________________________________
> mpiwg-rma mailing list
> mpiwg-rma(a)lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-rma
--
Jeff Hammond
jeff.science(a)gmail.com
http://jeffhammond.github.io/
On Oct 14, 2014, at 10:43 AM, Jim Dinan <james.dinan(a)gmail.com> wrote:
> IIUC, MPICH has started detecting this automatically without the info key, so this ticket may be moot. Hopefully an MPICH developer familiar with this optimization can comment.
Yes, but we rely on an internal info key as well in order to avoid the search time. Though I think we can optimize this search with an AVL tree or something.
Note that Jeff’s ticket gives more capability that this — it allows the user to do load/store accesses. Your info key only allows the MPI implementation to internally optimize communication.
— Pavan
--
Pavan Balaji ✉️
http://www.mcs.anl.gov/~balaji
I do like #397. The info key is something that could go in 3.1, and helps
an existing usage pattern (e.g. in OSHMPI or ARMCI-MPI). Ticket #397 looks
like something that we will have to target at MPI 4.
IIUC, MPICH has started detecting this automatically without the info key,
so this ticket may be moot. Hopefully an MPICH developer familiar with
this optimization can comment.
~Jim.
On Tue, Oct 14, 2014 at 10:58 AM, Jeff Hammond <jeff.science(a)gmail.com>
wrote:
> I contend that https://svn.mpi-forum.org/trac/mpi-forum-web/ticket/397
> is the right way to solve this problem. Using overlapping windows
> here is unscalable because if you have one win_create for every
> process in the node on top of one win_allocate_shared per node, you
> end up with ppn+1 windows to hack the effect of one win_allocate if my
> ticket is passed. This is pretty significant overhead if one wants to
> run OpenSHMEM on an Intel Xeon Phi...
>
> And note that the time to setup all these windows properly is
> nontrivial. It has been measured in the context of another project.
> I can't share the details since it's not published and I'm not in a
> position to decide to share it at this point.
>
> Jeff
>
> On Tue, Oct 14, 2014 at 7:42 AM, Jim Dinan <james.dinan(a)gmail.com> wrote:
> > This is an info key that e.g. OSHMPI could use to tell MPI that the
> buffer
> > being passed to MPI_Win_create was allocated via MPI_Win_allocate_shared.
> > If this is already covered by another ticket, let me know the existing
> trac
> > number and I will close this one. If we want to pursue this as a 3.0
> > erratum, we could utilize this new ticket.
> >
> > ~Jim.
> >
> > On Tue, Oct 14, 2014 at 10:38 AM, Jeff Hammond <jeff.science(a)gmail.com>
> > wrote:
> >>
> >> I don't fully understand. Is this designed to make it easier to use the
> >> overlapping windows trick because we can get at shm inside of other
> window
> >> types? I have a ticket that solves that issue holistically already...
> >>
> >> Sent from my iPhone
> >>
> >> On Oct 14, 2014, at 7:17 AM, Jim Dinan <james.dinan(a)gmail.com> wrote:
> >>
> >> Hi All,
> >>
> >> Please see the ticket:
> >> https://svn.mpi-forum.org/trac/mpi-forum-web/ticket/460
> >>
> >> For a new info key that was proposed by Mikhail Brinsky of Intel.
> >>
> >> Thanks,
> >> ~Jim.
> >>
> >> _______________________________________________
> >> mpiwg-rma mailing list
> >> mpiwg-rma(a)lists.mpi-forum.org
> >> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-rma
> >>
> >>
> >> _______________________________________________
> >> mpiwg-rma mailing list
> >> mpiwg-rma(a)lists.mpi-forum.org
> >> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-rma
> >
> >
> >
> > _______________________________________________
> > mpiwg-rma mailing list
> > mpiwg-rma(a)lists.mpi-forum.org
> > http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-rma
>
>
>
> --
> Jeff Hammond
> jeff.science(a)gmail.com
> http://jeffhammond.github.io/
> _______________________________________________
> mpiwg-rma mailing list
> mpiwg-rma(a)lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-rma
>
I contend that https://svn.mpi-forum.org/trac/mpi-forum-web/ticket/397
is the right way to solve this problem. Using overlapping windows
here is unscalable because if you have one win_create for every
process in the node on top of one win_allocate_shared per node, you
end up with ppn+1 windows to hack the effect of one win_allocate if my
ticket is passed. This is pretty significant overhead if one wants to
run OpenSHMEM on an Intel Xeon Phi...
And note that the time to setup all these windows properly is
nontrivial. It has been measured in the context of another project.
I can't share the details since it's not published and I'm not in a
position to decide to share it at this point.
Jeff
On Tue, Oct 14, 2014 at 7:42 AM, Jim Dinan <james.dinan(a)gmail.com> wrote:
> This is an info key that e.g. OSHMPI could use to tell MPI that the buffer
> being passed to MPI_Win_create was allocated via MPI_Win_allocate_shared.
> If this is already covered by another ticket, let me know the existing trac
> number and I will close this one. If we want to pursue this as a 3.0
> erratum, we could utilize this new ticket.
>
> ~Jim.
>
> On Tue, Oct 14, 2014 at 10:38 AM, Jeff Hammond <jeff.science(a)gmail.com>
> wrote:
>>
>> I don't fully understand. Is this designed to make it easier to use the
>> overlapping windows trick because we can get at shm inside of other window
>> types? I have a ticket that solves that issue holistically already...
>>
>> Sent from my iPhone
>>
>> On Oct 14, 2014, at 7:17 AM, Jim Dinan <james.dinan(a)gmail.com> wrote:
>>
>> Hi All,
>>
>> Please see the ticket:
>> https://svn.mpi-forum.org/trac/mpi-forum-web/ticket/460
>>
>> For a new info key that was proposed by Mikhail Brinsky of Intel.
>>
>> Thanks,
>> ~Jim.
>>
>> _______________________________________________
>> mpiwg-rma mailing list
>> mpiwg-rma(a)lists.mpi-forum.org
>> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-rma
>>
>>
>> _______________________________________________
>> mpiwg-rma mailing list
>> mpiwg-rma(a)lists.mpi-forum.org
>> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-rma
>
>
>
> _______________________________________________
> mpiwg-rma mailing list
> mpiwg-rma(a)lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-rma
--
Jeff Hammond
jeff.science(a)gmail.com
http://jeffhammond.github.io/
This is an info key that e.g. OSHMPI could use to tell MPI that the buffer
being passed to MPI_Win_create was allocated via MPI_Win_allocate_shared.
If this is already covered by another ticket, let me know the existing trac
number and I will close this one. If we want to pursue this as a 3.0
erratum, we could utilize this new ticket.
~Jim.
On Tue, Oct 14, 2014 at 10:38 AM, Jeff Hammond <jeff.science(a)gmail.com>
wrote:
> I don't fully understand. Is this designed to make it easier to use the
> overlapping windows trick because we can get at shm inside of other window
> types? I have a ticket that solves that issue holistically already...
>
> Sent from my iPhone
>
> On Oct 14, 2014, at 7:17 AM, Jim Dinan <james.dinan(a)gmail.com> wrote:
>
> Hi All,
>
> Please see the ticket:
> https://svn.mpi-forum.org/trac/mpi-forum-web/ticket/460
>
> For a new info key that was proposed by Mikhail Brinsky of Intel.
>
> Thanks,
> ~Jim.
>
> _______________________________________________
> mpiwg-rma mailing list
> mpiwg-rma(a)lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-rma
>
>
> _______________________________________________
> mpiwg-rma mailing list
> mpiwg-rma(a)lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-rma
>