arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1812.02861cs.NI
收藏

PriMe:结合SRAM和DRAM的按流网络测量

PriMe: Per-Flow Network Measurement by Combining SRAM with DRAM

Zongyi Zhao, Xingang Shi, Xia Yin, Zhiliang Wang

摘要:

网络测量对于了解网络流量和保持网络健康是必要的。流级测量被广泛使用,因为它提供了足够丰富的信息,同时具有资源效率,与流量级解决方案(如SNMP)和数据包级解决方案(如tcpdump)形成对比。流级测量需要为每个活动流维护一个TFR,并在数据包到达时更新相应的TFR。在高速网络的场景下,每个数据包的处理时间只有几纳秒或几十纳秒,而并发的活动流可能高达数百万。必须满足两个要求才能在这种情况下进行流量水平测量,即,存储器大小必须足够大,以维持每个流的TFR,并且存储器的访问时间必须足够小,以能够更新每个分组的TFR。不幸的是,足够快的SRAM是昂贵的,并且有有限的量可用于测量任务,而容量大的DRAM是缓慢的,并且不能支持每个分组的访问。在本文中,我们提出了一个解决方案,PriMe,通过结合SRAM和DRAM,克服了资源限制,在必要时导出TFR到DRAM,同时享受SRAM的快速访问。我们设计了一种特殊的算法来减少输出TFR到DRAM的次数,以及一种算法来减少DRAM在聚合SRAM输出的TFR时的访问次数。

英文摘要:

Network measurement is necessary to obtain an understanding of the network traffic and keep the network healthy. Flow-level measurement is widely used because it provides rich enough information while being resource efficient, in contrast to the traffic-level solutions like SNMP and packet-level solutions like tcpdump. Flow-level measurement requires to maintain a TFR for each active flow, and update the corresponding TFR when a packet arrives. In the scenario of high-speed networks, the processing time for each packet is only several or tens of nanoseconds, and there may be up to millions of concurrent active flows. Two requirements have to be met to be able to do flow-level measurement in this scenario, i.e., the memory size have to be large enough to maintain a TFR for each flow, and the access time of the memory have to be small enough to be able to update the TFR for each packet. Unfortunately, SRAM, which is fast enough, is expensive and there are limited amount available for the measurement tasks, while DRAM, which is large in capacity, is slow and cannot support the per-packet access. In this paper, we proposed a solution, PriMe, by combining SRAM with DRAM, overcoming the resource limitation by exporting TFRs to the DRAM when necessary, while enjoying the fast access of SRAM. We designed a peculiar algorithm to reduce the frequency of exporting TFRs to DRAM, as well as an algorithm to reduce the accesses of DRAM in aggregating the TFRs exported from SRAM.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑