2015-01-05 15:07:24 -07:00
|
|
|
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
|
2005-06-15 19:10:26 +00:00
|
|
|
/*
|
2007-03-16 23:11:45 +00:00
|
|
|
* Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
|
2005-11-05 19:57:48 +00:00
|
|
|
* University Research and Technology
|
|
|
|
* Corporation. All rights reserved.
|
2009-04-10 16:44:37 +00:00
|
|
|
* Copyright (c) 2004-2009 The University of Tennessee and The University
|
2005-11-05 19:57:48 +00:00
|
|
|
* of Tennessee Research Foundation. All rights
|
|
|
|
* reserved.
|
2015-06-23 20:59:57 -07:00
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
2005-06-15 19:10:26 +00:00
|
|
|
* University of Stuttgart. All rights reserved.
|
|
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
* All rights reserved.
|
2016-10-27 10:34:54 -06:00
|
|
|
* Copyright (c) 2014-2016 Los Alamos National Security, LLC. All rights
|
2015-01-05 15:07:24 -07:00
|
|
|
* reserved.
|
2005-06-15 19:10:26 +00:00
|
|
|
* $COPYRIGHT$
|
2015-06-23 20:59:57 -07:00
|
|
|
*
|
2005-06-15 19:10:26 +00:00
|
|
|
* Additional copyrights may follow
|
2015-06-23 20:59:57 -07:00
|
|
|
*
|
2005-06-15 19:10:26 +00:00
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
*/
|
2005-06-30 05:50:55 +00:00
|
|
|
#ifndef MCA_BTL_SELF_H
|
|
|
|
#define MCA_BTL_SELF_H
|
2005-06-15 19:10:26 +00:00
|
|
|
|
George did the work and deserves all the credit for it. Ralph did the merge, and deserves whatever blame results from errors in it :-)
WHAT: Open our low-level communication infrastructure by moving all necessary components (btl/rcache/allocator/mpool) down in OPAL
All the components required for inter-process communications are currently deeply integrated in the OMPI layer. Several groups/institutions have express interest in having a more generic communication infrastructure, without all the OMPI layer dependencies. This communication layer should be made available at a different software level, available to all layers in the Open MPI software stack. As an example, our ORTE layer could replace the current OOB and instead use the BTL directly, gaining access to more reactive network interfaces than TCP. Similarly, external software libraries could take advantage of our highly optimized AM (active message) communication layer for their own purpose. UTK with support from Sandia, developped a version of Open MPI where the entire communication infrastucture has been moved down to OPAL (btl/rcache/allocator/mpool). Most of the moved components have been updated to match the new schema, with few exceptions (mainly BTLs where I have no way of compiling/testing them). Thus, the completion of this RFC is tied to being able to completing this move for all BTLs. For this we need help from the rest of the Open MPI community, especially those supporting some of the BTLs. A non-exhaustive list of BTLs that qualify here is: mx, portals4, scif, udapl, ugni, usnic.
This commit was SVN r32317.
2014-07-26 00:47:28 +00:00
|
|
|
#include "opal_config.h"
|
2009-03-04 15:35:54 +00:00
|
|
|
|
2005-06-15 19:10:26 +00:00
|
|
|
#include <stdlib.h>
|
2005-12-10 22:04:28 +00:00
|
|
|
#ifdef HAVE_SYS_TYPES_H
|
2005-06-15 19:10:26 +00:00
|
|
|
#include <sys/types.h>
|
2005-12-10 22:04:28 +00:00
|
|
|
#endif /* HAVE_SYS_TYPES_H */
|
2016-10-27 10:34:54 -06:00
|
|
|
|
George did the work and deserves all the credit for it. Ralph did the merge, and deserves whatever blame results from errors in it :-)
WHAT: Open our low-level communication infrastructure by moving all necessary components (btl/rcache/allocator/mpool) down in OPAL
All the components required for inter-process communications are currently deeply integrated in the OMPI layer. Several groups/institutions have express interest in having a more generic communication infrastructure, without all the OMPI layer dependencies. This communication layer should be made available at a different software level, available to all layers in the Open MPI software stack. As an example, our ORTE layer could replace the current OOB and instead use the BTL directly, gaining access to more reactive network interfaces than TCP. Similarly, external software libraries could take advantage of our highly optimized AM (active message) communication layer for their own purpose. UTK with support from Sandia, developped a version of Open MPI where the entire communication infrastucture has been moved down to OPAL (btl/rcache/allocator/mpool). Most of the moved components have been updated to match the new schema, with few exceptions (mainly BTLs where I have no way of compiling/testing them). Thus, the completion of this RFC is tied to being able to completing this move for all BTLs. For this we need help from the rest of the Open MPI community, especially those supporting some of the BTLs. A non-exhaustive list of BTLs that qualify here is: mx, portals4, scif, udapl, ugni, usnic.
This commit was SVN r32317.
2014-07-26 00:47:28 +00:00
|
|
|
#include "opal/mca/btl/btl.h"
|
2015-06-23 20:59:57 -07:00
|
|
|
#include "opal/mca/btl/base/base.h"
|
2005-06-15 19:10:26 +00:00
|
|
|
|
2009-08-20 11:42:18 +00:00
|
|
|
BEGIN_C_DECLS
|
2005-06-15 19:10:26 +00:00
|
|
|
|
2016-10-27 10:34:54 -06:00
|
|
|
#define MCA_BTL_SELF_MAX_INLINE_SIZE 128
|
|
|
|
|
2005-06-15 19:10:26 +00:00
|
|
|
/**
|
2005-06-30 05:50:55 +00:00
|
|
|
* Shared Memory (SELF) BTL module.
|
2005-06-15 19:10:26 +00:00
|
|
|
*/
|
2005-06-30 05:50:55 +00:00
|
|
|
struct mca_btl_self_component_t {
|
2015-01-05 15:07:24 -07:00
|
|
|
mca_btl_base_component_3_0_0_t super; /**< base BTL component */
|
2005-06-15 19:10:26 +00:00
|
|
|
int free_list_num; /**< initial size of free lists */
|
|
|
|
int free_list_max; /**< maximum size of free lists */
|
|
|
|
int free_list_inc; /**< number of elements to alloc when growing free lists */
|
2015-02-19 13:41:41 -07:00
|
|
|
opal_free_list_t self_frags_eager; /**< free list of self first */
|
|
|
|
opal_free_list_t self_frags_send; /**< free list of self second */
|
|
|
|
opal_free_list_t self_frags_rdma; /**< free list of self second */
|
2005-06-15 19:10:26 +00:00
|
|
|
};
|
2005-06-30 05:50:55 +00:00
|
|
|
typedef struct mca_btl_self_component_t mca_btl_self_component_t;
|
George did the work and deserves all the credit for it. Ralph did the merge, and deserves whatever blame results from errors in it :-)
WHAT: Open our low-level communication infrastructure by moving all necessary components (btl/rcache/allocator/mpool) down in OPAL
All the components required for inter-process communications are currently deeply integrated in the OMPI layer. Several groups/institutions have express interest in having a more generic communication infrastructure, without all the OMPI layer dependencies. This communication layer should be made available at a different software level, available to all layers in the Open MPI software stack. As an example, our ORTE layer could replace the current OOB and instead use the BTL directly, gaining access to more reactive network interfaces than TCP. Similarly, external software libraries could take advantage of our highly optimized AM (active message) communication layer for their own purpose. UTK with support from Sandia, developped a version of Open MPI where the entire communication infrastucture has been moved down to OPAL (btl/rcache/allocator/mpool). Most of the moved components have been updated to match the new schema, with few exceptions (mainly BTLs where I have no way of compiling/testing them). Thus, the completion of this RFC is tied to being able to completing this move for all BTLs. For this we need help from the rest of the Open MPI community, especially those supporting some of the BTLs. A non-exhaustive list of BTLs that qualify here is: mx, portals4, scif, udapl, ugni, usnic.
This commit was SVN r32317.
2014-07-26 00:47:28 +00:00
|
|
|
OPAL_MODULE_DECLSPEC extern mca_btl_self_component_t mca_btl_self_component;
|
2005-06-15 19:10:26 +00:00
|
|
|
|
2005-06-30 05:50:55 +00:00
|
|
|
extern mca_btl_base_module_t mca_btl_self;
|
2005-06-15 19:10:26 +00:00
|
|
|
|
2009-08-20 11:42:18 +00:00
|
|
|
END_C_DECLS
|
2006-08-24 16:38:08 +00:00
|
|
|
|
2005-06-15 19:10:26 +00:00
|
|
|
#endif
|
|
|
|
|