Tiara: 一种用于远程内存访问的可编程线速指令集架构
Tiara: A Programmable Line-Rate ISA for Remote Memory Access
AI总结:
针对远程内存访问中因间接寻址导致的多次往返延迟问题,提出Tiara指令集架构,在内存端网卡上执行预注册程序,将多跳依赖链压缩为单次往返,显著降低延迟并提升吞吐量。
摘要:
RDMA单边动词是内存解耦的自然原语,但它们要求客户端提供精确的远程地址。当目标地址依赖于必须首先从远程内存读取的数据时,1-RTT性能会崩溃,这种模式我们称为间接寻址墙。间接寻址无处不在:图遍历逐跳跟随指针,地址转换遍历多级页表,分布式协调需要条件多主机逻辑,解耦的LLM推理必须通过块表查找解析分页KV缓存。每层间接寻址代价一个顺序依赖的网络往返,而卸载到现有RDMA网卡要么消耗远程CPU周期,要么吞吐量有限。我们提出Tiara,一种紧凑、可静态验证的指令集,在内存端网卡上执行。Tiara操作符是预注册的程序,类似于内核中的eBPF程序,它们在本地解析间接寻址,将多RTT依赖链压缩为单次往返。在基于FPGA的原型上,Tiara将10跳图遍历延迟降低2.85倍(相对于单边RDMA),同时保持3.4倍更高的吞吐量,将页表遍历延迟降低62%,将无竞争分布式锁延迟降低2.9倍,在8 KB块大小的解耦PagedAttention中实现2.8倍吞吐量,在32个专家时实现1.88倍的MoE专家收集延迟。
英文摘要:
RDMA one-sided verbs are the natural primitive for memory disaggregation, but they require the client to supply the exact remote address. The 1-RTT performance breaks down when the target address depends on data that must first be read from remote memory, a pattern we call the Indirection Wall. Indirection is pervasive: graph traversals follow pointers hop by hop, address translation walks multi-level page tables, distributed coordination requires conditional multi-host logic, and disaggregated LLM inference must resolve paged KV caches through block-table lookups. Each level of indirection costs one sequentially dependent network round-trip, yet offloading to existing RDMA NICs either consumes remote CPU cycles or has limited throughput. We present Tiara, a compact, statically verifiable instruction set that executes on the memory-side NIC. Tiara operators are pre-registered programs, analogous to eBPF programs in the kernel, that resolve indirection locally, collapsing multi-RTT dependent chains into a single round-trip. On an FPGA-based prototype, Tiara reduces 10-hop graph-traversal latency by 2.85x over one-sided RDMA while sustaining 3.4x higher throughput, cuts page-table walk latency by 62%, reduces uncontended distributed-lock latency by 2.9x, achieves 2.8x throughput for disaggregated PagedAttention at 8 KB blocks, and 1.88x MoE expert-gather latency at 32 experts.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。