Release Notes v2.4.0
Summary
This new version brings both bug fixes and feature updates to mercury. Notable are the addition of a new progress mechanism, new initialization parameters for the handling of multi-recv buffers and the support of cxi with HPE SHS 11.0.
New features
- [HG]
- Add
HG_Get_input_payload_size()/HG_Get_output_payload_size()- Add the ability to query input / output payload sizes
- Add
HG_Diag_dump_counters()to dump diagnostic counters- Add
rpc_req_recv_active_countandrpc_multi_recv_copy_countcounters
- Add
- Add
HG_Class_get_counters()to retrieve internal counters - Add
multi_recv_copy_thresholdinit parameter- Use this new parameter to fallback to memcpy to prevent starvation of multi-recv buffers
- Add
multi_recv_op_maxinit parameter- This allows users to control number of multi-recv buffers posted (libfabric plugin only)
- Add
no_overflowinit option to prevent use of overflow buffers - Improve multi-recv buffer warning messages
- Associate handle to HG proc
hg_proc_get_handle()can be used to retrieve handle within proc functions
- Add
HG_Event_get_wait_fd()to retrieve internal wait object - Add
HG_Event_ready()/HG_Event_progress()/HG_Event_trigger()to support wait fd progress model- Simplify progress mechanism and remove use of internal timers
- Always make NA progress when
HG_Event_progress()is called - Update HG progress to use new NA progress routines
- Add missing
HG_WARN_UNUSED_RESULTto HG calls - Switch to using standard types and align with NA
- Keep some
uint8_tinstances instead ofhg_bool_tfor ABI compatibility
- Keep some
- Add
HG_IO_ERRORreturn code
- Add
- [NA]
- Bump NA version to v5.0.0
- Add
NA_Poll()andNA_Poll_wait()routines - Deprecate
NA_Progress()in favor of poll routines - Add
NA_Context_get_completion_count()to retrieve size of completion queue - Update plugins to use new
pollandpoll_waitcallbackspoll_waitplugin callback remains for compatibility
- Fix documentation of
NA_Poll_get_fd() - Add missing
NA_WARN_UNUSED_RESULTqualifiers - Remove deprecated CCI plugin
- Return last known error when plugin loading fails
- Add init info version compatibility wrappers
- Add support for
traffic_classinit info (only supported by ofi plugin) - Add
NA_IO_ERRORreturn code for generic I/O errors- Update OFI and UCX plugins to use new code
- [NA OFI]
- Support use of cxi provider with SHS 11.0
- Add support for
FI_AV_AUTH_KEY(requires libfabric >= 1.20)- Add runtime check for cxi provider version
- Setting multiple auth keys disables
FI_DIRECTED_RECV - Separate opening of AV and auth key insertion
- Parse auth key range when
FI_AV_AUTH_KEYis available - Encode/decode auth key when serializing addrs
- Add support for
FI_AV_USER_ID - Always use
FI_SOURCEandFI_SOURCE_ERRwhen both are supported- Clean up handling of
FI_SOURCE_ERR - Remove support of
FI_SOURCEw/oFI_SOURCE_ERR
- Clean up handling of
- Add support for new CXI address format
- Attempt to distribute multi-NIC domains based on selected CPU ID
- Support selection of traffic classes (single class per NA class)
- Add support for
FI_PROTO_CXI_RNR - Add
NA_OFI_SKIP_DOMAIN_OPSenv variable to skip cxi domain ops - Remove unused
NA_OFI_DOM_SHAREDflag
- [NA UCX]
- Add
ucxlog outlet and redirect UCX log- Use default HG log level if
UCX_LOG_LEVELis not set
- Use default HG log level if
- Add
- [HG/NA perf]
- Add
hg_firstperf test to measure cost of initial RPC - Add
-uoption to control number of multi-recv ops (server only) - Add
-ioption to control number of handles posted (server only) - Add
-f/--hostfileoption to select hostfile to write to / read from - Add
-T/--tclassoption to select trafic class - Autodetect MPI implementation in perf utilities
- MPI can now be autodetected and dynamically loaded in utilities, even if
MERCURY_TESTING_ENABLE_PARALLELwas turned off. IfMERCURY_TESTING_ENABLE_PARALLELis turned on, tests remain manually linked against MPI as they used to be.
- MPI can now be autodetected and dynamically loaded in utilities, even if
- Print registration and deregistration times when
-Roption is used - Update to use new HG/NA progress routines and remove use of
hg_request - Support forced registration in
hg_bw_read/hg_bw_write
- Add
- [HG Util]
- Add
hg_log_vwrite()to write log fromva_list - Add
hg_log_level_to_string() - Clean up
mercury_eventcode and addconstqualifier tohg_poll_get_fd() - Add
conston atomic gets - Switch to using
sys/queue.hdirectly - Remove
HG_QUEUEandHG_LISTdefinitions - Add
hg_dl_error()to return last error
- Add
Bug fixes
- [HG]
- Fix shared-memory path that was previously disabled in conjunction with libfabric transports that use the multi-recv capability
- Fix behavior of
request_post_incrinit parameterrequest_post_incrcannot be disabled (set to -1) with multi-recv
- [HG/NA]
- HG NA init info is fixed to v4.0 for now and duplicates tclass info
- [NA]
- Fix missing free of dynamic plugin entries
- [NA BMI/MPI]
- Return actual msg size through cb info
- [NA OFI]
- Fix cxi domain ops settings and disable
PROV_KEY_CACHE - Fix shm provider flags
- Remove excessive MR count warning message
- Fix cxi domain ops settings and disable
- [NA UCX]
- Fix
hg_infonot filtering protocol- Allow
na_ucx_get_protocol_info()to resolve ucx tl name aliases
- Allow
- Fix context thread mode to default to
UCS_THREAD_MODE_MULTI
- Fix
- [HG/NA Perf]
- Ensure NA perf tests wait on send completion
- Fix bulk permission flag in
hg_bw_read - Add some missing error checks in mercury_perf
- [HG util]
- Multiple logging fixes:
- Fix
dlog_freenot called when parent/child have separate dlogs - Fix mercury log to correctly generate outlet names
- Fix log outlets to use prefixed subsys name
- Fix use of macros in debug log
- Use destructor to free log outlets
- Fix
- Add missing prototype to
hg_atomic_fence()definition
- Multiple logging fixes:
- [CMake]
- Fix cmake_minimum_required() warning
- Update kwsys and mchecksum dependencies
Known Issues
- [NA OFI]
- [tcp/verbs;ofi_rxm] Using more than 256 peers requires
FI_UNIVERSE_SIZEto be set.
- [tcp/verbs;ofi_rxm] Using more than 256 peers requires