Mooncake/mooncake-transfer-engine/include
dtc 38c3975138
[Store] auto-enable MC_STORE_MEMCPY in TCP-only environments (#1936)
When MC_STORE_MEMCPY is not explicitly set, auto-detect based on
installed transports: enable memcpy only when TCP is the sole
transport (no RDMA, NVLink, etc.), since TCP loopback is less
efficient than direct memcpy for same-host transfers. In RDMA
environments the default remains disabled, as RDMA is more
resource-efficient.

Add TransferEngine::isTcpOnly() API that checks whether TCP is the
only installed transport via MultiTransport::transport_map_. This
is future-proof: any new transport registered via installTransport()
is automatically accounted for without maintaining a protocol list.

TENT path returns false unconditionally since TENT already rejects
TCP loopback without MC_STORE_MEMCPY.

Signed-off-by: Tianchen Ding <dtcccc@linux.alibaba.com>
2026-04-21 15:01:46 +08:00
..
common [TE]: Add HIP transport for AMD GPUs support (#1208) 2025-12-16 19:27:47 +08:00
gpu_vendor [TE] align USE_MACA with MUSA GPU paths and docs (#1814) 2026-04-09 11:54:18 +08:00
transport [TE] PTE-aware auto-split large MR registration for EFA transport (#1912) 2026-04-20 15:04:49 +08:00
CMakeLists.txt Te seperated compilation (#1041) 2025-11-11 09:54:21 +08:00
ascend_allocator.h refactor ascend direct transport (#1720) 2026-03-24 21:51:58 +08:00
common.h [Bugfix] Minor bug fixes and improvments for Mooncake Store and Transfer Engine (#1895) 2026-04-20 00:28:00 +08:00
config.h [TE] Add fi_read support, endpoint LRU eviction, and multi-NIC striping for EFA transport (#1821) 2026-04-17 01:30:39 +08:00
cuda_alike.h [TE] feat: setup the RDMA for mlu device. (#1799) 2026-04-08 12:08:53 +08:00
error.h [TransferEngine] Refactor code to hide transport logics from user APIs (#51) 2025-01-02 16:38:24 +08:00
memory_location.h [Store] fix: restrict NUMA-segmented allocation to RDMA protocol 2026-03-12 18:26:11 +08:00
multi_transport.h [Store] auto-enable MC_STORE_MEMCPY in TCP-only environments (#1936) 2026-04-21 15:01:46 +08:00
topology.h [TransferEngine] Mitigating performance overhead from large cluster and large bulks (#999) 2025-11-03 11:39:36 +08:00
transfer_engine.h [Store] auto-enable MC_STORE_MEMCPY in TCP-only environments (#1936) 2026-04-21 15:01:46 +08:00
transfer_engine_c.h [TE] PTE-aware auto-split large MR registration for EFA transport (#1912) 2026-04-20 15:04:49 +08:00
transfer_engine_impl.h [Store] auto-enable MC_STORE_MEMCPY in TCP-only environments (#1936) 2026-04-21 15:01:46 +08:00
transfer_metadata.h [TE] Add Multi-Protocol Support for DRAM-CXL-SSD tiered storage (#1832) 2026-04-09 10:36:14 +08:00
transfer_metadata_plugin.h [PG][TE][TENT] Add dedicated peer liveness probe for recovery and enable elastic GPU test (#1808) 2026-04-08 09:56:58 +08:00