Decentralized Multi-Agent Reinforcement Learning for Dynamic Buffer-to-Buffer Credit Allocation in Lossless Storage Networks
Keywords:
ASIC memory management, buffer-to-buffer credits, deep Q-networks, fibre channel, flow control, lossless networks, Multi-Agent Reinforcement Learning (MARL)Abstract
Lossless data transmission in Fibre Channel (FC) Storage Area Networks (SANs) is fundamentally governed by Buffer-to-Buffer (B2B) credit mechanisms. Traditionally, these credits are allocated statically per switch port during link initialization. This static distribution leads to severe inefficiencies in modern, highly dynamic data centers: underutilized ports hoard unused memory while oversubscribed ports drop frames and stall I/O flows during sudden burst traffic. In this paper, we model the switch Application-Specific Integrated Circuit (ASIC) memory pool as a cooperative multi-agent environment and apply Decentralized Multi-Agent Reinforcement Learning (MARL) to achieve dynamic, intelligent credit allocation. Each switch port acts as an independent learning agent, utilizing Deep Q-Networks (DQN) to negotiate and trade buffer credits with neighboring ports via a shared memory pool in real-time. To ensure global fabric stability and prevent the tragedy of the commons, we introduce a customized reward function that penalizes both credit hoarding and frame dropping while maximizing aggregate throughput. Through extensive simulation, the MARL architecture demonstrates a 28% increase in overall fabric throughput and a near-elimination of head-of-line blocking during asymmetric "elephant" flows. Furthermore, we analyze the game-theoretic structure of our decentralized reward function and show empirically that it converges to a stable allocation in the tested scenarios.